Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for createDirectory (0.25 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt

        source: Path,
        target: Path,
      ) {
        log("atomicMove($source, $target)")
    
        super.atomicMove(source, target)
      }
    
      override fun createDirectory(
        dir: Path,
        mustCreate: Boolean,
      ) {
        log("createDirectory($dir)")
    
        super.createDirectory(dir, mustCreate)
      }
    
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        log("delete($path)")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Files.createDirectory(fs.getPath("dir/e"));
        Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("dir/b/g"));
        Files.createSymbolicLink(fs.getPath("dir/b/h"), fs.getPath("../a"));
        Files.createFile(fs.getPath("dir/b/i/j/k"));
        Files.createDirectory(fs.getPath("/dontdelete"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Files.createDirectory(fs.getPath("dir/e"));
        Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("dir/b/g"));
        Files.createSymbolicLink(fs.getPath("dir/b/h"), fs.getPath("../a"));
        Files.createFile(fs.getPath("dir/b/i/j/k"));
        Files.createDirectory(fs.getPath("/dontdelete"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        //    /right
        //       /[sibling -> left]
        Path root = createTempDirectory("ClassPathTest");
        try {
          Path left = createDirectory(root.resolve("left"));
          createFile(left.resolve("some.txt"));
    
          Path right = createDirectory(root.resolve("right"));
          createFile(right.resolve("another.txt"));
    
          createSymbolicLink(left.resolve("sibling"), right);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                            .resolve("conf")
                            .resolve("maven.properties")),
                    "${maven.home}/conf/maven.properties must be a file");
    
            Files.createDirectory(cwd.resolve(".mvn"));
    
            String pomString =
                    """
                        <?xml version="1.0" encoding="UTF-8"?>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

          """.trimIndent()
        val entryBody = "abc"
        val journalBody = """libcore.io.DiskLruCache
    1
    201105
    2
    
    CLEAN $urlKey ${entryMetadata.length} ${entryBody.length}
    """
        fileSystem.createDirectory(cache.directoryPath)
        writeFile(cache.directoryPath, "$urlKey.0", entryMetadata)
        writeFile(cache.directoryPath, "$urlKey.1", entryBody)
        writeFile(cache.directoryPath, "journal", journalBody)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top