MCPcopy Create free account
hub / github.com/IAmUnbounded/devctx / getAuthor

Function getAuthor

devctx/src/core/git.ts:35–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35export async function getAuthor(): Promise<string> {
36 const name = await git.raw(["config", "user.name"]).catch(() => "unknown");
37 return name.trim();
38}
39
40export async function getRepoRoot(): Promise<string> {
41 const root = await git.revparse(["--show-toplevel"]);

Callers 5

mcp-server.tsFile · 0.90
watchCommandFunction · 0.90
saveCommandFunction · 0.90
summarizeCommandFunction · 0.90
handoffCommandFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected