From 874eaf9734cc10940e08f7b043652449e1e220b5 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 27 Dec 2018 12:03:00 +0100 Subject: Assorted spelling fixes. Mostly detected with the 'codespell' utility, but also includes some manual grammar fixes. --- internal/nametransform/dirivcache/dirivcache.go | 6 +++--- internal/nametransform/names.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/nametransform') 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 } -- cgit v1.2.3