aboutsummaryrefslogtreecommitdiff
path: root/internal/nametransform/names.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-08-06 21:59:15 +0200
committerJakob Unterwurzacher2017-08-06 21:59:15 +0200
commit5190cc09bbc8afca75986dbb14f09e62eda33b61 (patch)
tree37e5d9fc3febd063e9c09dc44dfbdaefd300a9c3 /internal/nametransform/names.go
parent32611ff97afacb6525015ed322645e12bd296380 (diff)
nametransform: move diriv cache into it's own package
Needs some space to grow. renamed: internal/nametransform/diriv_cache.go -> internal/nametransform/dirivcache/dirivcache.go
Diffstat (limited to 'internal/nametransform/names.go')
-rw-r--r--internal/nametransform/names.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/nametransform/names.go b/internal/nametransform/names.go
index 3447583..94fa453 100644
--- a/internal/nametransform/names.go
+++ b/internal/nametransform/names.go
@@ -9,6 +9,7 @@ import (
"github.com/rfjakob/eme"
+ "github.com/rfjakob/gocryptfs/internal/nametransform/dirivcache"
"github.com/rfjakob/gocryptfs/internal/tlog"
)
@@ -16,7 +17,7 @@ import (
type NameTransform struct {
emeCipher *eme.EMECipher
longNames bool
- DirIVCache dirIVCache
+ DirIVCache dirivcache.DirIVCache
// B64 = either base64.URLEncoding or base64.RawURLEncoding, depeding
// on the Raw64 feature flag
B64 *base64.Encoding