(moduleName string)
| 929 | } |
| 930 | |
| 931 | func IsExternalModuleNameRelative(moduleName string) bool { |
| 932 | // TypeScript 1.0 spec (April 2014): 11.2.1 |
| 933 | // An external module name is "relative" if the first term is "." or "..". |
| 934 | // Update: We also consider a path like `C:\foo.ts` "relative" because we do not search for it in `node_modules` or treat it as an ambient module. |
| 935 | return PathIsRelative(moduleName) || IsRootedDiskPath(moduleName) |
| 936 | } |
| 937 | |
| 938 | type ComparePathsOptions struct { |
| 939 | UseCaseSensitiveFileNames bool |
no test coverage detected