Directories
¶
| Path | Synopsis |
|---|---|
|
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). |
|
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). |
|
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). |
|
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). |
|
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. |
|
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). |
|
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). |
|
Package db is the connection boundary: everything above it is engine-neutral.
|
Package db is the connection boundary: everything above it is engine-neutral. |
|
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. |
|
Package hash implements DataGit's commit hash chain (DESIGN.md §12.1).
|
Package hash implements DataGit's commit hash chain (DESIGN.md §12.1). |
|
Package model is the reference implementation of DataGit's version model.
|
Package model is the reference implementation of DataGit's version model. |
|
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). |
|
Package obs is DataGit's observability surface (§17.3).
|
Package obs is DataGit's observability surface (§17.3). |
|
Package pg adapts pgx to the narrow adapter.Tx interface.
|
Package pg adapts pgx to the narrow adapter.Tx interface. |
|
Package schemaeng versions, diffs, and migrates table schemas (DESIGN.md §10).
|
Package schemaeng versions, diffs, and migrates table schemas (DESIGN.md §10). |
|
Package server exposes DataGit over gRPC (DESIGN.md §16).
|
Package server exposes DataGit over gRPC (DESIGN.md §16). |
|
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. |
Click to show internal directories.
Click to hide internal directories.