aboutsummaryrefslogtreecommitdiffstats
path: root/gitignore_test.go
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2026-07-07 09:20:10 +0200
committerBernhard Guillon <Bernhard.Guillon@begu.org>2026-07-07 09:20:10 +0200
commit0642028735adcb2d431e5e146ca87accb4954900 (patch)
tree882c17b457539239e36f6a27b803e391d66cba6e /gitignore_test.go
parenta0d157d45c5b4c63afc2cfc82bde3ae3207bc455 (diff)
downloadsourcewatch-0642028735adcb2d431e5e146ca87accb4954900.tar.gz
sourcewatch-0642028735adcb2d431e5e146ca87accb4954900.zip
Add Windows-assisted initial sync for faster startup
New protocol: - Windows binary scans directory (fast native NTFS) and sends manifest - Container receives manifest, compares with local /data state - Only copies files that differ (size, modtime, mode, symlink) Protocol messages: - manifest: sends full file metadata from Windows - manifest_done: signals manifest transfer complete - event_create/write/remove: file change events Flow: 1. Container connects to socket 2. Windows binary sends manifest (file metadata) 3. Container scans /data (fast local volume) 4. Container copies only changed files from /host (9P bind mount) 5. Container enters event-waiting loop This dramatically speeds up initial sync by avoiding slow 9P scans.
Diffstat (limited to 'gitignore_test.go')
0 files changed, 0 insertions, 0 deletions