From ead7008a08f9ace4591ebbc03e63fdc7ef37e502 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 10 May 2020 00:25:49 +0200 Subject: Fix spelling mistakes found by misspell https://github.com/client9/misspell --- internal/fusefrontend_reverse/excluder.go | 2 +- internal/fusefrontend_reverse/rfs.go | 2 +- internal/inomap/inomap.go | 2 +- internal/nametransform/diriv.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'internal') diff --git a/internal/fusefrontend_reverse/excluder.go b/internal/fusefrontend_reverse/excluder.go index 5c0941a..c44816c 100644 --- a/internal/fusefrontend_reverse/excluder.go +++ b/internal/fusefrontend_reverse/excluder.go @@ -29,7 +29,7 @@ func (rfs *ReverseFS) prepareExcluder(args fusefrontend.Args) { // Patterns passed in the -exclude command line option are prefixed // with a leading '/' to preserve backwards compatibility (before // wildcard matching was implemented, exclusions always were matched -// agains the full path). +// against the full path). func getExclusionPatterns(args fusefrontend.Args) []string { patterns := make([]string, len(args.Exclude)+len(args.ExcludeWildcard)) // add -exclude diff --git a/internal/fusefrontend_reverse/rfs.go b/internal/fusefrontend_reverse/rfs.go index 6bbdfb5..8c7ce02 100644 --- a/internal/fusefrontend_reverse/rfs.go +++ b/internal/fusefrontend_reverse/rfs.go @@ -37,7 +37,7 @@ type ReverseFS struct { nameTransform nametransform.NameTransformer // Content encryption helper contentEnc *contentenc.ContentEnc - // Tests wheter a path is excluded (hiden) from the user. Used by -exclude. + // Tests whether a path is excluded (hiden) from the user. Used by -exclude. excluder ignore.IgnoreParser // inoMap translates inode numbers from different devices to unique inode // numbers. diff --git a/internal/inomap/inomap.go b/internal/inomap/inomap.go index fb6faf6..64bb174 100644 --- a/internal/inomap/inomap.go +++ b/internal/inomap/inomap.go @@ -97,7 +97,7 @@ func (m *InoMap) Translate(in QIno) (out uint64) { return out } -// TranslateStat translates the inode number contained in "st" if neccessary. +// TranslateStat translates the inode number contained in "st" if necessary. // Convience wrapper around Translate(). func (m *InoMap) TranslateStat(st *syscall.Stat_t) { in := QInoFromStat(st) diff --git a/internal/nametransform/diriv.go b/internal/nametransform/diriv.go index c216dd0..cd20ca6 100644 --- a/internal/nametransform/diriv.go +++ b/internal/nametransform/diriv.go @@ -66,7 +66,7 @@ func WriteDirIVAt(dirfd int) error { // https://github.com/rfjakob/gocryptfs/issues/387 ). // // Note that gocryptfs.conf is still created with 0400 permissions so the - // owner must explicitely chmod it to permit access. + // owner must explicitly chmod it to permit access. const dirivPerms = 0440 iv := cryptocore.RandBytes(DirIVLen) -- cgit v1.2.3