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

Function isStaticProjectPath

src/extraction/languages/nix.ts:31–36  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

29}
30
31function isStaticProjectPath(value: string): boolean {
32 return (
33 (value.startsWith('./') || value.startsWith('../')) &&
34 !/[\s{}()[\];"'<>$]/.test(value)
35 );
36}
37
38function getStaticImportPath(argNode: SyntaxNode, source: string): string | null {
39 let current = argNode;

Callers 2

getStaticImportPathFunction · 0.85
nix.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected