FileConflictAction enum

Namespace Runic.Platform in Runic.Platform 0.23.0

public enum FileConflictAction

What to do about a conflict.

Remarks

This set is closed: it gains values only in a major release.

Values

Skip

Skip = 0

Leave the existing entry and do not transfer the source; a moved source stays where it is.

Replace

Replace = 1

Replace the existing entry with the source; a directory is replaced with all its contents.

KeepBoth

KeepBoth = 2

Transfer the source under a free name, such as report (2).txt.

Merge

Merge = 3

Transfer a directory's contents into the existing directory, deciding each conflict inside it.

Remarks

Only when FileTransferConflict.CanMerge; otherwise the transfer throws InvalidOperationException.

Cancel

Cancel = 4

Stop the transfer; it returns PlatformFailureCode.UserDismissed.