- internal/hub/meta: pure-Go modernc.org/sqlite (no CGO -> trivial cross-compile) - schema: devices, tokens, shares, access(writable bit), snapshots, chunks(refcount) - AddSnapshot in a tx: insert + bump distinct-chunk refcounts + advance share head - single access knob = per-(device,share) writable; tokens redeem-once + expiry - tests: device lifecycle, token redeem-once/expiry, writable default+override, shares/snapshots/refcounts (dedup within + across snapshots)
27 lines
858 B
Modula-2
27 lines
858 B
Modula-2
module git.shoemoney.ai/shoemoney/devbox
|
|
|
|
go 1.26
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.6.0
|
|
github.com/fsnotify/fsnotify v1.10.1
|
|
github.com/jotfs/fastcdc-go v0.2.0
|
|
github.com/spf13/cobra v1.10.2
|
|
github.com/zeebo/blake3 v0.2.4
|
|
modernc.org/sqlite v1.53.0
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.0.12 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/spf13/pflag v1.0.9 // indirect
|
|
golang.org/x/sys v0.44.0 // indirect
|
|
modernc.org/libc v1.73.4 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|