Skip to main content

Class: VcsOnlyStenographer

@pvm/vcs.VcsOnlyStenographer

Implements

Constructors

constructor

• new VcsOnlyStenographer(cwd)

Parameters

NameType
cwdstring

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

VcsOnly.cwd

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:16


isDryRun

• isDryRun: boolean = true

Implementation of

VcsOnly.isDryRun

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

NameType
filePathsstring[]

Returns

Promise<unknown>

Implementation of

VcsOnly.addFiles

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:60


addTag

â–¸ addTag(tagName, ref, opts?): Promise<void>

Parameters

NameType
tagNamestring
refstring
opts?AddTagOptions

Returns

Promise<void>

Implementation of

VcsOnly.addTag

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:72


addTranscript

â–¸ addTranscript(title, body?): Promise<void>

Parameters

NameTypeDefault value
titlestringundefined
bodystring''

Returns

Promise<void>

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:52


appendFile

â–¸ appendFile(filePath, content): Promise<unknown>

Parameters

NameType
filePathstring
contentstring

Returns

Promise<unknown>

Implementation of

VcsOnly.appendFile

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:84


beginCommit

â–¸ beginCommit(): UnknownCommitContext

Returns

UnknownCommitContext

Implementation of

VcsOnly.beginCommit

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:39


commit

â–¸ commit(message, _opts?): Promise<undefined | CommitResult>

Parameters

NameType
messagestring
_opts?Record<string, unknown>

Returns

Promise<undefined | CommitResult>

Implementation of

VcsOnly.commit

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:88


deleteFile

â–¸ deleteFile(filePath): Promise<unknown>

Parameters

NameType
filePathstring

Returns

Promise<unknown>

Implementation of

VcsOnly.deleteFile

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:68


isSomethingForCommit

â–¸ isSomethingForCommit(): boolean

Returns

boolean

Implementation of

VcsOnly.isSomethingForCommit

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:48


join

â–¸ join(separator?): string

Parameters

NameTypeDefault value
separatorstring'\n'

Returns

string

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:29


push

â–¸ push(opts?): Promise<unknown>

Parameters

NameType
optsPushOptions

Returns

Promise<unknown>

Implementation of

VcsOnly.push

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:92


rollbackCommit

â–¸ rollbackCommit(_commitContext): Promise<void>

Parameters

NameType
_commitContextUnknownCommitContext

Returns

Promise<void>

Implementation of

VcsOnly.rollbackCommit

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:43


updateFile

â–¸ updateFile(filePath, content): Promise<unknown>

Parameters

NameType
filePathstring
contentstring

Returns

Promise<unknown>

Implementation of

VcsOnly.updateFile

Defined in

packages/pvm-vcs/lib/vcs-only-stenographer.ts:64