MCPcopy
hub / github.com/syncthing/syncthing / encryptionTokenPath

Function encryptionTokenPath

lib/model/model.go:3421–3423  ·  view source on GitHub ↗
(cfg config.FolderConfiguration)

Source from the content-addressed store, hash-verified

3419}
3420
3421func encryptionTokenPath(cfg config.FolderConfiguration) string {
3422 return filepath.Join(cfg.MarkerName, config.EncryptionTokenName)
3423}
3424
3425type storedEncryptionToken struct {
3426 FolderID string

Callers 2

readEncryptionTokenFunction · 0.85
writeEncryptionTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected