pub fn parse_dir_stats(data: &[u8]) -> Vec<DirEntry>Expand description
Parse packed 9P stat entries from a directory read() response.
Each stat entry is: [2-byte LE size][stat bytes]. We extract qid
(type/version/path), length, mtime, and name for DirEntry.
This is the format the model service’s SyntheticTree emits for directory
reads. The registry worktree service uses a different per-entry format
(name_len+name+is_dir+size) and parses it locally — see
parse_worktree_dir_entries in remote_registry_mount.rs.