MCPcopy Index your code
hub / github.com/nikivdev/go / windowFocusDatabasePath

Function windowFocusDatabasePath

cli/flow/main.go:852–857  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

850}
851
852func windowFocusDatabasePath() (string, error) {
853 if override, ok := lookupNonEmptyEnv(windowFocusDBEnv); ok {
854 return filepath.Clean(override), nil
855 }
856 return defaultWindowFocusDBPath, nil
857}
858
859func fetchLatestWindowFocusEntry() (*windowFocusEntry, error) {
860 dbPath, err := windowFocusDatabasePath()

Callers 1

Calls 1

lookupNonEmptyEnvFunction · 0.85

Tested by

no test coverage detected