pub fn read_path_content(
partition: &[u8],
sb: &Superblock,
path: &str,
) -> Result<Option<Vec<u8>>, UfsError>Expand description
Resolve an absolute path to its file content: read_by_path then
read_file. Returns Ok(None) when the path does not resolve (like
read_by_path); Ok(Some(bytes)) with the file’s di_size bytes otherwise.
§Errors
Propagates UfsError from path resolution or content assembly.