MCPcopy Create free account
hub / github.com/astercloud/aster / DatabaseFile

Function DatabaseFile

pkg/config/paths.go:144–146  ·  view source on GitHub ↗

DatabaseFile returns the path to the SQLite database file.

()

Source from the content-addressed store, hash-verified

142
143// DatabaseFile returns the path to the SQLite database file.
144func DatabaseFile() string {
145 return filepath.Join(DataDir(), "aster.db")
146}
147
148// EnsureDir creates a directory if it doesn't exist.
149func EnsureDir(path string) error {

Callers 3

runSessionFunction · 0.92
TestDatabaseFileFunction · 0.85

Calls 2

DataDirFunction · 0.85
JoinMethod · 0.45

Tested by 1

TestDatabaseFileFunction · 0.68