public sealed record FileTransferConflict : IEquatable<FileTransferConflict> A source whose name an entry of the destination already has.
Parameters
SourcePathThe source being transferred, a top-level source or an entry inside a merged directory.
DestinationPathThe existing entry.
SourceWhat the source is.
DestinationWhat the existing entry is.
Constructors
FileTransferConflict
public FileTransferConflict(string SourcePath, string DestinationPath, FileEntryInfo Source, FileEntryInfo Destination) A source whose name an entry of the destination already has.
Parameters
SourcePathThe source being transferred, a top-level source or an entry inside a merged directory.
DestinationPathThe existing entry.
SourceWhat the source is.
DestinationWhat the existing entry is.
Properties
CanMerge
public bool CanMerge { get; } Whether both are directories, so that FileConflictAction.Merge is possible.
DestinationPath
public string DestinationPath { get; init; } The existing entry.
SourcePath
public string SourcePath { get; init; } The source being transferred, a top-level source or an entry inside a merged directory.