Skip to main content

Class: GitBranchStorage

@pvm/artifacts.GitBranchStorage

Implements

Constructors

constructor

• new GitBranchStorage(opts)

Parameters

NameType
optsGitBranchStorageOpts

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:25

Properties

branch

• branch: string

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:20


cwd

• cwd: string

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:21


gitPrepared

• gitPrepared: boolean = false

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:23


workingDir

• workingDir: string

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:22

Methods

branchShell

â–¸ Protected branchShell(cmd): Promise<void>

Parameters

NameType
cmdstring

Returns

Promise<void>

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:42


downloadPath

â–¸ downloadPath(remotePath, localDest): Promise<void>

Parameters

NameType
remotePathstring
localDeststring

Returns

Promise<void>

Implementation of

StorageImpl.downloadPath

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:92


finish

â–¸ finish(): Promise<void>

Returns

Promise<void>

Implementation of

StorageImpl.finish

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:77


init

â–¸ init(): Promise<void>

Returns

Promise<void>

Implementation of

StorageImpl.init

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:47


prepareGit

â–¸ Private prepareGit(): void

Returns

void

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:29


runShell

â–¸ Protected runShell(cmd): Promise<void>

Parameters

NameType
cmdstring

Returns

Promise<void>

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:37


uploadPath

â–¸ uploadPath(localPath, remoteDest): Promise<void>

Parameters

NameType
localPathstring
remoteDeststring

Returns

Promise<void>

Implementation of

StorageImpl.uploadPath

Defined in

packages/pvm-artifacts/lib/backend/git-branch-storage.ts:99