refactor(home)!: moves home to PDA_HOME, out of PDA_HOME/stores/

This commit is contained in:
Lewis Wynne 2026-02-11 21:51:58 +00:00
parent 11276fcf25
commit b6248e409f
3 changed files with 8 additions and 9 deletions

View file

@ -34,9 +34,8 @@ var gitCmd = &cobra.Command{
Short: "Run any arbitrary command. Use with caution.",
Long: `Run any arbitrary command. Use with caution.
The Git repository lives directly in the stores directory
("PDA_DATA/pda/stores"). Store files (*.ndjson) are tracked
by Git as-is.
The Git repository lives directly in the data directory
("PDA_DATA"). Store files (*.ndjson) are tracked by Git as-is.
If you manually modify files without using the built-in
commands, you may desync your repository.

View file

@ -190,7 +190,7 @@ func (s *Store) path() (string, error) {
}
return override, nil
}
scope := gap.NewVendorScope(gap.User, "pda", "stores")
scope := gap.NewScope(gap.User, "pda")
dir, err := scope.DataPath("")
if err != nil {
return "", err