Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 607 for IsFile (0.11 sec)

  1. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

        }
    
        boolean excluded(FileTreeElement file) {
            !patternSet.asSpec.isSatisfiedBy(file)
        }
    
        private static FileTreeElement element(boolean isFile, String... elements) {
            [
                getRelativePath: { return new RelativePath(isFile, elements) },
                getFile        : { return new File(elements.join('/')) }
            ] as FileTreeElement
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocator.java

        }
    
        private static boolean isLegacyVisualCpp(File candidate) {
            return new File(candidate, PATH_BIN + LEGACY_COMPILER_FILENAME).isFile();
        }
    
        private static boolean isVS2017VisualCpp(File candidate) {
            return new File(candidate, PATH_BIN + VS2017_COMPILER_FILENAME).isFile();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. pkg/volume/hostpath/host_path.go

    		return spec.PersistentVolume.Spec.HostPath, spec.ReadOnly, nil
    	}
    
    	return nil, false, fmt.Errorf("spec does not reference an HostPath volume type")
    }
    
    type hostPathTypeChecker interface {
    	Exists() bool
    	IsFile() bool
    	MakeFile() error
    	IsDir() bool
    	MakeDir() error
    	IsBlock() bool
    	IsChar() bool
    	IsSocket() bool
    	GetPath() string
    }
    
    type fileTypeChecker struct {
    	path string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeSpec.groovy

            when:
            fileTree.visitStructure(visitor, owner)
    
            then:
            1 * visitor.visitFileTree(generatedFile, _, owner) >> { d, p, t ->
                assert p.isEmpty()
                assert generatedFile.isFile()
                assert generatedFile.text == "contents!"
            }
            1 * generationListener.execute(generatedFile)
            1 * contentWriter.execute(_) >> { OutputStream outputStream ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVisualCppMetadataProvider.java

        public VisualCppInstallCandidate getVisualCppFromMetadataFile(File installDir) {
            File msvcVersionFile = new File(installDir, VS2017_METADATA_FILE_PATH);
            if (!msvcVersionFile.exists() || !msvcVersionFile.isFile()) {
                LOGGER.debug("The MSVC version file at {} either does not exist or is not a file.  Cannot determine the MSVC version for this installation.", msvcVersionFile.getAbsolutePath());
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformOutputs.java

                }
    
                private void validate(File output) {
                    validateOutputExists(outputDir, output);
                    if (outputFiles.contains(output) && !output.isFile()) {
                        throw new InvalidUserDataException("Transform output file " + output.getPath() + " must be a file, but is not.");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (path == null) {
                logger.warn("{} was not found.", path);
                return null;
            }
            final File osddFile = new File(path);
            if (!osddFile.isFile()) {
                logger.warn("{} was not a file.", path);
                return null;
            }
            return osddFile;
        }
    
        protected boolean isOsddLinkEnabled() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileResolver.java

                case FILE:
                    if (!file.exists()) {
                        throw new InvalidUserDataException(String.format("File '%s' does not exist.", file));
                    }
                    if (!file.isFile()) {
                        throw new InvalidUserDataException(String.format("File '%s' is not a file.", file));
                    }
                    break;
                case DIRECTORY:
                    if (!file.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/tasks/StaleOutputCleaner.java

                        .anyMatch(absolutePath::startsWith);
                },
                dir -> !directoriesToClean.contains(dir)
            );
    
            try {
                for (File f : filesToDelete) {
                    if (f.isFile()) {
                        outputsCleaner.cleanupOutput(f, FileType.RegularFile);
                    }
                }
                outputsCleaner.cleanupDirectories();
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            then: "the cache entry is reused"
            configurationCache.assertStateLoaded()
    
            when: "the file used in configuration is deleted and a directory is created in its place"
            assert accessedFile.isFile()
            assert accessedFile.delete()
            assert accessedFile.mkdirs()
            configurationCacheRunLenient()
    
            then: "the cache entry is invalidated and the change of the file system entry is reported"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top