Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for simplifyPath (0.21 sec)

  1. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("/a/b/c/g;x?y#s", simplifyPath("/a/b/c/g;x?y#s"));
        assertEquals("/a/b/c", simplifyPath("/a/b/c/."));
        assertEquals("/a/b/c", simplifyPath("/a/b/c/./"));
        assertEquals("/a/b", simplifyPath("/a/b/c/.."));
        assertEquals("/a/b", simplifyPath("/a/b/c/../"));
        assertEquals("/a/b/g", simplifyPath("/a/b/c/../g"));
        assertEquals("/a", simplifyPath("/a/b/c/../.."));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("/a/b/c/g;x?y#s", simplifyPath("/a/b/c/g;x?y#s"));
        assertEquals("/a/b/c", simplifyPath("/a/b/c/."));
        assertEquals("/a/b/c", simplifyPath("/a/b/c/./"));
        assertEquals("/a/b", simplifyPath("/a/b/c/.."));
        assertEquals("/a/b", simplifyPath("/a/b/c/../"));
        assertEquals("/a/b/g", simplifyPath("/a/b/c/../g"));
        assertEquals("/a", simplifyPath("/a/b/c/../.."));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. 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.length() == 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. 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.length() == 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top