Lines Matching refs:PathBuf
49 path::PathBuf,
66 config_dir: PathBuf,
68 config_files: Vec<PathBuf>,
72 pub config_file: Option<PathBuf>,
126 pub fn new(config_dir: PathBuf) -> Self {
141 /// * `Ok(Vec<(PathBuf, DADKTask)>)` - 任务列表(配置文件路径, 任务)
143 pub fn parse(&mut self) -> Result<Vec<(PathBuf, DADKTask)>> {
146 let r: Result<Vec<(PathBuf, DADKTask)>> = self.gen_tasks();
157 let mut dir_queue: Vec<PathBuf> = Vec::new();
169 let path: PathBuf = entry.path();
198 fn gen_tasks(&self) -> Result<Vec<(PathBuf, DADKTask)>> {
219 pub(super) fn parse_config_file(&self, config_file: &PathBuf) -> Result<DADKTask> {
234 pub fn parse_toml_file(config_file: &PathBuf) -> Result<DADKTask> {