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

Function fetchedIn

mods/diff/tests/git/fetch-diff.test.ts:81–95  ·  view source on GitHub ↗
(gitDir: Listing, applyDir: Listing = [])

Source from the content-addressed store, hash-verified

79 })
80
81 const fetchedIn = (gitDir: Listing, applyDir: Listing = []) =>
82 Git.fetchDiff(
83 depsOf(trackedNoUntrackedOf(), {
84 entryKindsOf: dir =>
85 Promise.resolve(
86 listingOf(
87 new Map([
88 ['/repo/.git', gitDir],
89 ['/repo/.git/rebase-apply', applyDir],
90 ]).get(dir) ?? Fixtures.FILES_LISTING,
91 ),
92 ),
93 }),
94 'session',
95 )
96
97 test('session mode: rows tagged by mtime, untracked merged', async () => {
98 const outcome = await Git.fetchDiff(

Callers 1

fetch-diff.test.tsFile · 0.85

Calls 4

trackedNoUntrackedOfFunction · 0.85
depsOfFunction · 0.70
listingOfFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected