@@ -21,7 +21,7 @@ class OnDiskKeyValueDB;
21
21
// / High-level properties:
22
22
// / * While \p UnifiedOnDiskCache is open on a directory, by any process, the
23
23
// / storage size in that directory will keep growing unrestricted. For data to
24
- // / become eligible for garbase -collection there should be no open instances
24
+ // / become eligible for garbage -collection there should be no open instances
25
25
// / of \p UnifiedOnDiskCache for that directory, by any process.
26
26
// / * Garbage-collection needs to be triggered explicitly by the client. It can
27
27
// / be triggered on a directory concurrently, at any time and by any process,
@@ -84,7 +84,7 @@ class UnifiedOnDiskCache {
84
84
85
85
// / This is called implicitly at destruction time, so it is not required for a
86
86
// / client to call this. After calling \p close the only method that is valid
87
- // / to call is \p needsGarbaseCollection .
87
+ // / to call is \p needsGarbageCollection .
88
88
// /
89
89
// / \param CheckSizeLimit if true it will check whether the primary store has
90
90
// / exceeded its intended size limit. If false the check is skipped even if a
@@ -106,7 +106,7 @@ class UnifiedOnDiskCache {
106
106
107
107
// / \returns whether there are unused data that can be deleted using a
108
108
// / \p collectGarbage call.
109
- bool needsGarbaseCollection () const { return NeedsGarbageCollection; }
109
+ bool needsGarbageCollection () const { return NeedsGarbageCollection; }
110
110
111
111
// / Remove any unused data from the directory at \p Path. If there are no such
112
112
// / data the operation is a no-op.
0 commit comments