/AWS1/CL_CMT=>GETFILE()
¶
About GetFile¶
Returns the base-64 encoded contents of a specified file and its metadata.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_REPOSITORYNAME
TYPE /AWS1/CMTREPOSITORYNAME
/AWS1/CMTREPOSITORYNAME
¶
The name of the repository that contains the file.
IV_FILEPATH
TYPE /AWS1/CMTPATH
/AWS1/CMTPATH
¶
The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.
Optional arguments:¶
IV_COMMITSPECIFIER
TYPE /AWS1/CMTCOMMITNAME
/AWS1/CMTCOMMITNAME
¶
The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used.