Class: VcsOnlyStenographer
@pvm/vcs.VcsOnlyStenographer
Implements
Constructors
constructor
• new VcsOnlyStenographer(cwd
)
Parameters
Name | Type |
---|---|
cwd | string |
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:20
Properties
_transcript
• _transcript: LineEntry
[]
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:17
cwd
• cwd: string
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:16
isDryRun
• isDryRun: boolean
= true
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:18
Accessors
isEmpty
• get
isEmpty(): boolean
Returns
boolean
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:25
Methods
addFiles
â–¸ addFiles(filePaths
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePaths | string [] |
Returns
Promise
<unknown
>
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:60
addTag
â–¸ addTag(tagName
, ref
, opts?
): Promise
<void
>
Parameters
Name | Type |
---|---|
tagName | string |
ref | string |
opts? | AddTagOptions |
Returns
Promise
<void
>
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:72
addTranscript
â–¸ addTranscript(title
, body?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
title | string | undefined |
body | string | '' |
Returns
Promise
<void
>
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:52
appendFile
â–¸ appendFile(filePath
, content
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePath | string |
content | string |
Returns
Promise
<unknown
>
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:84
beginCommit
â–¸ beginCommit(): UnknownCommitContext
Returns
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:39
commit
â–¸ commit(message
, _opts?
): Promise
<undefined
| CommitResult
>
Parameters
Name | Type |
---|---|
message | string |
_opts? | Record <string , unknown > |
Returns
Promise
<undefined
| CommitResult
>
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:88
deleteFile
â–¸ deleteFile(filePath
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePath | string |
Returns
Promise
<unknown
>
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:68
isSomethingForCommit
â–¸ isSomethingForCommit(): boolean
Returns
boolean
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:48
join
â–¸ join(separator?
): string
Parameters
Name | Type | Default value |
---|---|---|
separator | string | '\n' |
Returns
string
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:29
push
â–¸ push(opts?
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
opts | PushOptions |
Returns
Promise
<unknown
>
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:92
rollbackCommit
â–¸ rollbackCommit(_commitContext
): Promise
<void
>
Parameters
Name | Type |
---|---|
_commitContext | UnknownCommitContext |
Returns
Promise
<void
>
Implementation of
Defined in
packages/pvm-vcs/lib/vcs-only-stenographer.ts:43
updateFile
â–¸ updateFile(filePath
, content
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
filePath | string |
content | string |
Returns
Promise
<unknown
>