()
| 84 | } |
| 85 | |
| 86 | func (api ProviderAPI) dbPath() string { |
| 87 | if api.DBPath != "" { |
| 88 | return api.DBPath |
| 89 | } |
| 90 | return appstate.DefaultPath() |
| 91 | } |
| 92 | |
| 93 | func (api ProviderAPI) store() appstate.Store { |
| 94 | return appstate.New(api.dbPath()) |
no test coverage detected