diff options
Diffstat (limited to 'internal/nametransform')
-rw-r--r-- | internal/nametransform/dirivcache/dirivcache.go | 6 | ||||
-rw-r--r-- | internal/nametransform/names.go | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/nametransform/dirivcache/dirivcache.go b/internal/nametransform/dirivcache/dirivcache.go index c0eca6d..962ae37 100644 --- a/internal/nametransform/dirivcache/dirivcache.go +++ b/internal/nametransform/dirivcache/dirivcache.go @@ -31,9 +31,9 @@ type DirIVCache struct { rootDirIV []byte // expiry is the time when the whole cache expires. - // The cached entry my become out-of-date if the ciphertext directory is - // modifed behind the back of gocryptfs. Having an expiry time limits the - // inconstency to one second, like attr_timeout does for the kernel + // The cached entry might become out-of-date if the ciphertext directory is + // modified behind the back of gocryptfs. Having an expiry time limits the + // inconstancy to one second, like attr_timeout does for the kernel // getattr cache. expiry time.Time diff --git a/internal/nametransform/names.go b/internal/nametransform/names.go index 65e6f06..22e639a 100644 --- a/internal/nametransform/names.go +++ b/internal/nametransform/names.go @@ -18,7 +18,7 @@ type NameTransform struct { emeCipher *eme.EMECipher longNames bool DirIVCache dirivcache.DirIVCache - // B64 = either base64.URLEncoding or base64.RawURLEncoding, depeding + // B64 = either base64.URLEncoding or base64.RawURLEncoding, depending // on the Raw64 feature flag B64 *base64.Encoding } |