Skip to content

/AWS1/CL_CMT=>GETFOLDER()

About GetFolder

Returns the contents of a specified folder in a repository.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/CMTREPOSITORYNAME /AWS1/CMTREPOSITORYNAME

The name of the repository.

IV_FOLDERPATH TYPE /AWS1/CMTPATH /AWS1/CMTPATH

The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.

Optional arguments:

IV_COMMITSPECIFIER TYPE /AWS1/CMTCOMMITNAME /AWS1/CMTCOMMITNAME

A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTGETFOLDEROUTPUT /AWS1/CL_CMTGETFOLDEROUTPUT