Searched refs:create (Results 1 – 9 of 9) sorted by relevance
/DADK/dadk/src/actions/rootfs/ |
H A D | mod.rs | 10 RootFSCommand::Create(param) => disk_img::create(ctx, param.skip_if_exists), in run()
|
H A D | disk_img.rs | 8 pub(super) fn create(ctx: &DADKExecContext, skip_if_exists: bool) -> Result<()> { in create() function 229 let mut file = File::create(disk_image_path)?; in create_raw_img()
|
/DADK/dadk-user/src/utils/ |
H A D | file.rs | 26 let mut file = File::create(path.join(file_name))?; in download_file()
|
H A D | file.rs | 26 let mut file = File::create(path.join(file_name))?; in download_file()
|
/DADK/dadk-user/src/executor/ |
H A D | cache.rs | 69 info!("Cache root dir not exists, create it: {:?}", cache_root); in cache_root_init() 123 result.create()?; in new() 196 pub fn create(&self) -> Result<(), ExecutorError> { 198 info!("Cache dir not exists, create it: {:?}", self.path); in create() 197 pub fn create(&self) -> Result<(), ExecutorError> { create() method
|
H A D | cache.rs | 123 result.create()?; in new() 196 pub fn create(&self) -> Result<(), ExecutorError> { in create() method
|
H A D | target.rs |
|
H A D | source.rs | 98 target_dir.create().map_err(|e| { in prepare() 100 "Failed to create target dir: {}, message: {e:?}", in prepare() 662 let mut outfile = File::create(&outpath).map_err(|e| e.to_string())?; in unzip()
|
H A D | source.rs | 98 target_dir.create().map_err(|e| { in prepare() 662 let mut outfile = File::create(&outpath).map_err(|e| e.to_string())?; in unzip()
|