Home
last modified time | relevance | path

Searched refs:cache_root (Results 1 – 2 of 2) sorted by relevance

/DADK/dadk-user/src/executor/
H A Dcache.rs27 let cache_root: String; in cache_root_init() localVariable
32 cache_root = env.unwrap(); in cache_root_init()
50 cache_root = format!("{}/dadk_cache", cwd); in cache_root_init()
62 cache_root = x.to_string(); in cache_root_init()
65 let cache_root = PathBuf::from(cache_root); in cache_root_init() localVariable
68 if !cache_root.exists() { in cache_root_init()
69 info!("Cache root dir not exists, create it: {:?}", cache_root); in cache_root_init()
70 std::fs::create_dir_all(&cache_root).map_err(|e| ExecutorError::IoError(e.to_string()))?; in cache_root_init()
71 } else if !cache_root in cache_root_init()
129 let cache_root = CACHE_ROOT.get(); get_path() localVariable
[all...]
H A Dcache.rs27 let cache_root: String; in cache_root_init() localVariable
32 cache_root = env.unwrap(); in cache_root_init()
50 cache_root = format!("{}/dadk_cache", cwd); in cache_root_init()
62 cache_root = x.to_string(); in cache_root_init()
65 let cache_root = PathBuf::from(cache_root); in cache_root_init() localVariable
68 if !cache_root.exists() { in cache_root_init()
69 info!("Cache root dir not exists, create it: {:?}", cache_root); in cache_root_init()
70 std::fs::create_dir_all(&cache_root).map_err(|e| ExecutorError::IoError(e.to_string()))?; in cache_root_init()
71 } else if !cache_root.is_dir() { in cache_root_init()
76 format!("Cache root dir is not a directory: {:?}", cache_root), in cache_root_init()
[all …]