using System;
namespace RoboSharp.Results
{
///
/// RoboCopy Exit Codes
///
///
[Flags]
public enum RoboCopyExitCodes
{
/// No Files Copied, No Errors Occured
NoErrorNoCopy = 0x0,
/// One or more files were copied successfully
FilesCopiedSuccessful = 0x1,
///
/// Some Extra files or directories were detected.
/// Examine the output log for details.
///
ExtraFilesOrDirectoriesDetected = 0x2,
///
/// Some Mismatched files or directories were detected.
/// Examine the output log. Housekeeping might be required.
///
MismatchedDirectoriesDetected = 0x4,
///
/// Some files or directories could not be copied
/// (copy errors occurred and the retry limit was exceeded).
/// Check these errors further.
///
SomeFilesOrDirectoriesCouldNotBeCopied = 0x8,
///
/// Serious error. Robocopy did not copy any files.
/// Either a usage error or an error due to insufficient access privileges on the source or destination directories.
///
SeriousErrorOccurred = 0x10,
///
/// The Robocopy process exited prior to completion
///
Cancelled = -1,
}
}