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.

Difference

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

type Difference struct { AfterBlob *BlobMetadata `locationName:"afterBlob" type:"structure"` BeforeBlob *BlobMetadata `locationName:"beforeBlob" type:"structure"` ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeTypeEnum"` }

Returns information about a set of differences for a commit specifier.

AfterBlob

Returns information about a specific Git blob object.

BeforeBlob

Returns information about a specific Git blob object.

ChangeType

Type: *string

Whether the change type of the difference is an addition (A), deletion (D), or modification (M).

Method

GoString

func (s Difference) GoString() string

GoString returns the string representation

SetAfterBlob

func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference

SetAfterBlob sets the AfterBlob field's value.

SetBeforeBlob

func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference

SetBeforeBlob sets the BeforeBlob field's value.

SetChangeType

func (s *Difference) SetChangeType(v string) *Difference

SetChangeType sets the ChangeType field's value.

String

func (s Difference) String() string

String returns the string representation

On this page: