Searched refs:RootFSCommand (Results 1 – 4 of 4) sorted by relevance
/DADK/dadk/src/actions/rootfs/ |
H A D | mod.rs | 1 use crate::{console::rootfs::RootFSCommand, context::DADKExecContext}; 8 pub(super) fn run(ctx: &DADKExecContext, rootfs_cmd: &RootFSCommand) -> Result<()> { in run() 10 RootFSCommand::Create(param) => disk_img::create(ctx, param.skip_if_exists), in run() 11 RootFSCommand::Delete => disk_img::delete(ctx, false), in run() 12 RootFSCommand::DeleteSysroot => sysroot::delete(ctx), in run() 13 RootFSCommand::Mount => disk_img::mount(ctx), in run() 14 RootFSCommand::Umount => disk_img::umount(ctx), in run() 15 RootFSCommand::CheckDiskImageExists => disk_img::check_disk_image_exists(ctx), in run() 16 RootFSCommand::ShowMountPoint => disk_img::show_mount_point(ctx), in run() 17 RootFSCommand::ShowLoopDevice => disk_img::show_loop_device(ctx), in run()
|
/DADK/dadk/src/console/ |
H A D | mod.rs | 2 use rootfs::RootFSCommand; 37 Rootfs(RootFSCommand),
|
H A D | tests.rs | 31 Action::Rootfs(RootFSCommand::Create(CreateCommandParam { in test_command_line_args_rootfs_subcommand() 39 Action::Rootfs(RootFSCommand::Create(CreateCommandParam { in test_command_line_args_rootfs_subcommand() 50 Action::Rootfs(RootFSCommand::ShowMountPoint) in test_show_mountpoint()
|
H A D | rootfs.rs | 5 pub enum RootFSCommand { enum
|