MCPcopy Create free account
hub / github.com/fastrepl/anarlog / commit

Function commit

plugins/git/js/bindings.gen.ts:49–56  ·  view source on GitHub ↗
(path: string, message: string)

Source from the content-addressed store, hash-verified

47}
48},
49async commit(path: string, message: string) : Promise<Result<string, string>> {
50 try {
51 return { status: "ok", data: await TAURI_INVOKE("plugin:git|commit", { path, message }) };
52} catch (e) {
53 if(e instanceof Error) throw e;
54 else return { status: "error", error: e as any };
55}
56},
57async log(path: string, limit: number) : Promise<Result<CommitInfo[], string>> {
58 try {
59 return { status: "ok", data: await TAURI_INVOKE("plugin:git|log", { path, limit }) };

Callers 1

useEditableSectionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected