Skip to content
Snippets Groups Projects
Commit 0fb025f5 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Rename ExpiredUserDirsSummary to GraceLocationSummary

Refers to #20
parent 810c5188
Branches
No related tags found
No related merge requests found
......@@ -63,8 +63,8 @@ namespace ATxCommon
/// </summary>
/// <returns>A human-readable (i.e. formatted) string with details on the grace location
/// and all expired directories, grouped by the topmost level (i.e. user dirs).</returns>
public string ExpiredUserDirsSummary() {
Update();
public string GraceLocationSummary() {
var summary = "------ Grace location status, " +
$"threshold: {_gracePeriod} days ({_gracePeriodHuman}) ------\n\n" +
$" - location: [{_graceLocation}]\n";
......@@ -155,7 +155,7 @@ namespace ATxCommon
/// </summary>
/// <returns>Human-readable string with details on free space + grace location.</returns>
public string Summary() {
return $"{SpaceSummary()}\n{ExpiredUserDirsSummary()}";
return $"{SpaceSummary()}\n{GraceLocationSummary()}";
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment