diff options
author | Paulo Gomes <pjbgf@linux.com> | 2023-09-28 00:25:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 00:25:30 +0100 |
commit | 7d047a9f8a43bca9d137d8787278265dd3415219 (patch) | |
tree | c300f66c9a51e78b248cac238a6c3c01bf4ff130 /utils/merkletrie/internal/fsnoder/file.go | |
parent | c0e9df9ef7d3e598c2da6047aefc94b423feb9d7 (diff) | |
parent | 32975ee2c72d60121c37aa969d70b3b9953cd76a (diff) | |
download | go-git-7d047a9f8a43bca9d137d8787278265dd3415219.tar.gz |
Merge pull request #836 from hezhizhen/typo
*: fix some typos
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) } |