MCPcopy Create free account
hub / github.com/syncthing/syncthing / newFolderKeyRegistry

Function newFolderKeyRegistry

lib/protocol/encryption.go:689–693  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

687}
688
689func newFolderKeyRegistry() *folderKeyRegistry {
690 return &folderKeyRegistry{
691 keys: make(map[string]*[keySize]byte),
692 }
693}
694
695func (r *folderKeyRegistry) get(folder string) (*[keySize]byte, bool) {
696 r.mut.RLock()

Callers 1

newEncryptedModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected