Searched refs:img_path (Results 1 – 2 of 2) sorted by relevance
12 img_path: Option<PathBuf>, field30 if self.img_path.is_none() { in attach()38 .arg(self.img_path.as_ref().unwrap()) in attach()63 if self.img_path.is_none() { in attach_by_exists()68 self.img_path.as_ref().unwrap().display() in attach_by_exists()77 self.img_path.as_ref().unwrap().to_str().unwrap(), in attach_by_exists()160 img_path: Option<PathBuf>, field168 img_path: None, in new()174 pub fn img_path(mut self, img_path: PathBuf) -> Self { in img_path() method175 self.img_path = Some(abs_path(&img_path)); in img_path()[all …]
90 .img_path(disk_image_path.clone()) in mount_partitioned_image()127 let mut loop_device = LoopDeviceBuilder::new().img_path(disk_img_path).build(); in umount()200 .img_path(disk_image_path.clone()) in create_partitioned_image()265 let mut loop_device = LoopDeviceBuilder::new().img_path(disk_image_path).build()?; in show_loop_device()