blob: 7ac7d26732f4146bafcfd0fc0874c4e1083303f6 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | package nametransform
import "github.com/rfjakob/gocryptfs/internal/cryptocore"
type NameTransform struct {
	cryptoCore *cryptocore.CryptoCore
	useEME     bool
	longNames  bool
	DirIVCache dirIVCache
}
func New(c *cryptocore.CryptoCore, useEME bool, longNames bool) *NameTransform {
	return &NameTransform{
		cryptoCore: c,
		longNames:  longNames,
		useEME:     useEME,
	}
}
 |