Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 739 for EXISTS (0.04 seconds)

  1. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Files.createDirectory(existingDir);
            Files.createFile(existingDir.resolve("test.txt"));
    
            assertTrue(Files.exists(existingDir));
            themeHelper.closeQuietly(existingDir);
            // Directory should be deleted
            assertFalse(Files.exists(existingDir));
        }
    
        @Test
        public void test_closeQuietly_nestedDirectory() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/Files.java

        File parent = file.getCanonicalFile().getParentFile();
        if (parent == null) {
          /*
           * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
           * mean that the root itself exists -- consider x:\ on a Windows machine without such a drive
           * -- or even that the caller can create it, but this method makes no such guarantees even for
           * non-root files.
           */
          return;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    Interpolation nt =
                            new Interpolation(fa, s -> profileActivationFilePathInterpolator.interpolate(s, context));
                    nt.performFor(fa.getExists(), "exists", fa::setExists);
                    nt.performFor(fa.getMissing(), "missing", fa::setMissing);
                });
                a.map(Activation::getOs).ifPresent(oa -> {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                            installationToolchainsFile != null && Files.exists(installationToolchainsFile)
                                    ? Sources.fromPath(installationToolchainsFile)
                                    : null)
                    .userToolchainsSource(
                            userToolchainsPath != null && Files.exists(userToolchainsPath)
                                    ? Sources.fromPath(userToolchainsPath)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            String result;
            ModelSource src = sourcePathProvider.get();
            if (src == null) {
                Files.deleteIfExists(target);
                result = null;
            } else if (!Files.exists(src.getPath())) {
                Files.deleteIfExists(target);
                result = "";
            } else {
                String current = ChecksumAlgorithmHelper.calculate(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
                            // delete the local copy so the old details aren't used.
                            if (file.exists()) {
                                if (!file.delete()) {
                                    // sleep for 10ms just in case this is windows holding a file lock
                                    try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  7. cmd/bucket-replication.go

    				sendEvent(eventArgs{
    					EventName:  event.ObjectReplicationNotTracked,
    					BucketName: bucket,
    					Object:     objInfo,
    					UserAgent:  "Internal: [Replication]",
    					Host:       globalLocalNodeName,
    				})
    			}
    			// object with same VersionID already exists, replication kicked off by
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) {
        this
    } else {
        val parent = dir("..")
        when {
            parent.file("version.txt").asFile.exists() -> parent
            this == parent -> error("Cannot find 'version.txt' file in root of repository")
            else -> parent.parentOrRoot()
        }
    }
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 4.9K bytes
    - Click Count (1)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                java.util.Properties properties, Path path, UnaryOperator<String> callback, boolean escape)
                throws IOException {
            MavenProperties sp = new MavenProperties(false);
            if (Files.exists(path)) {
                sp.load(path);
            }
            properties.forEach(
                    (k, v) -> sp.put(k.toString(), escape ? DefaultInterpolator.escape(v.toString()) : v.toString()));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to write data to a file.
         */
        public static final byte SMB_COM_WRITE = (byte) 0x0B;
    
        /**
         * SMB command to check if a directory exists.
         */
        public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10;
    
        /**
         * SMB command to seek within a file.
         */
        public static final byte SMB_COM_SEEK = (byte) 0x12;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
Back to Top