- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 486 for AbsolutePath (0.14 sec)
-
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) -
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) -
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) -
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) -
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) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectorySnapshotTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.5K bytes - Viewed (0) -
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) -
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) -
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) -
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)