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

Method getFileDependents

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

3292 * @returns Array of file paths that depend on this file
3293 */
3294 getFileDependents(filePath: string, opts: { skipTiers?: boolean } = {}): string[] {
3295 return this.graphManager.getFileDependents(filePath, opts);
3296 }
3297
3298 /**
3299 * Find circular imports between files

Calls

no outgoing calls

Tested by 1

reachedFromFunction · 0.36