MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getFileDependents

Method getFileDependents

src/index.ts:3311–3313  ·  view source on GitHub ↗

* Get dependents of a file * * @param filePath - Path to the file * @param opts - `skipTiers`: leave out links across a process boundary (a * client's HTTP call onto a route, a queue job onto its consumer, an event * onto its handler), as `codegraph affected` does by default (#332

(filePath: string, opts: { skipTiers?: boolean } = {})

Source from the content-addressed store, hash-verified

3309 * @returns Array of file paths that depend on this file
3310 */
3311 getFileDependents(filePath: string, opts: { skipTiers?: boolean } = {}): string[] {
3312 return this.graphManager.getFileDependents(filePath, opts);
3313 }
3314
3315 /**
3316 * Find circular imports between files

Calls

no outgoing calls

Tested by 1

reachedFromFunction · 0.36