- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for updateVersion (0.31 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchyRoot.java
*/ @CheckReturnValue public VersionHierarchyRoot updateVersion(String location) { long newVersion = rootNode.getMaxVersionInHierarchy() + 1; VfsRelativePath relativePath = VfsRelativePath.of(location); VersionHierarchy newRootNode = relativePath.isEmpty() ? VersionHierarchy.empty(newVersion) : rootNode.updateVersion(relativePath, newVersion, caseSensitivity);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchy.java
* * @param newVersion The new version. Must be bigger than the current maximum version in this hierarchy. */ @CheckReturnValue public VersionHierarchy updateVersion(VfsRelativePath relativePath, long newVersion, CaseSensitivity caseSensitivity) { ChildMap<VersionHierarchy> newChildren = children.store(relativePath, caseSensitivity, new ChildMap.StoreHandler<VersionHierarchy>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
/** {@inheritDoc} */ public ArtifactRepository getRepository() { return artifact.getRepository(); } /** {@inheritDoc} */ public void updateVersion(String version, ArtifactRepository localRepository) { artifact.updateVersion(version, localRepository); } /** {@inheritDoc} */ public String getDownloadUrl() { return artifact.getDownloadUrl(); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/VersionHierarchyRootTest.groovy
.inits().collect { "/${it.join('/')}".toString() } } private void updateVersions(String... locations) { VersionHierarchyRoot newVersionHierarchyRoot = versionHierarchyRoot for (location in locations) { newVersionHierarchyRoot = newVersionHierarchyRoot.updateVersion(location) } versionHierarchyRoot = newVersionHierarchyRoot }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
throw new ArtifactNotFoundException("Unable to determine the latest version", artifact); } artifact.setBaseVersion(version); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e); } } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 2.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
throw new ArtifactNotFoundException("Unable to determine the release version", artifact); } artifact.setBaseVersion(version); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e); } } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java
result = updateNotifyingListeners(diffListener -> currentRoot.invalidate(location, diffListener)); newVersionHierarchyRoot = newVersionHierarchyRoot.updateVersion(location); } versionHierarchyRoot = newVersionHierarchyRoot; return result; }); } @Override public void invalidateAll() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 5.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e); } } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 6.4K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} } } } return result; } @Override public void updateVersion(String version, ArtifactRepository localRepository) { setResolvedVersion(version); setFile(new File(localRepository.getBasedir(), localRepository.pathOf(this))); } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 19:20:54 UTC 2024 - 14.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
} if !ventry.Valid() { return "", errors.New("internal error: invalid version entry generated") } } updateVersion := false if fi.VersionPurgeStatus().Empty() && (fi.DeleteMarkerReplicationStatus() == "REPLICA" || fi.DeleteMarkerReplicationStatus().Empty()) { updateVersion = fi.MarkDeleted } else { // for replication scenario if fi.Deleted && fi.VersionPurgeStatus() != Complete {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0)