mirror of
https://github.com/YGGverse/titanit.git
synced 2026-03-31 17:15:30 +00:00
add comments
This commit is contained in:
parent
753d8bd7c9
commit
707f5727f6
1 changed files with 4 additions and 0 deletions
|
|
@ -144,6 +144,8 @@ impl Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Tools
|
||||||
|
|
||||||
fn meta_path(path: &str) -> String {
|
fn meta_path(path: &str) -> String {
|
||||||
format!("{}{META_SUFFIX}", path)
|
format!("{}{META_SUFFIX}", path)
|
||||||
}
|
}
|
||||||
|
|
@ -153,3 +155,5 @@ fn read_meta(path: &str) -> Result<String> {
|
||||||
File::open(meta_path(path))?.read_to_string(&mut buffer)?;
|
File::open(meta_path(path))?.read_to_string(&mut buffer)?;
|
||||||
Ok(buffer)
|
Ok(buffer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// * @TODO move `meta` feature to separated struct impl on complete
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue