Squashed 'FSI.Lib/' changes from 6aa4846..4a27cd3

4a27cd3 RoboSharp eingefügt
1b2fc1f Erweiterungsmethode für Startparameter einefügt

git-subtree-dir: FSI.Lib
git-subtree-split: 4a27cd377a1959dc669625473b018e42c31ef147
This commit is contained in:
maier_S
2022-03-23 14:17:56 +01:00
parent a0095a0516
commit 907ad039c4
57 changed files with 11301 additions and 0 deletions

View File

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