windows_metadata/reader/mod.rs
1use super::*;
2
3mod blob;
4mod codes;
5mod file;
6mod item_index;
7mod row;
8mod tables;
9mod type_category;
10mod type_index;
11
12pub use blob::*;
13pub use codes::*;
14pub use file::*;
15pub use item_index::*;
16pub use row::*;
17pub use tables::*;
18pub use type_category::*;
19pub use type_index::*;
20
21fn trim_tick(name: &str) -> &str {
22 if name.as_bytes().iter().rev().nth(1) == Some(&b'`') {
23 &name[..name.len() - 2]
24 } else {
25 name
26 }
27}