aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/args.go
blob: d0e18358fe3ebf66fa0190c0677f94d531b5ee60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package fusefrontend

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

// Container for arguments that are passed from main() to fusefrontend
type Args struct {
	Masterkey      []byte
	Cipherdir      string
	CryptoBackend  cryptocore.BackendTypeEnum
	PlaintextNames bool
	LongNames      bool
	// Should we chown a file after it has been created?
	// This only makes sense if (1) allow_other is set and (2) we run as root.
	PreserveOwner bool
}