- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StoringAction (0.18 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/VirtualFileSystem.java
/** * Snapshots via a {@link StoringAction} and stores the result in the VFS. * * If the snapshotted location is invalidated while snapshotting, * then the snapshot is not stored in the VFS to avoid inconsistent state. */ <T> T store(String baseLocation, StoringAction<T> storingAction); /** * Snapshotting action which produces possibly more than one snapshot.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java
storeIfUnchanged(absolutePath, versionBefore, snapshot); return snapshot; } @Override public <T> T store(String baseLocation, StoringAction<T> storingAction) { long versionBefore = versionHierarchyRoot.getVersion(baseLocation); return storingAction.snapshot(snapshot -> { storeIfUnchanged(snapshot.getAbsolutePath(), versionBefore, snapshot); return snapshot; }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractVirtualFileSystemTest.groovy
vfsStore.store(regularFile("${location}/some/child2")) instant.snapshottingFinished return directory(location, []) } as VirtualFileSystem.StoringAction) } async { thread.blockUntil.partialSnapshotsStored vfs.invalidate(["${location}/some".toString()]) instant.invalidated } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.7K bytes - Viewed (0)