MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / baseCommitRef

Method baseCommitRef

src/agent/git-sandbox.ts:119–121  ·  view source on GitHub ↗

The commit the sandbox branched from — used to diff what the task changed.

()

Source from the content-addressed store, hash-verified

117
118 /** The commit the sandbox branched from — used to diff what the task changed. */
119 baseCommitRef(): string | null {
120 return this.state?.baseCommit ?? null;
121 }
122
123 /** Current branch name, or null if detached/unknown. */
124 private async currentBranch(signal?: AbortSignal): Promise<string | null> {

Callers 1

runSandboxedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected