internal/

directory
v0.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: Apache-2.0

Directories

Path Synopsis
Package capture implements the foreign-connection WAL capture engine: the read-lock dance, incremental frame capture, checkpoint takeover, and rebase-on-divergence.
Package capture implements the foreign-connection WAL capture engine: the read-lock dance, incremental frame capture, checkpoint takeover, and rebase-on-divergence.
Eventing: Milestone 4 Task 4a.
Eventing: Milestone 4 Task 4a.
Package dbfile hands out read-only descriptors on SQLite database files that are opened at most once per process and, deliberately, NEVER closed.
Package dbfile hands out read-only descriptors on SQLite database files that are opened at most once per process and, deliberately, NEVER closed.
Package ltxio encodes SQLite databases as full-snapshot LTX files and materializes them back, wrapping github.com/superfly/ltx behind a stable interface (the ltx Go API carries no stability promise; the format spec is the contract).
Package ltxio encodes SQLite databases as full-snapshot LTX files and materializes them back, wrapping github.com/superfly/ltx behind a stable interface (the ltx Go API carries no stability promise; the format spec is the contract).
Package mcp implements the Model Context Protocol over stdio so an agent can drive offshoot's branching directly: fork before risky work, checkpoint on success, roll back on failure.
Package mcp implements the Model Context Protocol over stdio so an agent can drive offshoot's branching directly: fork before risky work, checkpoint on success, roll back on failure.
Package metrics is offshoot's hand-rolled, zero-dependency Prometheus text-exposition-format metrics registry.
Package metrics is offshoot's hand-rolled, zero-dependency Prometheus text-exposition-format metrics registry.
ops
Package ops implements offshoot's branch lifecycle operations over a store.Backend: create, checkout, checkpoint, fork (copy-on-write shared by default), rollback, promote, compact, destroy, leases, TTL/reap, and reachability GC.
Package ops implements offshoot's branch lifecycle operations over a store.Backend: create, checkout, checkpoint, fork (copy-on-write shared by default), rollback, promote, compact, destroy, leases, TTL/reap, and reachability GC.
reflink
Package reflink copies a file using a filesystem-level clone (copy-on-write reflink) when the platform and filesystem support it, and falls back to a plain byte copy otherwise.
Package reflink copies a file using a filesystem-level clone (copy-on-write reflink) when the platform and filesystem support it, and falls back to a plain byte copy otherwise.
Package replay reconstructs a SQLite database from a base snapshot plus captured WAL transactions.
Package replay reconstructs a SQLite database from a base snapshot plus captured WAL transactions.
Package session binds a leased branch to a live checkout, a shadow replica kept in lockstep by the WAL capture engine, and the lease that authorizes the daemon's writes.
Package session binds a leased branch to a live checkout, a shadow replica kept in lockstep by the WAL capture engine, and the lease that authorizes the daemon's writes.
Package store implements offshoot's object-storage layout: a minimal conditional-write Backend interface, the local-directory implementation, and the typed manifest/ref schema on top.
Package store implements offshoot's object-storage layout: a minimal conditional-write Backend interface, the local-directory implementation, and the typed manifest/ref schema on top.
storetest
Package storetest provides the shared Backend contract suite and an in-process S3 subset server, so every backend is verified against exactly the same expectations.
Package storetest provides the shared Backend contract suite and an in-process S3 subset server, so every backend is verified against exactly the same expectations.
Package testutil holds cross-package test helpers.
Package testutil holds cross-package test helpers.
Package wal parses the SQLite write-ahead-log binary format.
Package wal parses the SQLite write-ahead-log binary format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL