Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 153 for fileSystem (0.4 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            file('dest').assertHasDescendants(
                'one.txt',
                'three.txt'
            )
        }
    
        def "can filter a file collection using a closure hitting the filesystem"() {
            given:
            file("files/file0.txt") << ""
            file("files/dir1/file1.txt") << ""
            file("files/dir2/file2.txt") << ""
    
            and:
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy

        def virtualFileSystem = TestFiles.virtualFileSystem()
        def fileSystemAccess = TestFiles.fileSystemAccess(virtualFileSystem)
        def fileCollectionSnapshotter = new DefaultFileCollectionSnapshotter(fileSystemAccess, TestFiles.fileSystem())
        def fingerprinter = new AbsolutePathFileCollectionFingerprinter(DirectorySensitivity.DEFAULT, fileCollectionSnapshotter, FileSystemLocationSnapshotHasher.DEFAULT)
        def listener = Mock(ChangeListener)
    
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 20 16:00:23 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

                    }
                }
            }
            return processors;
        }
    
        /*
         * TODO once source compatibility is raised to 1.7, this should be rewritten using the java.nio.FileSystem API,
         * which can deal with jars and folders the same way instead of duplicating code.
         */
        private class ProcessorServiceLocator implements FileContentCacheFactory.Calculator<List<AnnotationProcessorDeclaration>> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

       * behavior that the {@link File} API does not already account for. For example, on NTFS it will
       * report {@code "txt"} as the extension for the filename {@code "foo.exe:.txt"} even though NTFS
       * will drop the {@code ":.txt"} part of the name when the file is actually created on the
       * filesystem due to NTFS's <a href="https://goo.gl/vTpJi4">Alternate Data Streams</a>.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/search/search.go

    func (m *Match) IsLiteral() bool {
    	return !strings.Contains(m.pattern, "...") && !m.IsMeta()
    }
    
    // IsLocal reports whether the pattern must be resolved from a specific root or
    // directory, such as a filesystem path or a single module.
    func (m *Match) IsLocal() bool {
    	return build.IsLocalImport(m.pattern) || filepath.IsAbs(m.pattern)
    }
    
    // IsMeta reports whether the pattern is a “meta-package” keyword that represents
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/fsys/fsys.go

    		return nil
    	}
    	return err
    }
    
    // Lstat implements a version of os.Lstat that operates on the overlay filesystem.
    func Lstat(path string) (fs.FileInfo, error) {
    	Trace("Lstat", path)
    	return overlayStat(path, os.Lstat, "lstat")
    }
    
    // Stat implements a version of os.Stat that operates on the overlay filesystem.
    func Stat(path string) (fs.FileInfo, error) {
    	Trace("Stat", path)
    	return overlayStat(path, os.Stat, "stat")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy

            allowFileSystemAccess(true)
            snapshot = read(nonExistingFileInDir)
            then:
            assertIsFileSnapshot(snapshot, nonExistingFileInDir)
        }
    
        def "can filter parts of the filesystem"() {
            def d = temporaryFolder.createDir("d")
            d.createFile("f1")
            def excludedFile = d.createFile("d1/f2")
            def includedFile = d.createFile("d1/f1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

                directoryPermissions =
                    () -> {
                      throw new IOException("unrecognized FileSystem type " + FileSystems.getDefault());
                    };
          }
        }
    
        private static PermissionSupplier userPermissions() {
          try {
            UserPrincipal user =
                FileSystems.getDefault()
                    .getUserPrincipalLookupService()
                    .lookupPrincipalByName(getUsername());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. subprojects/core/build.gradle.kts

        }
        testFixturesApi(project(":execution")) {
            because("test fixtures expose OutputChangeListener")
        }
        testFixturesApi(project(":native")) {
            because("test fixtures expose FileSystem")
        }
        testFixturesApi(project(":file-collections")) {
            because("test fixtures expose file collection types")
        }
        testFixturesApi(project(":file-temp")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

                cancellationToken,
                deploymentRegistry,
                userHomeListenerManager.createChild(Scope.BuildSession),
                buildExecutionTimer,
                Time.clock(),
                TestFiles.fileSystem(),
                CaseSensitivity.CASE_SENSITIVE,
                virtualFileSystem,
                delegate)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top