()
| 230 | } |
| 231 | |
| 232 | public FilePath toWindows() { |
| 233 | var suffix = value.endsWith("/") || value.endsWith("\\") ? "\\" : ""; |
| 234 | return FilePath.of(String.join("\\", split()) + suffix); |
| 235 | } |
| 236 | |
| 237 | public boolean isRoot() { |
| 238 | return getRoot().equals(this); |
no test coverage detected