Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 487 for absolutePaths (0.47 sec)

  1. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/SnapshotVisitorUtil.groovy

            def absolutePaths = []
            snapshot.accept(new RootTrackingFileSystemSnapshotHierarchyVisitor() {
                @Override
                SnapshotVisitResult visitEntry(FileSystemLocationSnapshot entrySnapshot, boolean isRoot) {
                    if (includeRoots || !isRoot) {
                        absolutePaths << entrySnapshot.absolutePath
                    }
                    CONTINUE
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultProjectConnection.java

            final List<String> absolutePaths = new ArrayList<String>(changedPaths.size());
            for (Path changedPath : changedPaths) {
                if (!changedPath.isAbsolute()) {
                    throw new IllegalArgumentException(String.format("Changed path '%s' is not absolute", changedPath));
                }
                absolutePaths.add(changedPath.toString());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            then:
            visited.contains(rootTextFile.absolutePath)
            visited.contains(nestedTextFile.absolutePath)
            visited.contains(nestedSiblingTextFile.absolutePath)
            visited.contains(notTextFile.absolutePath)
            visited.contains(excludedFile.absolutePath)
            !visited.contains(notUnderRoot.absolutePath)
            !visited.contains(doesNotExist.absolutePath)
            relativePaths as Set == [
                '',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy

            s.hasDescendantsUnder(dir1.absolutePath)
            collectSnapshots(s, dir1.absolutePath)*.absolutePath == [dir1dir2dir3.absolutePath, dir1dir2dir4.absolutePath, dir1dir5.absolutePath]
    
            def pathWithPostfix = dir1dir2.absolutePath + "a"
            !s.hasDescendantsUnder(pathWithPostfix)
            collectSnapshots(s, pathWithPostfix).empty
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

            if (absolutePath.isEmpty() || absolutePath.equals("/")) {
                return absolutePath;
            }
            return isFileSeparator(absolutePath.charAt(absolutePath.length() - 1))
                ? absolutePath.substring(0, absolutePath.length() - 1)
                : absolutePath;
        }
    
        private static int determineOffset(String absolutePath) {
            for (int i = 0; i < absolutePath.length(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top