(path: string)
| 173 | } |
| 174 | |
| 175 | export function fragment(path: string): PathFragment { |
| 176 | if (path.indexOf(NormalizedSep) != -1) { |
| 177 | throw new PathCannotBeFragmentException(path); |
| 178 | } |
| 179 | |
| 180 | return path as PathFragment; |
| 181 | } |
| 182 | |
| 183 | /** |
| 184 | * normalize() cache to reduce computation. For now this grows and we never flush it, but in the |
no outgoing calls
no test coverage detected