pub fn parse_extents<R: Read + Seek>(
inode: &Inode,
block_size: u64,
reader: &mut R,
) -> Result<Vec<(u32, u32)>, ReadError>Expand description
Parse the extent tree from an inode’s block field.
Returns a list of (physical_start, physical_end) block ranges covering
the file’s data. Supports depth 0 (inline leaves) and depth 1 (one level
of index nodes).