summaryrefslogtreecommitdiff
path: root/internal/nametransform/name_api.go
blob: fe68e09c5f971307e0a7130e0d7a16fd84772989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package nametransform

import "github.com/rfjakob/gocryptfs/internal/cryptocore"

type NameTransform struct {
	cryptoCore *cryptocore.CryptoCore
	useEME     bool
	DirIVCache dirIVCache
}

func New(c *cryptocore.CryptoCore, useEME bool) *NameTransform {
	return &NameTransform{
		cryptoCore: c,
		useEME:     useEME,
	}
}