Class: GitBranchStorage
@pvm/artifacts.GitBranchStorage
Implements
Constructors
constructor
• new GitBranchStorage(opts
)
Parameters
Name | Type |
---|---|
opts | GitBranchStorageOpts |
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
Name | Type |
---|---|
cmd | string |
Returns
Promise
<void
>
Defined in
packages/pvm-artifacts/lib/backend/git-branch-storage.ts:42
downloadPath
â–¸ downloadPath(remotePath
, localDest
): Promise
<void
>
Parameters
Name | Type |
---|---|
remotePath | string |
localDest | string |
Returns
Promise
<void
>
Implementation of
Defined in
packages/pvm-artifacts/lib/backend/git-branch-storage.ts:92
finish
â–¸ finish(): Promise
<void
>
Returns
Promise
<void
>
Implementation of
Defined in
packages/pvm-artifacts/lib/backend/git-branch-storage.ts:77
init
â–¸ init(): Promise
<void
>
Returns
Promise
<void
>
Implementation of
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
Name | Type |
---|---|
cmd | string |
Returns
Promise
<void
>
Defined in
packages/pvm-artifacts/lib/backend/git-branch-storage.ts:37
uploadPath
â–¸ uploadPath(localPath
, remoteDest
): Promise
<void
>
Parameters
Name | Type |
---|---|
localPath | string |
remoteDest | string |
Returns
Promise
<void
>