Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for simplifyPath (0.13 sec)

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

        assertEquals("b", simplifyPath("./b"));
        assertEquals("b", simplifyPath("./b/."));
        assertEquals("b", simplifyPath("././b/./."));
        assertEquals("b", simplifyPath("././b"));
        assertEquals("a/b", simplifyPath("./a/b"));
      }
    
      public void testHiddenFiles() {
        assertEquals(".b", simplifyPath(".b"));
        assertEquals(".b", simplifyPath("./.b"));
        assertEquals(".metadata/b", simplifyPath(".metadata/b"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top