Skip to main content

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

NameType
filePathsstring[]

Returns

Promise<unknown>

Defined in

packages/pvm-types/lib/vcs.ts:99


addTag

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

Parameters

NameType
tagNamestring
refstring
opts?AddTagOptions

Returns

Promise<void>

Defined in

packages/pvm-types/lib/vcs.ts:105


appendFile

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

Parameters

NameType
filePathstring
contentstring

Returns

Promise<unknown>

Defined in

packages/pvm-types/lib/vcs.ts:101


beginCommit

â–¸ beginCommit(): UnknownCommitContext

Returns

UnknownCommitContext

Defined in

packages/pvm-types/lib/vcs.ts:96


commit

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

Parameters

NameType
messageany
opts?Record<string, unknown>

Returns

Promise<undefined | CommitResult>

Defined in

packages/pvm-types/lib/vcs.ts:103


deleteFile

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

Parameters

NameType
filePathstring

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

NameType
opts?PushOptions

Returns

Promise<unknown>

Defined in

packages/pvm-types/lib/vcs.ts:104


rollbackCommit

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

Parameters

NameType
commitContextUnknownCommitContext

Returns

Promise<void>

Defined in

packages/pvm-types/lib/vcs.ts:97


updateFile

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

Parameters

NameType
filePathstring
contentstring

Returns

Promise<unknown>

Defined in

packages/pvm-types/lib/vcs.ts:100