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.

GetFolderOutput

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

type GetFolderOutput struct { CommitId *string `locationName:"commitId" type:"string" required:"true"` Files []*File `locationName:"files" type:"list"` FolderPath *string `locationName:"folderPath" type:"string" required:"true"` SubFolders []*Folder `locationName:"subFolders" type:"list"` SubModules []*SubModule `locationName:"subModules" type:"list"` SymbolicLinks []*SymbolicLink `locationName:"symbolicLinks" type:"list"` TreeId *string `locationName:"treeId" type:"string"` }

CommitId

Type: *string

The full commit ID used as a reference for which version of the folder content is returned.

CommitId is a required field

Files

Returns information about a file in a repository.

FolderPath

Type: *string

The fully-qualified path of the folder whose contents are returned.

FolderPath is a required field

SubFolders

Returns information about a folder in a repository.

SubModules

Returns information about a submodule reference in a repository folder.

SymbolicLinks

Returns information about a symbolic link in a repository folder.

TreeId

Type: *string

The full SHA-1 pointer of the tree information for the commit that contains the folder.

Method

GoString

func (s GetFolderOutput) GoString() string

GoString returns the string representation

SetCommitId

func (s *GetFolderOutput) SetCommitId(v string) *GetFolderOutput

SetCommitId sets the CommitId field's value.

SetFiles

func (s *GetFolderOutput) SetFiles(v []*File) *GetFolderOutput

SetFiles sets the Files field's value.

SetFolderPath

func (s *GetFolderOutput) SetFolderPath(v string) *GetFolderOutput

SetFolderPath sets the FolderPath field's value.

SetSubFolders

func (s *GetFolderOutput) SetSubFolders(v []*Folder) *GetFolderOutput

SetSubFolders sets the SubFolders field's value.

SetSubModules

func (s *GetFolderOutput) SetSubModules(v []*SubModule) *GetFolderOutput

SetSubModules sets the SubModules field's value.

func (s *GetFolderOutput) SetSymbolicLinks(v []*SymbolicLink) *GetFolderOutput

SetSymbolicLinks sets the SymbolicLinks field's value.

SetTreeId

func (s *GetFolderOutput) SetTreeId(v string) *GetFolderOutput

SetTreeId sets the TreeId field's value.

String

func (s GetFolderOutput) String() string

String returns the string representation

On this page: