Decode a resolved module marker comment from text. Returns the absolute path, or null if not found.
(text: string)
| 14 | |
| 15 | /** Decode a resolved module marker comment from text. Returns the absolute path, or null if not found. */ |
| 16 | function decodeResolvedModule(text: string) { |
| 17 | return text.match(RESOLVED_MODULE_COMMENT)?.[1] ?? null; |
| 18 | } |
| 19 | |
| 20 | /** Strip the resolved module marker comment. */ |
| 21 | function stripResolvedModuleComment(text: string) { |
no outgoing calls
no test coverage detected
searching dependent graphs…