MCPcopy Index your code
hub / github.com/garrytan/gstack / freezeInput

Function freezeInput

test/hook-scripts.test.ts:45–47  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

43}
44
45function freezeInput(filePath: string) {
46 return { tool_input: { file_path: filePath } };
47}
48
49function withFreezeDir(freezePath: string, fn: (stateDir: string) => void) {
50 const stateDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gstack-freeze-test-'));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected