Skip to content

/AWS1/CL_CAT=>CREATESOURCEREPOSITORY()

About CreateSourceRepository

Creates an empty Git-based source repository in a specified project. The repository is created with an initial empty commit with a default branch named main.

Method Signature

IMPORTING

Required arguments:

IV_SPACENAME TYPE /AWS1/CATNAMESTRING /AWS1/CATNAMESTRING

The name of the space.

IV_PROJECTNAME TYPE /AWS1/CATNAMESTRING /AWS1/CATNAMESTRING

The name of the project in the space.

IV_NAME TYPE /AWS1/CATSRCREPOSITORYNAMESTR /AWS1/CATSRCREPOSITORYNAMESTR

The name of the source repository. For more information about name requirements, see Quotas for source repositories.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/CATSRCREPOSITORYDESCSTR /AWS1/CATSRCREPOSITORYDESCSTR

The description of the source repository.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CATCRESRCREPOSITORY03 /AWS1/CL_CATCRESRCREPOSITORY03