DataStoreLocations
Anchored relocation coordinator; source histories are never removed.
Import:
import { DataStoreLocations } from '@mnaoumov/obsidian-lib/data-stores/data-store-locations';Signature:
export class DataStoreLocationsConstructor
new DataStoreLocations(params: DataStoreTransportConstructorParams)Creates a coordinator without adapter calls.
Methods
| Method | Returns | Description |
|---|---|---|
| refresh() | Promise<void> | Discovers and finishes pending copies before allowing a writer to switch destinations. Conflicting branches and reordered incomplete chains fail closed until delivery is complete. |
| relocate(location) | Promise<void> | Announces a transition durably at the anchor, then copies and verifies before activation. Retrying the same destination finishes an interrupted copy. |