ui/client/features/git-session/services/GitSessionActions
The two things a user can actively ask commit-on-save to do: answer the dirty-tree question, and commit what is pending without waiting for the window.
Cockpit client (features), v0.9. Source: ui/client/features/git-session/services/GitSessionActions.ts.
Functions#
answerDirtyTree()#
answerDirtyTree(
answer,remember):Promise<{error?:string;ok:boolean; }>
Defined in: ui/client/features/git-session/services/GitSessionActions.ts:7
Answer "carry onto this session's branch, or stash?". remember keeps the answer per project.
Parameters#
answer
remember
boolean
Returns#
Promise<{ error?: string; ok: boolean; }>
commitNow()#
commitNow():
Promise<{error?:string;ok:boolean; }>
Defined in: ui/client/features/git-session/services/GitSessionActions.ts:11
Commit what is pending now — the Commit button in manual, and "don't wait" in coalesce.
Returns#
Promise<{ error?: string; ok: boolean; }>