MCPcopy
hub / github.com/dnote/dnote / Reload

Function Reload

pkg/dirs/dirs.go:45–47  ·  view source on GitHub ↗

Reload reloads the directory definitions

()

Source from the content-addressed store, hash-verified

43
44// Reload reloads the directory definitions
45func Reload() {
46 initDirs()
47}
48
49func getHomeDir() string {
50 usr, err := user.Current()

Callers 3

TestInit_APIEndpointFunction · 0.92
initFunction · 0.85
testCustomDirsFunction · 0.85

Calls 1

initDirsFunction · 0.70

Tested by 2

TestInit_APIEndpointFunction · 0.74
testCustomDirsFunction · 0.68