docs(store): clarify workspace database comment

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-03 09:06:29 +00:00
parent 28b917cad6
commit 13db0508e0

View file

@ -90,7 +90,7 @@ func (workspace *Workspace) ensureReady(operation string) error {
}
// Usage example: `workspace, err := storeInstance.NewWorkspace("scroll-session-2026-03-30")`
// The workspace file lives at `.core/state/scroll-session-2026-03-30.duckdb`
// The workspace database file lives at `.core/state/scroll-session-2026-03-30.duckdb`
// and is removed when the workspace is committed or discarded.
func (storeInstance *Store) NewWorkspace(name string) (*Workspace, error) {
if err := storeInstance.ensureReady("store.NewWorkspace"); err != nil {