Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 341 for AbsolutePath (0.17 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

        public Optional<FileSystemLocationSnapshot> findSnapshot(String absolutePath) {
            return root.findSnapshot(absolutePath);
        }
    
        @Override
        public Optional<MetadataSnapshot> findMetadata(String absolutePath) {
            return root.findMetadata(absolutePath);
        }
    
        @Override
        public Stream<FileSystemLocationSnapshot> findRootSnapshotsUnder(String absolutePath) {
            return root.rootSnapshotsUnder(absolutePath);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/configuration/ApplyScriptPluginBuildOperationIntegrationTest.groovy

                apply from: "${normaliseFileSeparators(otherScript2.absolutePath)}"
            """
            def initScript = file("init.gradle") << """
                apply from: "${normaliseFileSeparators(otherScript1.absolutePath)}"
            """
    
            when:
            succeeds "help", "-I", initScript.absolutePath
    
            then:
            def ops = operations.all(ApplyScriptPluginBuildOperationType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy

        }
    
        FileSystemLocationSnapshot regularFile(String absolutePath, FileMetadata.AccessType accessType = DIRECT) {
            regularFile(absolutePath, accessType, null)
        }
    
        FileSystemLocationSnapshot regularFile(String absolutePath, @Nullable Long hashCode) {
            regularFile(absolutePath, DIRECT, hashCode)
        }
    
        FileSystemLocationSnapshot regularFile(String absolutePath, FileMetadata.AccessType accessType, @Nullable Long hashCode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectorySnapshotTest.groovy

                targetDir.file("child").absolutePath,
                targetDir.file("child/child.txt").absolutePath,
                targetDir.file("parent.txt").absolutePath,
            ] as Set
    
            index.values()*.name as Set == [
                targetDir.name,
                childDir.name,
                childFile.name,
                parentFile.name,
            ] as Set
    
            index.values().forEach(this::assertInterned)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/execution/plan/ExecutionNodeAccessHierarchyTest.groovy

            hierarchy.recordNodeAccessingLocations(rootNode, [root.absolutePath])
            hierarchy.recordNodeAccessingLocations(node1, [root.file("location").absolutePath])
            hierarchy.recordNodeAccessingLocations(node2, [root.file("sub/location").absolutePath])
            hierarchy.recordNodeAccessingLocations(node3, [root.file("third/within").absolutePath])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 11 15:00:43 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVswhereVersionLocatorTest.groovy

            vswhereInProgramFiles()
    
            expect:
            locator.getVswhereInstall().absolutePath == vswhere.absolutePath
        }
    
        def "finds vswhere executable in Program Files (X86)"() {
            given:
            vswhereInProgramFilesX86()
    
            expect:
            locator.getVswhereInstall().absolutePath == vswhere.absolutePath
        }
    
        def "finds vswhere executable in system path"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingFileHasherTest.groovy

            then:
            result == hash
    
            and:
            1 * timeStampInspector.timestampCanBeUsedToDetectFileChange(file.absolutePath, stat.lastModified) >> true
            1 * cache.getIfPresent(file.absolutePath) >> null
            1 * target.hash(file) >> hash
            1 * cache.put(file.absolutePath, _) >> { String key, FileInfo fileInfo ->
                assert fileInfo.hash == hash
                assert fileInfo.length == stat.length
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/modulemap/GenerateModuleMapFileTest.groovy

            when:
            generateFile(moduleMapFile, "foo", [headers.absolutePath, moreHeaders.absolutePath, new File('does-not-exist').absolutePath])
    
            then:
            normaliseLineSeparators(moduleMapFile.text) == """module foo {
    \tumbrella "${headers.absolutePath}"
    \tumbrella "${moreHeaders.absolutePath}"
    \texport *
    }
    """
        }
    
        def "creates parent directory if necessary"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        public Stream<FileSystemLocationSnapshot> rootSnapshotsUnder(String absolutePath) {
            return getNode(absolutePath)
                .map(FileSystemNode::rootSnapshots)
                .orElseGet(Stream::empty);
        }
    
        private Optional<FileSystemNode> getNode(String absolutePath) {
            VfsRelativePath relativePath = VfsRelativePath.of(absolutePath);
            return relativePath.isEmpty()
                ? Optional.of(rootNode)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinBinaryInfo.groovy

            def process = [dumpbin.absolutePath, '/LIST', binaryFile.absolutePath].execute(["PATH=$vcPath"], null)
            return process.inputStream.readLines().drop(3).collect { new File(it).name }
        }
    
        List<String> listLinkedLibraries() {
            def dumpbin = findExe("dumpbin.exe")
            def process = [dumpbin.absolutePath, '/IMPORTS', binaryFile.absolutePath].execute(["PATH=$vcPath"], null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top