Properties
log
log: ((ref?,
limit?) => Promise<CommitLog[]>)
Type declaration
-
- (ref?, limit?): Promise<CommitLog[]>
-
Parameters
-
ref: string = 'HEAD'
-
Optional
limit: number
Returns Promise<CommitLog[]>
readF
readF: (<T>(f) => Promise<T>)
Type declaration
-
- <T>(f): Promise<T>
-
Parameters
-
f: ((fs) => Promise<T>)
-
- (fs): Promise<T>
-
Returns Promise<T>
Returns Promise<T>
readG
readG: (<T, TReturn, TNext>(g) => AsyncGenerator<T, TReturn, TNext>)
Type declaration
-
- <T, TReturn, TNext>(g): AsyncGenerator<T, TReturn, TNext>
-
Parameters
-
g: ((fs) => AsyncGenerator<T, TReturn, TNext>)
-
- (fs): AsyncGenerator<T, TReturn, TNext>
-
Returns AsyncGenerator<T, TReturn, TNext>
Returns AsyncGenerator<T, TReturn, TNext>
vaultDataDir
vaultDataDir: string
vaultGitDir
vaultGitDir: string
version
version: ((ref?) => Promise<void>)
Type declaration
-
- (ref?): Promise<void>
-
Returns Promise<void>
writeF
writeF: ((f, tran?) => Promise<void>)
Type declaration
-
- (f, tran?): Promise<void>
-
Parameters
-
f: ((fs) => Promise<void>)
-
- (fs): Promise<void>
-
Returns Promise<void>
-
Optional
tran: DBTransaction
Returns Promise<void>
writeG
writeG: (<T, TReturn, TNext>(g, tran?) => AsyncGenerator<T, TReturn, TNext>)
Type declaration
-
- <T, TReturn, TNext>(g, tran?): AsyncGenerator<T, TReturn, TNext>
-
Parameters
-
g: ((fs) => AsyncGenerator<T, TReturn, TNext>)
-
- (fs): AsyncGenerator<T, TReturn, TNext>
-
Returns AsyncGenerator<T, TReturn, TNext>
-
Optional
tran: DBTransaction
Returns AsyncGenerator<T, TReturn, TNext>
Checks out the vault repository to specific commit ID or special tags This changes the working directory and updates the HEAD reference