// 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) }