WriteConflictPolicy

API: Stable

A policy for how UCloud should handle potential naming conflicts for certain operations (e.g. copy)

enum class WriteConflictPolicy {
    RENAME,
    REJECT,
    REPLACE,
    MERGE_RENAME,
}
Properties
RENAME UCloud should handle the conflict by renaming the file
REJECT UCloud should fail the request entirely
REPLACE UCloud should replace the existing file
MERGE_RENAME "Attempt to merge the results

This will result in the merging of folders. Concretely this means that directory conflicts will be resolved by re-using the existing directory. If there any file conflicts in the operation then this will act identical to RENAME.

Note: This mode is not supported for all operations. "