(name: string)
| 56 | const isCFamily = (language: string): boolean => language === 'c' || language === 'cpp'; |
| 57 | const fileName = (filePath: string): string => filePath.slice(Math.max(filePath.lastIndexOf('/'), filePath.lastIndexOf('\\')) + 1); |
| 58 | const stemOf = (name: string): string => { |
| 59 | const dot = name.lastIndexOf('.'); |
| 60 | return dot > 0 ? name.slice(0, dot) : name; |
| 61 | }; |
| 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 => |
no outgoing calls
no test coverage detected