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