summaryrefslogtreecommitdiff
path: root/src/buildtool/storage/garbage_collector.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-19 17:38:01 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-19 17:39:18 +0100
commitc5344fadd9a032171eed799aa1d91dc9247c810f (patch)
treed29aaf5613f7829238c0f6b34bdd536bfbb22f56 /src/buildtool/storage/garbage_collector.cpp
parent57404865c81582f891c64213f48af72b559d4802 (diff)
downloadjustbuild-c5344fadd9a032171eed799aa1d91dc9247c810f.tar.gz
garbage_collector: Fix small doc typos
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{};
{