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

Function gitRollbackFile

src/lib/api.ts:1634–1639  ·  view source on GitHub ↗
(
  path: string,
  file: string
)

Source from the content-addressed store, hash-verified

1632}
1633
1634export async function gitRollbackFile(
1635 path: string,
1636 file: string
1637): Promise<void> {
1638 return getTransport().call("git_rollback_file", { path, file })
1639}
1640
1641export async function gitAddFiles(
1642 path: string,

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