Class RetiredCopy
What Retire(string, long, long) did: the removed copy, where the changes went, the files the run added or changed and those it removed (relative paths), what was listed and not kept, the bytes kept and the bytes the copy held.
public sealed record RetiredCopy
- Inheritance
-
objectRetiredCopy
Constructors
RetiredCopy(string, string, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<NotKeptFile>, long, long)
What Retire(string, long, long) did: the removed copy, where the changes went, the files the run added or changed and those it removed (relative paths), what was listed and not kept, the bytes kept and the bytes the copy held.
public RetiredCopy(string Copy, string KeptIn, IReadOnlyList<string> Added, IReadOnlyList<string> Changed, IReadOnlyList<string> Missing, IReadOnlyList<NotKeptFile> NotKept, long KeptBytes, long BytesFreed)
Parameters
CopystringKeptInstringAddedIReadOnlyList<string>ChangedIReadOnlyList<string>MissingIReadOnlyList<string>NotKeptIReadOnlyList<NotKeptFile>KeptByteslongBytesFreedlong
Properties
Added
public IReadOnlyList<string> Added { get; init; }
Property Value
- IReadOnlyList<string>
BytesFreed
public long BytesFreed { get; init; }
Property Value
- long
Changed
public IReadOnlyList<string> Changed { get; init; }
Property Value
- IReadOnlyList<string>
Copy
public string Copy { get; init; }
Property Value
- string
KeptBytes
public long KeptBytes { get; init; }
Property Value
- long
KeptIn
public string KeptIn { get; init; }
Property Value
- string
Missing
public IReadOnlyList<string> Missing { get; init; }
Property Value
- IReadOnlyList<string>
NotKept
public IReadOnlyList<NotKeptFile> NotKept { get; init; }
Property Value
- IReadOnlyList<NotKeptFile>
Methods
ToString()
One line for a report: "removed <copy> (2.1 GB); kept 18 added or changed files (3 MB) in <dir>, 1 listed only, 0 missing (changes.json)".
public override string ToString()
Returns
- string