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

Method getFileDependents

src/index.ts:3281–3283  ·  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

3279 * @returns Array of file paths that depend on this file
3280 */
3281 getFileDependents(filePath: string, opts: { skipTiers?: boolean } = {}): string[] {
3282 return this.graphManager.getFileDependents(filePath, opts);
3283 }
3284
3285 /**
3286 * Find circular imports between files

Calls

no outgoing calls

Tested by 1

reachedFromFunction · 0.36