Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 42 for createDirectories (0.13 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                }
                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            final Path parentPath = parentFile.toPath();
            try {
                Files.createDirectories(parentPath);
            } catch (final IOException e) {
                logger.warn("Failed to create parent directory: {}", parentFile.getAbsolutePath(), e);
                return false;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    Path tempDir = Files.createTempDirectory("smbtest");
    
                    // Create directory structure
                    Files.createDirectories(tempDir.resolve("public"));
                    Files.createDirectories(tempDir.resolve("shared"));
    
                    // Create some initial files
                    Files.writeString(tempDir.resolve("public/readme.txt"), "This is a public share for testing");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                }
                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            final Path parentPath = parentFile.toPath();
            try {
                Files.createDirectories(parentPath);
            } catch (final IOException e) {
                logger.warn("Failed to create parent directory: {}", parentFile.getAbsolutePath(), e);
                return false;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            Path mvnDir = startingDirectory.resolve(MVN_DIRECTORY);
    
            try {
                if (!Files.exists(mvnDir)) {
                    if (shouldSaveModifications()) {
                        Files.createDirectories(mvnDir);
                        context.success("Created .mvn directory at " + mvnDir);
                    } else {
                        context.action("Would create .mvn directory at " + mvnDir);
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                String fileName = dest.getName(dest.nameCount - 1)
                dest = dest.parent.resolve(fileName.replace('.asciidoc', '.yml'))
    
                // Now setup the writer
                Files.createDirectories(dest.parent)
                current = dest.newPrintWriter('UTF-8')
            }
    
            void finishLastTest() {
                if (current != null) {
                    current.close()
                    current = null
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                // Log nothing as creating links should be very fast.
                Path source = artifact.getPath();
                if (!(Files.isRegularFile(target) && Files.isSameFile(source, target))) {
                    Files.createDirectories(target.getParent());
                    try {
                        Files.deleteIfExists(target);
                        Files.createLink(target, source);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  7. docs/smb3-features/02-persistent-handles-design.md

            // Create state directory for persistent storage
            String homeDir = System.getProperty("user.home");
            this.stateDirectory = Paths.get(homeDir, ".jcifs", "handles");
            try {
                Files.createDirectories(stateDirectory);
            } catch (IOException e) {
                log.error("Failed to create handle state directory", e);
            }
            
            // Load persisted handles on startup
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                            if (!path.equals(newPath)) {
                                try {
                                    try {
                                        Files.createDirectories(newPath.getParent());
                                    } catch (final FileAlreadyExistsException e) {
                                        // ignore
                                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      }
    
      @Test
      fun openCreatesDirectoryIfNecessary() {
        cache.close()
        val dir = (cacheDir / "testOpenCreatesDirectoryIfNecessary").also { filesystem.createDirectories(it) }
        cache =
          DiskLruCache(filesystem, dir, appVersion, 2, Int.MAX_VALUE.toLong(), taskRunner).also {
            toClose.add(it)
          }
        set("a", "a", "a")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                Path relativePath = commonRoot.relativize(originalPath);
                Path tempPomPath = tempDir.resolve(relativePath);
    
                // Ensure parent directories exist
                Files.createDirectories(tempPomPath.getParent());
    
                // Write POM to temp location
                writePomToFile(document, tempPomPath);
                context.debug("Wrote POM to temp location: " + tempPomPath);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
Back to Top