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

Class Unrecord

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

Source from the content-addressed store, hash-verified

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

Callers 6

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

Calls

no outgoing calls

Tested by 1