diff options
author | Zhizhen He <hezhizhen.yi@gmail.com> | 2023-09-08 09:30:43 +0800 |
---|---|---|
committer | Zhizhen He <hezhizhen.yi@gmail.com> | 2023-09-08 09:30:43 +0800 |
commit | 32975ee2c72d60121c37aa969d70b3b9953cd76a (patch) | |
tree | 6bda6979ebd8e0ea3e0bca518a8b8ab852b100b3 /utils/merkletrie/internal/fsnoder/file.go | |
parent | 51e9c9f1d9261568573a8b4bd50e8694e14839f7 (diff) | |
download | go-git-32975ee2c72d60121c37aa969d70b3b9953cd76a.tar.gz |
*: fix some typos
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
Diffstat (limited to 'utils/merkletrie/internal/fsnoder/file.go')
-rw-r--r-- | utils/merkletrie/internal/fsnoder/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/merkletrie/internal/fsnoder/file.go b/utils/merkletrie/internal/fsnoder/file.go index 0bb908b..453efee 100644 --- a/utils/merkletrie/internal/fsnoder/file.go +++ b/utils/merkletrie/internal/fsnoder/file.go @@ -32,7 +32,7 @@ func newFile(name, contents string) (*file, error) { func (f *file) Hash() []byte { if f.hash == nil { h := fnv.New64a() - h.Write([]byte(f.contents)) // it nevers returns an error. + h.Write([]byte(f.contents)) // it never returns an error. f.hash = h.Sum(nil) } |