MCPcopy
hub / github.com/xintaofei/codeg / gitStatus

Function gitStatus

src/lib/api.ts:1563–1571  ·  view source on GitHub ↗
(
  path: string,
  showAllUntracked?: boolean
)

Source from the content-addressed store, hash-verified

1561}
1562
1563export async function gitStatus(
1564 path: string,
1565 showAllUntracked?: boolean
1566): Promise<GitStatusEntry[]> {
1567 return getTransport().call("git_status", {
1568 path,
1569 showAllUntracked: showAllUntracked ?? null,
1570 })
1571}
1572
1573export async function gitDiff(path: string, file?: string): Promise<string> {
1574 return getTransport().call("git_diff", { path, file: file ?? null })

Callers 3

GitChangesTabFunction · 0.90
CommitWorkspaceFunction · 0.90
FileTreeTabFunction · 0.90

Calls 2

getTransportFunction · 0.90
callMethod · 0.65

Tested by

no test coverage detected