Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
datagit
command
Command datagit is the reference client (PLAN.md M1.13, §16.3).
|
Command datagit is the reference client (PLAN.md M1.13, §16.3). |
|
datagitd
command
Command datagitd serves DataGit over gRPC (§16, §17.1).
|
Command datagitd serves DataGit over gRPC (§16, §17.1). |
|
gen
|
|
|
internal
|
|
|
adapter
Package adapter isolates every engine-specific decision behind one interface (DESIGN.md §4.3).
|
Package adapter isolates every engine-specific decision behind one interface (DESIGN.md §4.3). |
|
adapter/mysql
Package mysql implements the DataGit engine adapter for MySQL 8.4 (DESIGN.md §4.3, M5 / v1.1).
|
Package mysql implements the DataGit engine adapter for MySQL 8.4 (DESIGN.md §4.3, M5 / v1.1). |
|
adapter/postgres
Package postgres implements the DataGit engine adapter for PostgreSQL (DESIGN.md §4.3).
|
Package postgres implements the DataGit engine adapter for PostgreSQL (DESIGN.md §4.3). |
|
catalog
Package catalog owns DataGit's control tables and the generation of per-table version sidecars (DESIGN.md §5.2, §5.3).
|
Package catalog owns DataGit's control tables and the generation of per-table version sidecars (DESIGN.md §5.2, §5.3). |
|
connect
Package connect chooses an engine from a DSN and returns a matched pool and adapter.
|
Package connect chooses an engine from a DSN and returns a matched pool and adapter. |
|
core
Package core holds the value and change types shared by the reference model (internal/model) and the real implementation (internal/engine, internal/hash).
|
Package core holds the value and change types shared by the reference model (internal/model) and the real implementation (internal/engine, internal/hash). |
|
crypto
Package crypto implements crypto-shredding: the default erasure path that satisfies a right-to-erasure request without breaking the audit trail (DESIGN.md §13.3).
|
Package crypto implements crypto-shredding: the default erasure path that satisfies a right-to-erasure request without breaking the audit trail (DESIGN.md §13.3). |
|
db
Package db is the connection boundary: everything above it is engine-neutral.
|
Package db is the connection boundary: everything above it is engine-neutral. |
|
engine
Package engine is the real implementation of DataGit's version model: the one whose data structures mirror what the SQL schema in DESIGN.md §5.2 actually stores, and whose algorithms are the ones the database will run.
|
Package engine is the real implementation of DataGit's version model: the one whose data structures mirror what the SQL schema in DESIGN.md §5.2 actually stores, and whose algorithms are the ones the database will run. |
|
hash
Package hash implements DataGit's commit hash chain (DESIGN.md §12.1).
|
Package hash implements DataGit's commit hash chain (DESIGN.md §12.1). |
|
model
Package model is the reference implementation of DataGit's version model.
|
Package model is the reference implementation of DataGit's version model. |
|
my
Package my adapts database/sql and go-sql-driver to the adapter.Tx interface, translating PostgreSQL-flavoured SQL on the way through (§4.3).
|
Package my adapts database/sql and go-sql-driver to the adapter.Tx interface, translating PostgreSQL-flavoured SQL on the way through (§4.3). |
|
obs
Package obs is DataGit's observability surface (§17.3).
|
Package obs is DataGit's observability surface (§17.3). |
|
pg
Package pg adapts pgx to the narrow adapter.Tx interface.
|
Package pg adapts pgx to the narrow adapter.Tx interface. |
|
schemaeng
Package schemaeng versions, diffs, and migrates table schemas (DESIGN.md §10).
|
Package schemaeng versions, diffs, and migrates table schemas (DESIGN.md §10). |
|
server
Package server exposes DataGit over gRPC (DESIGN.md §16).
|
Package server exposes DataGit over gRPC (DESIGN.md §16). |
|
store
Package store is DataGit's M1 foundation: repository and table tracking, the atomic commit write path, time travel, history, blame, and diff, against a real database.
|
Package store is DataGit's M1 foundation: repository and table tracking, the atomic commit write path, time travel, history, blame, and diff, against a real database. |
|
spikes
|
|
|
s1_resolution
command
S1: branch-resolution performance and correctness in PostgreSQL.
|
S1: branch-resolution performance and correctness in PostgreSQL. |
|
s3_commit
command
S3: atomic commit latency and write amplification (PLAN.md Phase 0).
|
S3: atomic commit latency and write amplification (PLAN.md Phase 0). |
|
s4_migration
command
S4: does the journalled migration state machine survive crashes without transactional DDL? (PLAN.md Phase 0, gates M6.) THROWAWAY spike code — not part of the shipped tree.
|
S4: does the journalled migration state machine survive crashes without transactional DDL? (PLAN.md Phase 0, gates M6.) THROWAWAY spike code — not part of the shipped tree. |
|
s5_storage
command
S5: storage growth and pruning (PLAN.md Phase 0).
|
S5: storage growth and pruning (PLAN.md Phase 0). |
Click to show internal directories.
Click to hide internal directories.