interface GitItemDescriptor {
    path?: string;
    recursionLevel?: VersionControlRecursionType;
    version?: string;
    versionOptions?: GitVersionOptions;
    versionType?: GitVersionType;
}

Properties

path?: string

Path to item

Specifies whether to include children (OneLevel), all descendants (Full), or None

version?: string

Version string (interpretation based on VersionType defined in subclass

versionOptions?: GitVersionOptions

Version modifiers (e.g. previous)

versionType?: GitVersionType

How to interpret version (branch,tag,commit)