Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
689
func
newFolderKeyRegistry() *folderKeyRegistry {
690
return
&folderKeyRegistry{
691
keys: make(
map
[string]*[keySize]byte),
692
}
693
}
694
695
func
(r *folderKeyRegistry) get(folder string) (*[keySize]byte, bool) {
696
r.mut.RLock()
Callers
1
newEncryptedModel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected