MCPcopy Index your code
hub / github.com/encounter/objdiff / parse_split_meta

Function parse_split_meta

objdiff-core/src/obj/read.rs:1125–1131  ·  view source on GitHub ↗
(obj_file: &object::File)

Source from the content-addressed store, hash-verified

1123}
1124
1125fn parse_split_meta(obj_file: &object::File) -> Result<Option<SplitMeta>> {
1126 Ok(if let Some(section) = obj_file.section_by_name(SPLITMETA_SECTION) {
1127 Some(SplitMeta::from_section(section, obj_file.endianness(), obj_file.is_64())?)
1128 } else {
1129 None
1130 })
1131}
1132
1133#[cfg(test)]
1134mod test {

Callers 1

parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected