diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-06 02:46:56 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-06 02:46:56 +0200 |
| commit | 15c52d91f2efa73f3d1b6b06afed840fada29d8e (patch) | |
| tree | 224cdb811990352ceed5e82cb3c0d9146ad6510e /packages/meshbay-node/src/meshbay_node/roots.py | |
| parent | 9372ea95e4bd4da36c22438afb58f15717af198c (diff) | |
| download | meshbay-15c52d91f2efa73f3d1b6b06afed840fada29d8e.tar.gz | |
fix(node): prevent watchdog from overwriting index entries with duplicate content
The real-time watchdog path lacked the duplicate-content guard that
reconciliation already had. When a file with identical content appeared
(e.g. browser download appending " (2)"), add_entry overwrote the
original's index entry — making it vanish from the file list despite
still being on disk. Now check get_entry before adding, matching the
reconciliation logic.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/roots.py')
0 files changed, 0 insertions, 0 deletions