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.

BlobMetadata

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

type BlobMetadata struct { BlobId *string `locationName:"blobId" type:"string"` Mode *string `locationName:"mode" type:"string"` Path *string `locationName:"path" type:"string"` }

Returns information about a specific Git blob object.

BlobId

Type: *string

The full ID of the blob.

Mode

Type: *string

The file mode permissions of the blob. File mode permission codes include:

  • 100644 indicates read/write

  • 100755 indicates read/write/execute

  • 160000 indicates a submodule

  • 120000 indicates a symlink

Path

Type: *string

The path to the blob and any associated file name, if any.

Method

GoString

func (s BlobMetadata) GoString() string

GoString returns the string representation

SetBlobId

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

SetBlobId sets the BlobId field's value.

SetMode

func (s *BlobMetadata) SetMode(v string) *BlobMetadata

SetMode sets the Mode field's value.

SetPath

func (s *BlobMetadata) SetPath(v string) *BlobMetadata

SetPath sets the Path field's value.

String

func (s BlobMetadata) String() string

String returns the string representation

On this page: