aboutsummaryrefslogtreecommitdiff
path: root/internal/nametransform
diff options
context:
space:
mode:
authorSebastian Lackner2018-12-27 12:03:00 +0100
committerrfjakob2018-12-27 15:19:55 +0100
commit874eaf9734cc10940e08f7b043652449e1e220b5 (patch)
tree1d58848741a2a78426b412fab51b22ee997d9f12 /internal/nametransform
parent4c2ff26457471cd36b25c29fb3f982b27002ce3c (diff)
Assorted spelling fixes.
Mostly detected with the 'codespell' utility, but also includes some manual grammar fixes.
Diffstat (limited to 'internal/nametransform')
-rw-r--r--internal/nametransform/dirivcache/dirivcache.go6
-rw-r--r--internal/nametransform/names.go2
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
}