summaryrefslogtreecommitdiff
path: root/src/buildtool/storage/garbage_collector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/storage/garbage_collector.cpp')
-rw-r--r--src/buildtool/storage/garbage_collector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/storage/garbage_collector.cpp b/src/buildtool/storage/garbage_collector.cpp
index 01d803dc..82dbc8d2 100644
--- a/src/buildtool/storage/garbage_collector.cpp
+++ b/src/buildtool/storage/garbage_collector.cpp
@@ -160,7 +160,7 @@ auto GarbageCollector::TriggerGarbageCollection(bool no_rotation) noexcept
int remove_me_counter{};
// after releasing the shared lock, wait to get an exclusive lock for doing
- // the critical renamings
+ // the critical renaming
{
auto lock = ExclusiveLock();
if (not lock) {
@@ -169,7 +169,7 @@ auto GarbageCollector::TriggerGarbageCollection(bool no_rotation) noexcept
return false;
}
- // Frirst, while he have not yet created any to-remove directories, grab
+ // First, while he have not yet created any to-remove directories, grab
// all existing remove-me directories; they're left overs, as the clean
// up of owned directories is done with a shared lock.
std::vector<std::filesystem::path> left_over{};
@@ -238,7 +238,7 @@ auto GarbageCollector::TriggerGarbageCollection(bool no_rotation) noexcept
}
}
- // After releasing the exlusive lock, get a shared lock and remove what we
+ // After releasing the exclusive lock, get a shared lock and remove what we
// have to remove
bool success{};
{