From 0fb025f59a983554b7f12e4085d2c0b4e9cd0a20 Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Fri, 26 Apr 2019 14:33:20 +0200
Subject: [PATCH] Rename ExpiredUserDirsSummary to GraceLocationSummary

Refers to #20
---
 ATxCommon/StorageStatus.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ATxCommon/StorageStatus.cs b/ATxCommon/StorageStatus.cs
index f8c78e7..f6002dd 100644
--- a/ATxCommon/StorageStatus.cs
+++ b/ATxCommon/StorageStatus.cs
@@ -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()}";
         }
     }
 }
-- 
GitLab