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.

FileMetadata

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

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

A file that will be added, updated, or deleted as part of a commit.

AbsolutePath

Type: *string

The full path to the file that will be added or updated, including the name of the file.

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.

Method

GoString

func (s FileMetadata) GoString() string

GoString returns the string representation

SetAbsolutePath

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

SetAbsolutePath sets the AbsolutePath field's value.

SetBlobId

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

SetBlobId sets the BlobId field's value.

SetFileMode

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

SetFileMode sets the FileMode field's value.

String

func (s FileMetadata) String() string

String returns the string representation

On this page: