blob: 391a5ce6ac24aad51e58590f203a4433c75dfe53 (
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,
	}
}
  |