- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for simplifyPath (0.06 seconds)
-
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
assertThat(simplifyPath("/..a")).isEqualTo("/..a"); assertThat(simplifyPath("/..a/..b")).isEqualTo("/..a/..b"); assertThat(simplifyPath("/.....a/..b")).isEqualTo("/.....a/..b"); assertThat(simplifyPath("..../....")).isEqualTo("..../...."); assertThat(simplifyPath("..a../..b..")).isEqualTo("..a../..b.."); } public void testSlashDot() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
assertThat(simplifyPath("/..a")).isEqualTo("/..a"); assertThat(simplifyPath("/..a/..b")).isEqualTo("/..a/..b"); assertThat(simplifyPath("/.....a/..b")).isEqualTo("/.....a/..b"); assertThat(simplifyPath("..../....")).isEqualTo("..../...."); assertThat(simplifyPath("..a../..b..")).isEqualTo("..a../..b.."); } public void testSlashDot() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* the path {@code a/../b}, which {@code simplifyPath} will change to {@code b}. If {@code a} is a * symlink to {@code x}, {@code a/../b} may refer to a sibling of {@code x}, rather than the * sibling of {@code a} referred to by {@code b}. * * @since 11.0 */ public static String simplifyPath(String pathname) { checkNotNull(pathname); if (pathname.isEmpty()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0)