Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/filebrowser/filebrowser
/ generateKey
Function
generateKey
cmd/utils.go:42–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
func
generateKey() []byte {
43
k, err := settings.GenerateKey()
44
if
err != nil {
45
panic(err)
46
}
47
return
k
48
}
49
50
func
dbExists(path string) (bool, error) {
51
stat, err := os.Stat(path)
Callers
3
config_import.go
File · 0.85
quickSetup
Function · 0.85
config_init.go
File · 0.85
Calls
1
GenerateKey
Function · 0.92
Tested by
no test coverage detected