Lines Matching defs:new
19 pub static CACHE_ROOT: Lazy<PathBuf> = Lazy::new();
41 std::io::Error::new(
56 std::io::Error::new(
74 std::io::Error::new(
83 static CACHE_ROOT_INIT_ONCE: Once = Once::new();
113 pub fn new(entity: Arc<SchedEntity>, cache_type: CacheDirType) -> Result<Self, ExecutorError> {
150 return Ok(Self::new(entity.clone(), CacheDirType::Build)?.path);
154 return Ok(Self::new(entity.clone(), CacheDirType::Source)?.path);
205 std::io::Error::new(
249 pub fn new(entity: Arc<SchedEntity>) -> Result<Self, ExecutorError> {
250 let dir = CacheDir::new(entity.clone(), CacheDirType::TaskData)?;
262 return TaskLog::new();