denotesrv/internal/disk
Levi Neely 6dd103482b Fix n/ directory listing when note count exceeds 9P read buffer
readDir was slicing the serialized dir entry bytes at the raw byte
boundary, splitting entries mid-stream. The plan9 client's dirUnpack
stops on a truncated entry, so 9pfuse received nothing usable.

Fix readDir to return only complete entries per read, as required by
the 9P spec. Also warn-and-skip on ExtractMetadata errors in LoadAll
instead of aborting the entire directory walk.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 21:34:15 +01:00
..
backlinks.go Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00
loader.go Fix n/ directory listing when note count exceeds 9P read buffer 2026-03-21 21:34:15 +01:00