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

Function gitLog

src/lib/api.ts:2793–2805  ·  view source on GitHub ↗
(
  path: string,
  limit?: number,
  branch?: string,
  remote?: string
)

Source from the content-addressed store, hash-verified

2791}
2792
2793export async function gitLog(
2794 path: string,
2795 limit?: number,
2796 branch?: string,
2797 remote?: string
2798): Promise<GitLogResult> {
2799 return getTransport().call("git_log", {
2800 path,
2801 limit: limit ?? null,
2802 branch: branch ?? null,
2803 remote: remote ?? null,
2804 })
2805}
2806
2807export async function gitCommitBranches(
2808 path: string,

Callers 3

GitLogTabFunction · 0.90
PushWorkspaceFunction · 0.90
useReferenceSearchFunction · 0.90

Calls 2

getTransportFunction · 0.90
callMethod · 0.65

Tested by

no test coverage detected