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