MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / Unrecord

Class Unrecord

atomic-cli/src/commands/unrecord.rs:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69#[derive(Parser, Debug, Default)]
70#[command(name = "unrecord")]
71pub struct Unrecord {
72 /// Hash or prefix of the change to unrecord.
73 ///
74 /// If not specified, the most recent change on the current view
75 /// is unrecorded. Provide a hash prefix to unrecord a specific change.
76 #[arg(value_name = "CHANGE")]
77 pub change: Option<String>,
78
79 /// Preview what would be unrecorded without doing it.
80 #[arg(short = 'n', long = "dry-run")]
81 pub dry_run: bool,
82}
83
84impl Command for Unrecord {
85 fn run(&self) -> CliResult<()> {

Callers 5

unrecordMethod · 0.85
check_unrecord_safetyMethod · 0.85
unrecord_lastMethod · 0.85
can_unrecordMethod · 0.85

Calls

no outgoing calls

Tested by 1