Home
last modified time | relevance | path

Searched refs:CacheDirType (Results 1 – 9 of 9) sorted by relevance

/DADK/dadk-user/src/executor/
H A Dcache.rs93 pub enum CacheDirType { enum
107 pub cache_type: CacheDirType,
113 pub fn new(entity: Arc<SchedEntity>, cache_type: CacheDirType) -> Result<Self, ExecutorError> { in new()
128 fn get_path(task: &DADKTask, cache_type: CacheDirType) -> PathBuf { in get_path()
132 CacheDirType::Build => { in get_path()
135 CacheDirType::Source => { in get_path()
138 CacheDirType::TaskData => { in get_path()
150 return Ok(Self::new(entity.clone(), CacheDirType::Build)?.path); in build_dir()
154 return Ok(Self::new(entity.clone(), CacheDirType::Source)?.path); in source_dir()
250 let dir = CacheDir::new(entity.clone(), CacheDirType
[all...]
H A Dcache.rs93 pub enum CacheDirType { enum
107 pub cache_type: CacheDirType,
113 pub fn new(entity: Arc<SchedEntity>, cache_type: CacheDirType) -> Result<Self, ExecutorError> { in new()
128 fn get_path(task: &DADKTask, cache_type: CacheDirType) -> PathBuf { in get_path()
132 CacheDirType::Build => { in get_path()
135 CacheDirType::Source => { in get_path()
138 CacheDirType::TaskData => { in get_path()
150 return Ok(Self::new(entity.clone(), CacheDirType::Build)?.path); in build_dir()
154 return Ok(Self::new(entity.clone(), CacheDirType::Source)?.path); in source_dir()
250 let dir = CacheDir::new(entity.clone(), CacheDirType::TaskData)?; in new()
H A Dmod.rs27 use self::cache::{CacheDirType, TaskDataDir};
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new()
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new()
H A Dmod.rs27 use self::cache::{CacheDirType, TaskDataDir};
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new()
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new()
H A Dmod.rs27 use self::cache::{CacheDirType, TaskDataDir};
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new()
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new()
H A Dmod.rs27 use self::cache::{CacheDirType, TaskDataDir};
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new()
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new()
H A Dmod.rs27 use self::cache::{CacheDirType, TaskDataDir};
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new()
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new()
H A Dmod.rs27 use self::cache::{CacheDirType, TaskDataDir};
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new()
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new()
H A Dmod.rs27 use self::cache::{CacheDirType, TaskDataDir};
73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new()
77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new()