Page MenuHomePhorge

globals.rs
No OneTemporary

Size
418 B
Referenced Files
None
Subscribers
None

globals.rs

use global_placeholders::init;
use macros_rs::crashln;
pub fn init() {
match home::home_dir() {
Some(path) => {
let logs = format!("{}/.pmc/logs/{{}}", path.display());
let dump = format!("{}/.pmc/dump.toml", path.display());
init!("pmc.logs", logs);
init!("pmc.dump", dump);
}
None => crashln!("Impossible to get your home dir."),
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 1, 1:37 PM (1 d, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
494765
Default Alt Text
globals.rs (418 B)

Event Timeline