Skip to main content

btrfs_cli/rescue/
zero_log.rs

1use crate::{Format, Runnable};
2use anyhow::Result;
3use clap::Parser;
4use std::path::PathBuf;
5
6/// Clear the tree log (usable if it's corrupted and prevents mount)
7#[derive(Parser, Debug)]
8pub struct RescueZeroLogCommand {
9    /// Path to the btrfs device
10    device: PathBuf,
11}
12
13impl Runnable for RescueZeroLogCommand {
14    fn run(&self, _format: Format, _dry_run: bool) -> Result<()> {
15        todo!("implement rescue zero-log")
16    }
17}