Home
last modified time | relevance | path

Searched refs:File (Results 1 – 3 of 3) sorted by relevance

/Held/src/utils/
H A Dfile.rs2 fs::{self, File},
14 file: File,
16 bak: Option<File>,
23 let file = File::options() in new()
51 let mut bak = File::options() in do_bak()
109 pub fn get_heldbak(&mut self) -> Option<File> { in get_heldbak() argument
H A Dlog_util.rs1 use std::{fs::File, io};
20 File::create("held.log")?, in init()
/Held/src/
H A Dmain.rs1 use std::{fs::File, io};
22 let file = File::open("config.yaml"); in main()
26 setting = serde_yaml::from_reader::<File, DeserializeAppOption>(file?).unwrap_or_default(); in main()