Skip to main content

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

NameType
filePathsstring[]

Returns

Promise<unknown>

Defined in

packages/pvm-vcs/types/index.ts:95


addTag

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

Parameters

NameType
tagNamestring
refstring
opts?AddTagOptions

Returns

Promise<void>

Defined in

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


appendFile

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

Parameters

NameType
filePathstring
contentstring

Returns

Promise<unknown>

Defined in

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


beginCommit

â–¸ beginCommit(): UnknownCommitContext

Returns

UnknownCommitContext

Defined in

packages/pvm-vcs/types/index.ts:92


commit

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

Parameters

NameType
messageany
opts?Record<string, unknown>

Returns

Promise<undefined | CommitResult>

Defined in

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


deleteFile

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

Parameters

NameType
filePathstring

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

NameType
opts?PushOptions

Returns

Promise<unknown>

Defined in

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


rollbackCommit

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

Parameters

NameType
commitContextUnknownCommitContext

Returns

Promise<void>

Defined in

packages/pvm-vcs/types/index.ts:93


updateFile

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

Parameters

NameType
filePathstring
contentstring

Returns

Promise<unknown>

Defined in

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