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

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
schomatis committed Aug 25, 2021
1 parent 85b919a commit 1fa29a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (d *BasicDirectory) needsToSwitchToHAMTDir(name string, nodeToAdd ipld.Node
operationSizeChange += estimatedLinkSize(name, nodeToAdd.Cid())
}

return d.estimatedSize + operationSizeChange >= HAMTShardingSize, nil
return d.estimatedSize+operationSizeChange >= HAMTShardingSize, nil
}

// addLinkChild adds the link as an entry to this directory under the given
Expand Down

0 comments on commit 1fa29a9

Please sign in to comment.