Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for createParentDirectories (0.1 seconds)

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

          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertThat(path.getParent()).isNull();
        assertThat(path.toAbsolutePath().getParent()).isNotNull();
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertThat(path.getParent()).isNull();
        assertThat(path.toAbsolutePath().getParent()).isNotNull();
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/MoreFiles.java

       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
       *     directories of the specified file could not be created.
       */
      public static void createParentDirectories(Path path, FileAttribute<?>... attrs)
          throws IOException {
        // Interestingly, unlike File.getCanonicalFile(), Path/Files provides no way of getting the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
Back to Top