Sdílet prostřednictvím


GitRepoVolume interface

Represents a volume that is populated with the contents of a git repository

Properties

directory

Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.

repository

Repository URL

revision

Commit hash for the specified revision.

Property Details

directory

Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.

directory?: string

Property Value

string

repository

Repository URL

repository: string

Property Value

string

revision

Commit hash for the specified revision.

revision?: string

Property Value

string