- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for moveAtomically (0.16 sec)
-
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy
1 * fileSystemAccess.moveAtomically(temporaryWorkspace.absolutePath, immutableWorkspace.absolutePath) >> { String from, String to -> throw new AccessDeniedException("Simulate Windows keeping file locks open") } then: 1 * fileSystemAccess.moveAtomically(secondTemporaryWorkspace.absolutePath, immutableWorkspace.absolutePath) >> { String from, String to ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 14:32:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/FileSystemAccess.java
/** * Move a file or directory on the actual file system atomically, and update the cached state without having to re-snapshot content in the new location. */ void moveAtomically(String sourceLocation, String targetLocation) throws IOException; interface WriteListener { void locationsWritten(Iterable<String> locations); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:29:37 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java
} @Override public void record(FileSystemLocationSnapshot snapshot) { virtualFileSystem.store(snapshot.getAbsolutePath(), () -> snapshot); } @Override public void moveAtomically(String sourceLocation, String targetLocation) throws IOException { FileSystemLocationSnapshot sourceSnapshot = read(sourceLocation); write(ImmutableList.of(sourceLocation, targetLocation), () -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:35 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStep.java
File immutableLocation = workspace.getImmutableLocation(); try { fileSystemAccess.moveAtomically(temporaryWorkspace.getAbsolutePath(), immutableLocation.getAbsolutePath()); return new WorkspaceResult(delegateResult, immutableLocation); } catch (FileSystemException moveWorkspaceException) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 16:44:11 UTC 2024 - 19.7K bytes - Viewed (0)