Skip to main content

btrfs_cli/inspect/
map_swapfile.rs

1use crate::{Format, Runnable};
2use anyhow::Result;
3use clap::Parser;
4use std::path::PathBuf;
5
6/// Print physical extents of a file suitable for swap
7#[derive(Parser, Debug)]
8pub struct MapSwapfileCommand {
9    /// Path to a file on the btrfs filesystem
10    path: PathBuf,
11}
12
13impl Runnable for MapSwapfileCommand {
14    fn run(&self, _format: Format, _dry_run: bool) -> Result<()> {
15        todo!("implement map-swapfile")
16    }
17}