ml.comet.experiment.artifact.AssetOverwriteStrategy Maven / Gradle / Ivy
package ml.comet.experiment.artifact;
/**
* Defines overwrite strategy to use for handling conflicts when trying to download an artifact version
* asset to a path with an existing file with the same name.
*/
public enum AssetOverwriteStrategy {
/**
* If an asset file already exists and its content is different - raises exception.
*/
FAIL_IF_DIFFERENT,
/**
* If an asset file already exists, preserve the existing file.
*/
PRESERVE,
/**
* If an asset file already exists, replace it by the new version of asset.
*/
OVERWRITE
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy