/DADK/dadk-user/src/executor/ |
H A D | mod.rs | 16 executor::cache::CacheDir, 45 build_dir: CacheDir, 46 /// 如果任务需要源文件缓存,则此字段为 Some(CacheDir),否则为 None(使用本地源文件路径) 47 source_dir: Option<CacheDir>, 73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new() 76 let source_dir = if CacheDir::need_source_cache(&entity) { in new() 77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new() 682 let build_dir = CacheDir::build_dir(entity.clone())?; 684 let build_dir_key = CacheDir::build_dir_env_key(&entity)?; 691 if CacheDir [all...] |
H A D | mod.rs | 16 executor::cache::CacheDir, 45 build_dir: CacheDir, 46 /// 如果任务需要源文件缓存,则此字段为 Some(CacheDir),否则为 None(使用本地源文件路径) 47 source_dir: Option<CacheDir>, 73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new() 76 let source_dir = if CacheDir::need_source_cache(&entity) { in new() 77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new() 682 let build_dir = CacheDir::build_dir(entity.clone())?; 684 let build_dir_key = CacheDir::build_dir_env_key(&entity)?; 691 if CacheDir [all...] |
H A D | mod.rs | 16 executor::cache::CacheDir, 45 build_dir: CacheDir, 46 /// 如果任务需要源文件缓存,则此字段为 Some(CacheDir),否则为 None(使用本地源文件路径) 47 source_dir: Option<CacheDir>, 73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new() 76 let source_dir = if CacheDir::need_source_cache(&entity) { in new() 77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new() 682 let build_dir = CacheDir::build_dir(entity.clone())?; 684 let build_dir_key = CacheDir::build_dir_env_key(&entity)?; 691 if CacheDir [all...] |
H A D | mod.rs | 16 executor::cache::CacheDir, 45 build_dir: CacheDir, 46 /// 如果任务需要源文件缓存,则此字段为 Some(CacheDir),否则为 None(使用本地源文件路径) 47 source_dir: Option<CacheDir>, 73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new() 76 let source_dir = if CacheDir::need_source_cache(&entity) { in new() 77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new() 682 let build_dir = CacheDir::build_dir(entity.clone())?; in last_modified_time() 684 let build_dir_key = CacheDir::build_dir_env_key(&entity)?; in last_modified_time() 691 if CacheDir in last_modified_time() [all...] |
H A D | mod.rs | 16 executor::cache::CacheDir, 45 build_dir: CacheDir, 46 /// 如果任务需要源文件缓存,则此字段为 Some(CacheDir),否则为 None(使用本地源文件路径) 47 source_dir: Option<CacheDir>, 73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new() 76 let source_dir = if CacheDir::need_source_cache(&entity) { in new() 77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new() 682 let build_dir = CacheDir::build_dir(entity.clone())?; in last_modified_time() 684 let build_dir_key = CacheDir::build_dir_env_key(&entity)?; in last_modified_time() 691 if CacheDir in last_modified_time() [all...] |
H A D | mod.rs | 16 executor::cache::CacheDir, 45 build_dir: CacheDir, 46 /// 如果任务需要源文件缓存,则此字段为 Some(CacheDir),否则为 None(使用本地源文件路径) 47 source_dir: Option<CacheDir>, 73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new() 76 let source_dir = if CacheDir::need_source_cache(&entity) { in new() 77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new() 682 let build_dir = CacheDir::build_dir(entity.clone())?; in last_modified_time() 684 let build_dir_key = CacheDir::build_dir_env_key(&entity)?; in last_modified_time() 691 if CacheDir in last_modified_time() [all...] |
H A D | mod.rs | 16 executor::cache::CacheDir, 45 build_dir: CacheDir, 47 source_dir: Option<CacheDir>, 73 let build_dir = CacheDir::new(entity.clone(), CacheDirType::Build)?; in new() 76 let source_dir = if CacheDir::need_source_cache(&entity) { in new() 77 Some(CacheDir::new(entity.clone(), CacheDirType::Source)?) in new() 682 let build_dir = CacheDir::build_dir(entity.clone())?; in create_global_env_list() 684 let build_dir_key = CacheDir::build_dir_env_key(&entity)?; in create_global_env_list() 691 if CacheDir::need_source_cache(entity) { in create_global_env_list() 692 let source_dir = CacheDir::source_dir(entity.clone())?; in create_global_env_list() [all …]
|
H A D | source.rs | 15 use super::cache::CacheDir; 92 pub fn prepare(&self, target_dir: &CacheDir) -> Result<(), String> { in prepare() 122 fn check_repo(&self, target_dir: &CacheDir) -> Result<bool, String> { in check_repo() 151 fn set_url(&self, target_dir: &CacheDir) -> Result<(), String> { in set_url() 179 fn checkout(&self, target_dir: &CacheDir) -> Result<(), String> { in checkout() 256 pub fn clone_repo(&self, cache_dir: &CacheDir) -> Result<(), String> { in clone_repo() 315 fn set_fetch_config(&self, target_dir: &CacheDir) -> Result<(), String> { in set_fetch_config() 339 fn unshallow(&self, target_dir: &CacheDir) -> Result<(), String> { in unshallow() 368 fn is_shallow(&self, target_dir: &CacheDir) -> Result<bool, String> { in is_shallow() 391 fn fetch_all(&self, target_dir: &CacheDir) in fetch_all() [all...] |
H A D | source.rs | 15 use super::cache::CacheDir; 92 pub fn prepare(&self, target_dir: &CacheDir) -> Result<(), String> { in prepare() 122 fn check_repo(&self, target_dir: &CacheDir) -> Result<bool, String> { in check_repo() 151 fn set_url(&self, target_dir: &CacheDir) -> Result<(), String> { in set_url() 179 fn checkout(&self, target_dir: &CacheDir) -> Result<(), String> { in checkout() 256 pub fn clone_repo(&self, cache_dir: &CacheDir) -> Result<(), String> { in clone_repo() 315 fn set_fetch_config(&self, target_dir: &CacheDir) -> Result<(), String> { in set_fetch_config() 339 fn unshallow(&self, target_dir: &CacheDir) -> Result<(), String> { in unshallow() 368 fn is_shallow(&self, target_dir: &CacheDir) -> Result<bool, String> { in is_shallow() 391 fn fetch_all(&self, target_dir: &CacheDir) -> Result<(), String> { in fetch_all() [all …]
|
H A D | cache.rs | 103 pub struct CacheDir { struct 110 impl CacheDir { implementation 244 dir: CacheDir, 250 let dir = CacheDir::new(entity.clone(), CacheDirType::TaskData)?; in new() 107 cache_typeCacheDir global() argument
|
H A D | cache.rs | 103 pub struct CacheDir { struct 110 impl CacheDir { argument 244 dir: CacheDir, 250 let dir = CacheDir::new(entity.clone(), CacheDirType::TaskData)?; in new()
|
/DADK/dadk-user/src/console/ |
H A D | new_config.rs |
|