summaryrefslogtreecommitdiff
path: root/internal/nametransform/name_api.go
blob: 462e99c0670d090e1ab3f6835bc748f72ff7d19f (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,
	}
}