AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

File

import "github.com/aws/aws-sdk-go/service/codecommit"

type File struct { AbsolutePath *string `locationName:"absolutePath" type:"string"` BlobId *string `locationName:"blobId" type:"string"` FileMode *string `locationName:"fileMode" type:"string" enum:"FileModeTypeEnum"` RelativePath *string `locationName:"relativePath" type:"string"` }

Returns information about a file in a repository.

AbsolutePath

Type: *string

The fully-qualified path to the file in the repository.

BlobId

Type: *string

The blob ID that contains the file information.

FileMode

Type: *string

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

RelativePath

Type: *string

The relative path of the file from the folder where the query originated.

Method

GoString

func (s File) GoString() string

GoString returns the string representation

SetAbsolutePath

func (s *File) SetAbsolutePath(v string) *File

SetAbsolutePath sets the AbsolutePath field's value.

SetBlobId

func (s *File) SetBlobId(v string) *File

SetBlobId sets the BlobId field's value.

SetFileMode

func (s *File) SetFileMode(v string) *File

SetFileMode sets the FileMode field's value.

SetRelativePath

func (s *File) SetRelativePath(v string) *File

SetRelativePath sets the RelativePath field's value.

String

func (s File) String() string

String returns the string representation

On this page: