fix(filemeta): inline_data key

This commit is contained in:
weisd
2025-06-11 17:53:53 +08:00
parent bdb7e8d321
commit 2cdd6ad192
4 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -1855,12 +1855,12 @@ impl MetaObject {
pub fn inlinedata(&self) -> bool {
self.meta_sys
.contains_key(format!("{}inline", RESERVED_METADATA_PREFIX_LOWER).as_str())
.contains_key(format!("{}inline-data", RESERVED_METADATA_PREFIX_LOWER).as_str())
}
pub fn reset_inline_data(&mut self) {
self.meta_sys
.remove(format!("{}inline", RESERVED_METADATA_PREFIX_LOWER).as_str());
.remove(format!("{}inline-data", RESERVED_METADATA_PREFIX_LOWER).as_str());
}
/// Remove restore headers