Captain is currently in ALPHA. We are happy to get your feedback
Core API
Interfaces
Helpers Utils Git.gitcloneoptions

Interface: GitCloneOptions

helpers/utils/git.GitCloneOptions

Table of contents

Properties

Properties

onCompleted

Optional onCompleted: (completed: GitCloneCompleted) => void

Type declaration

▸ (completed): void

Parameters
NameType
completedGitCloneCompleted
Returns

void

Defined in

src/electron/helpers/utils/git.ts:13 (opens in a new tab)


onProgress

Optional onProgress: (progress: GitCloneProgress) => void

Type declaration

▸ (progress): void

Parameters
NameType
progressGitCloneProgress
Returns

void

Defined in

src/electron/helpers/utils/git.ts:12 (opens in a new tab)


onStarted

Optional onStarted: (item: { destination: string ; repository: string ; cancel: () => void }) => void

Type declaration

▸ (item): void

Parameters
NameType
itemObject
item.destinationstring
item.repositorystring
item.cancel() => void
Returns

void

Defined in

src/electron/helpers/utils/git.ts:11 (opens in a new tab)