@@ -21,7 +21,7 @@ class OnDiskKeyValueDB;
2121// / High-level properties:
2222// / * While \p UnifiedOnDiskCache is open on a directory, by any process, the
2323// / 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
2525// / of \p UnifiedOnDiskCache for that directory, by any process.
2626// / * Garbage-collection needs to be triggered explicitly by the client. It can
2727// / be triggered on a directory concurrently, at any time and by any process,
@@ -84,7 +84,7 @@ class UnifiedOnDiskCache {
8484
8585 // / This is called implicitly at destruction time, so it is not required for a
8686 // / 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 .
8888 // /
8989 // / \param CheckSizeLimit if true it will check whether the primary store has
9090 // / exceeded its intended size limit. If false the check is skipped even if a
@@ -106,7 +106,7 @@ class UnifiedOnDiskCache {
106106
107107 // / \returns whether there are unused data that can be deleted using a
108108 // / \p collectGarbage call.
109- bool needsGarbaseCollection () const { return NeedsGarbageCollection; }
109+ bool needsGarbageCollection () const { return NeedsGarbageCollection; }
110110
111111 // / Remove any unused data from the directory at \p Path. If there are no such
112112 // / data the operation is a no-op.
0 commit comments