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

Function fetchedIn

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

Source from the content-addressed store, hash-verified

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

Callers 1

fetch-diff.test.tsFile · 0.85

Calls 4

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

Tested by

no test coverage detected