(n: Pick<Node, 'id' | 'name' | 'filePath' | 'language' | 'startLine' | 'startColumn'>)
| 62 | const dirOf = (filePath: string): string => filePath.slice(0, filePath.lastIndexOf('/') + 1); |
| 63 | |
| 64 | const toInclude = (n: Pick<Node, 'id' | 'name' | 'filePath' | 'language' | 'startLine' | 'startColumn'>): Include => |
| 65 | ({ id: n.id, spec: n.name, file: n.filePath, language: n.language, line: n.startLine, column: n.startColumn }); |
| 66 | |
| 67 | /** The indexed file an `#include` names, the way its include edge resolves it. */ |
| 68 | function includedFile(include: Include, context: ResolutionContext, memo: Memo): string | null { |
no outgoing calls
no test coverage detected