Home
last modified time | relevance | path

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

/DADK/dadk/src/actions/rootfs/
H A Dmod.rs10 RootFSCommand::Create(param) => disk_img::create(ctx, param.skip_if_exists), in run()
H A Ddisk_img.rs8 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 Dfile.rs26 let mut file = File::create(path.join(file_name))?; in download_file()
H A Dfile.rs26 let mut file = File::create(path.join(file_name))?; in download_file()
/DADK/dadk-user/src/executor/
H A Dcache.rs69 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 Dcache.rs123 result.create()?; in new()
196 pub fn create(&self) -> Result<(), ExecutorError> { in create() method
H A Dtarget.rs
H A Dsource.rs98 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 Dsource.rs98 target_dir.create().map_err(|e| { in prepare()
662 let mut outfile = File::create(&outpath).map_err(|e| e.to_string())?; in unzip()