Files
Anya Tokugawa d5d21b7841
Build and publish container images / images (push) Successful in 9m34s
Release container images / release (push) Successful in 36s
Refactor architecture into eight components and consolidate reliability work
Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts.

Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation.

Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
2026-11-01 15:23:31 +09:00

35 lines
1.2 KiB
Go

// Package documentstore preserves the original Document Store entry points.
// Payload storage and scratch materialization are implemented by Geduldh.
// New consumers should use pageswiki/internal/geduldh directly.
package documentstore
import "pageswiki/internal/geduldh"
// Aliases preserve interface/type identity, method sets and error matching.
// This package must not acquire its own persistence or validation logic.
type (
Info = geduldh.Info
Reader = geduldh.Reader
Store = geduldh.Store
Local = geduldh.Local
Source = geduldh.Source
MaterializeOptions = geduldh.MaterializeOptions
Materializer = geduldh.Materializer
Lease = geduldh.Lease
)
var (
ErrInvalidHash = geduldh.ErrInvalidHash
ErrHashMismatch = geduldh.ErrHashMismatch
ErrSizeMismatch = geduldh.ErrSizeMismatch
ErrMaterializeLimit = geduldh.ErrMaterializeLimit
)
func Key(hash string) (string, error) { return geduldh.Key(hash) }
func NewLocal(root string) (*Local, error) { return geduldh.NewLocal(root) }
func NewMaterializer(source Source, options MaterializeOptions) (*Materializer, error) {
return geduldh.NewMaterializer(source, options)
}