Versions in this module Expand all Collapse all v1 v1.5.2 Jun 10, 2025 Changes in this version + const AddOp + const InternalErr + const InvalidPatchErr + const InvalidTransactionErr + const NotFoundErr + const PolicyNotSupportedErr + const RemoveOp + const ReplaceOp + const TriggersNotSupportedErr + const WriteConflictErr + const WritesNotSupportedErr + var WriteParams = v1.WriteParams + func IsIndexingNotSupported(err error) bool + func IsInvalidPatch(err error) bool + func IsInvalidTransaction(err error) bool + func IsNotFound(err error) bool + func IsWriteConflictError(err error) bool + func MakeDir(ctx context.Context, store Store, txn Transaction, path Path) error + func NonEmpty(ctx context.Context, store Store, txn Transaction) func([]string) (bool, error) + func ReadOne(ctx context.Context, store Store, path Path) (any, error) + func Txn(ctx context.Context, store Store, params TransactionParams, ...) error + func WriteOne(ctx context.Context, store Store, op PatchOp, path Path, value any) error + type Context = v1.Context + func NewContext() *Context + type DataEvent = v1.DataEvent + type Error = v1.Error + type Iterator = v1.Iterator + type MakeDirer = v1.MakeDirer + type PatchOp = v1.PatchOp + type Path = v1.Path + func MustParsePath(s string) Path + func NewPathForRef(ref ast.Ref) (path Path, err error) + func ParsePath(str string) (path Path, ok bool) + func ParsePathEscaped(str string) (path Path, ok bool) + type Policy = v1.Policy + type PolicyEvent = v1.PolicyEvent + type PolicyNotSupported = v1.PolicyNotSupported + type Store = v1.Store + type Transaction = v1.Transaction + func NewTransactionOrDie(ctx context.Context, store Store, params ...TransactionParams) Transaction + type TransactionParams = v1.TransactionParams + type Trigger = v1.Trigger + type TriggerConfig = v1.TriggerConfig + type TriggerEvent = v1.TriggerEvent + type TriggerHandle = v1.TriggerHandle + type TriggersNotSupported = v1.TriggersNotSupported + type Update = v1.Update + type WritesNotSupported = v1.WritesNotSupported