-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProfileCopyModels.cs
More file actions
42 lines (35 loc) · 1.01 KB
/
Copy pathProfileCopyModels.cs
File metadata and controls
42 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
namespace FlatCopyProfileExporter;
internal sealed record UserProfileInfo(string Name, string ProfilePath)
{
public override string ToString() => $"{Name} ({ProfilePath})";
}
internal sealed record KnownFolderOption(string DisplayName, string RelativePath)
{
public override string ToString() => DisplayName;
}
internal sealed record CopySourceRoot(
string SourcePath,
string DestinationPath,
string DisplayPath);
internal sealed record CopyEntry(
string SourcePath,
string DestinationPath,
string DisplayPath,
long Length,
bool IsDirectory);
internal sealed record CopyScanSummary(
IReadOnlyList<CopySourceRoot> Roots,
int TotalFiles,
int TotalDirectories,
long TotalBytes);
internal sealed record CopyProgressInfo(
long BytesProcessed,
long TotalBytes,
int FilesProcessed,
int TotalFiles,
string CurrentItem);
internal sealed record CopyExecutionSummary(
int CopiedFiles,
int SkippedFiles,
int FailedFiles,
long TotalBytesProcessed);