Defined in lib/src/commit.ts:57
Properties
Private
Optional
_destroy
_destroy?: boolean
Defined in lib/src/commit.ts:64
Private
Optional
_previous Commit
_previous Commit?: string
Defined in lib/src/commit.ts:65
Private
_push
Defined in lib/src/commit.ts:62
Private
_remove
_remove: Set < string >
Defined in lib/src/commit.ts:63
Private
_set
Defined in lib/src/commit.ts:61
Private
_subject
_subject: string
Defined in lib/src/commit.ts:60
Accessors
destroy
get destroy( ) : undefined | boolean
Returns undefined | boolean
Defined in lib/src/commit.ts:93
previous Commit
get previousCommit( ) : undefined | string
Returns undefined | string
Defined in lib/src/commit.ts:97
push
get push( ) : Map < string , Set < JSONValue > >
Returns Map < string , Set < JSONValue > >
Defined in lib/src/commit.ts:85
remove
get remove( ) : Set < string >
Returns Set < string >
Defined in lib/src/commit.ts:89
set
get set( ) : Map < string , JSONValue >
Returns Map < string , JSONValue >
Defined in lib/src/commit.ts:81
subject
get subject( ) : string
Returns string
Defined in lib/src/commit.ts:77
Methods
add Remove Action
add Remove Action( property: string ) : CommitBuilder
Defined in lib/src/commit.ts:120
has Unsaved Changes
has Unsaved Changes( ) : boolean
Returns boolean
Defined in lib/src/commit.ts:172
remove Remove Action
remove Remove Action( property: string ) : CommitBuilder
Defined in lib/src/commit.ts:129
set Destroy
set Destroy( destroy: boolean ) : CommitBuilder
Defined in lib/src/commit.ts:135
set Previous Commit
set Previous Commit( prev: string ) : CommitBuilder
Defined in lib/src/commit.ts:145
set Subject
set Subject( subject: string ) : CommitBuilder
Defined in lib/src/commit.ts:151
sign
sign( privateKey: string , agentSubject: string ) : Promise < Commit >
Parameters
privateKey: string
agentSubject: string
Returns Promise < Commit >
Defined in lib/src/commit.ts:161
sign At
sign At( agent: string , privateKey: string , createdAt: number ) : Promise < Commit >
Parameters
agent: string
privateKey: string
createdAt: number
Returns Promise < Commit >
Defined in lib/src/commit.ts:213
A Commit without its signature, signer and timestamp