4a27cd3 RoboSharp eingefügt 1b2fc1f Erweiterungsmethode für Startparameter einefügt git-subtree-dir: FSI.Lib git-subtree-split: 4a27cd377a1959dc669625473b018e42c31ef147
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
namespace FSI.Lib.Tools.RoboSharp
|
|
{
|
|
/// <summary>
|
|
/// Message Type reported by RoboCopy
|
|
/// </summary>
|
|
public enum FileClassType
|
|
{
|
|
/// <summary>Details about a Directory</summary>
|
|
NewDir,
|
|
/// <summary>Details about a FILE</summary>
|
|
File,
|
|
/// <summary>Status Message reported by RoboCopy</summary>
|
|
SystemMessage
|
|
}
|
|
|
|
/// <summary>Contains information about the current item being processed by RoboCopy</summary>
|
|
public class ProcessedFileInfo
|
|
{
|
|
/// <summary>Description of the item as reported by RoboCopy</summary>
|
|
public string FileClass { get; set; }
|
|
|
|
/// <inheritdoc cref="RoboSharp.FileClassType"/>
|
|
public FileClassType FileClassType { get; set; }
|
|
|
|
/// <summary>
|
|
/// File -> File Size <br/>
|
|
/// Directory -> Number files in folder -> Can be negative if PURGE is used <br/>
|
|
/// SystemMessage -> Should be 0
|
|
/// </summary>
|
|
public long Size { get; set; }
|
|
|
|
/// <summary>Folder or File Name / Message Text</summary>
|
|
public string Name { get; set; }
|
|
}
|
|
}
|