MCPcopy Create free account
hub / github.com/anthropics/claude-code / datedBefore

Function datedBefore

mods/diff/tests/git/fetch-diff.test.ts:47–53  ·  view source on GitHub ↗
(suffix: string)

Source from the content-addressed store, hash-verified

45
46 const datedBefore =
47 (suffix: string): Git.GitDeps['mtimeOf'] =>
48 path =>
49 Promise.resolve(
50 path.endsWith(suffix)
51 ? Fixtures.BEFORE_SESSION_MS
52 : Fixtures.DURING_SESSION_MS,
53 )
54
55 const trackedNoUntrackedOf = (): Script => ({
56 'HEAD --shortstat': Fixtures.ok(' 1 file changed, 1 insertion(+)'),

Callers 1

fetch-diff.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected