Bandwidth cap (M4): - transport rate-limited blob up/download (golang.org/x/time/rate); config.toml [transfer].max_kbps; daemon applies it per mount; [secrets].extra_patterns too M3 ponytail review fixes (data-loss + resilience): - C1: conflict-copy names use nanoseconds + collision probe — second-granularity timestamps could collide and os.Rename would overwrite a copy (lost edit) - C3: pull resilience — a filesystem clash (file<->dir) skips that path instead of aborting the whole batch; network errors still abort+retry. PullResult.Skipped - C2(partial): manifest skips .devbox-tmp-* (atomic-write temp files never sync). Kept conflict-copy propagation (design + Dropbox: losing edit survives device death) - dedup: manifest.SameContent shared (was duplicated in pull) - tests: file<->dir clash skips one path not the mount; rate-limit throttles
28 lines
885 B
Modula-2
28 lines
885 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
|
|
golang.org/x/time v0.15.0
|
|
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
|
|
)
|