vaultik/internal/database
sneak 417b25a5f5 Add custom types, version command, and restore --verify flag
- Add internal/types package with type-safe wrappers for IDs, hashes,
  paths, and credentials (FileID, BlobID, ChunkHash, etc.)
- Implement driver.Valuer and sql.Scanner for UUID-based types
- Add `vaultik version` command showing version, commit, go version
- Add `--verify` flag to restore command that checksums all restored
  files against expected chunk hashes with progress bar
- Remove fetch.go (dead code, functionality in restore)
- Clean up TODO.md, remove completed items
- Update all database and snapshot code to use new custom types
2026-01-14 17:11:52 -08:00
..
schema Refactor blob storage to use UUID primary keys and implement streaming chunking 2025-07-22 07:43:39 +02:00
blob_chunks_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
blob_chunks.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
blobs_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
blobs.go Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
cascade_debug_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
chunk_files_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
chunk_files.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
chunks_ext.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
chunks_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
chunks.go Refactor: Move Vaultik struct and methods to internal/vaultik package 2025-07-26 14:47:26 +02:00
database_test.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
database.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
errors.go Implement local SQLite index database with repositories 2025-07-20 10:26:15 +02:00
file_chunks_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
file_chunks.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
files_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
files.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
models.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
module.go Refactor blob storage to use UUID primary keys and implement streaming chunking 2025-07-22 07:43:39 +02:00
repositories_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
repositories.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
repository_comprehensive_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
repository_debug_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
repository_edge_cases_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
schema.sql Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
snapshots_test.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
snapshots.go Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
uploads.go Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00