Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 009757e

Browse files
Update io/directory.go
Co-authored-by: Adin Schmahmann <[email protected]>
1 parent ad4256f commit 009757e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/directory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ func (d *HAMTDirectory) removeFromSizeChange(name string, linkCid cid.Cid) {
437437
// (to trigger a transition to a BasicDirectory). It returns two `bool`s:
438438
// * whether it's below (true) or equal/above (false)
439439
// * whether the passed timeout to compute the size has been exceeded
440-
// Instead of enumearting the entire tree we eagerly call EnumLinksAsync
440+
// Instead of enumerating the entire tree we eagerly call EnumLinksAsync
441441
// until we either reach a value above the threshold (in that case no need)
442442
// to keep counting or the timeout runs out in which case the `below` return
443443
// value is not to be trusted as we didn't have time to count enough shards.

0 commit comments

Comments
 (0)