Skip to content

/AWS1/CL_CMT=>GETDIFFERENCES()

About GetDifferences

Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/CMTREPOSITORYNAME /AWS1/CMTREPOSITORYNAME

The name of the repository where you want to get differences.

IV_AFTERCOMMITSPECIFIER TYPE /AWS1/CMTCOMMITNAME /AWS1/CMTCOMMITNAME

The branch, tag, HEAD, or other fully qualified reference used to identify a commit.

Optional arguments:

IV_BEFORECOMMITSPECIFIER TYPE /AWS1/CMTCOMMITNAME /AWS1/CMTCOMMITNAME

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.

IV_BEFOREPATH TYPE /AWS1/CMTPATH /AWS1/CMTPATH

The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths.

IV_AFTERPATH TYPE /AWS1/CMTPATH /AWS1/CMTPATH

The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.

IV_MAXRESULTS TYPE /AWS1/CMTLIMIT /AWS1/CMTLIMIT

A non-zero, non-negative integer used to limit the number of returned results.

IV_NEXTTOKEN TYPE /AWS1/CMTNEXTTOKEN /AWS1/CMTNEXTTOKEN

An enumeration token that, when provided in a request, returns the next batch of the results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTGETDIFFERENCESOUT /AWS1/CL_CMTGETDIFFERENCESOUT