Interface: VcsOnly
@pvm/types.VcsOnly
Properties
cwd
• cwd: string
Defined in
packages/pvm-types/lib/vcs.ts:95
isDryRun
• isDryRun: boolean
Defined in
packages/pvm-types/lib/vcs.ts:94
Methods
addFiles
â–¸ addFiles(filePaths
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePaths | string [] |
Returns
Promise
<unknown
>
Defined in
packages/pvm-types/lib/vcs.ts:99
addTag
â–¸ addTag(tagName
, ref
, opts?
): Promise
<void
>
Parameters
Name | Type |
---|---|
tagName | string |
ref | string |
opts? | AddTagOptions |
Returns
Promise
<void
>
Defined in
packages/pvm-types/lib/vcs.ts:105
appendFile
â–¸ appendFile(filePath
, content
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePath | string |
content | string |
Returns
Promise
<unknown
>
Defined in
packages/pvm-types/lib/vcs.ts:101
beginCommit
â–¸ beginCommit(): UnknownCommitContext
Returns
Defined in
packages/pvm-types/lib/vcs.ts:96
commit
â–¸ commit(message
, opts?
): Promise
<undefined
| CommitResult
>
Parameters
Name | Type |
---|---|
message | any |
opts? | Record <string , unknown > |
Returns
Promise
<undefined
| CommitResult
>
Defined in
packages/pvm-types/lib/vcs.ts:103
deleteFile
â–¸ deleteFile(filePath
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePath | string |
Returns
Promise
<unknown
>
Defined in
packages/pvm-types/lib/vcs.ts:102
isSomethingForCommit
â–¸ isSomethingForCommit(): boolean
Returns
boolean
Defined in
packages/pvm-types/lib/vcs.ts:98
push
â–¸ push(opts?
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
opts? | PushOptions |
Returns
Promise
<unknown
>
Defined in
packages/pvm-types/lib/vcs.ts:104
rollbackCommit
â–¸ rollbackCommit(commitContext
): Promise
<void
>
Parameters
Name | Type |
---|---|
commitContext | UnknownCommitContext |
Returns
Promise
<void
>
Defined in
packages/pvm-types/lib/vcs.ts:97
updateFile
â–¸ updateFile(filePath
, content
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePath | string |
content | string |
Returns
Promise
<unknown
>