MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / git.ts

File git.ts

restored-src/src/utils/git.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createHash } from 'crypto'
2import { readFileSync, realpathSync, statSync } from 'fs'
3import { open, readFile, realpath, stat } from 'fs/promises'
4import memoize from 'lodash-es/memoize.js'

Callers

nothing calls this directly

Calls 14

statSyncFunction · 0.90
readFileSyncFunction · 0.90
realpathSyncFunction · 0.90
memoizeWithLRUFunction · 0.85
logForDiagnosticsNoPIIFunction · 0.85
createFindGitRootFunction · 0.85
getCwdFunction · 0.85
nowMethod · 0.80
resolveFunction · 0.70
normalizeMethod · 0.45
trimMethod · 0.45

Tested by

no test coverage detected