pub enum Action {
Write {
destination: Utf8PathBuf,
},
Unchanged {
destination: Utf8PathBuf,
},
Sweep {
destination: Utf8PathBuf,
},
SweepFailed {
destination: Utf8PathBuf,
error: String,
},
Remove {
destination: Utf8PathBuf,
},
KeptEdited {
destination: Utf8PathBuf,
},
KeptDirectory {
directory: Utf8PathBuf,
},
RecordUnwritten {
record: Utf8PathBuf,
},
}Expand description
One thing an install or uninstall did, or — in a preview — would do.
Variants§
Write
The payload’s bytes land at this destination.
Fields
destination: Utf8PathBufThe SKILL.md path written.
Unchanged
The destination already holds the payload’s bytes.
Fields
destination: Utf8PathBufThe SKILL.md path left alone.
Sweep
A recorded leftover the payload no longer names is removed.
Fields
destination: Utf8PathBufThe leftover taken back.
SweepFailed
A leftover could not be removed; it stays for the operator.
Remove
An installed destination is removed.
Fields
destination: Utf8PathBufThe SKILL.md path removed.
KeptEdited
A destination holding bytes neither the payload nor the record accounts for is the user’s now, and an uninstall leaves it.
Fields
destination: Utf8PathBufThe edited SKILL.md path left in place.
KeptDirectory
A directory survives a removal because something else lives in it.
Fields
directory: Utf8PathBufThe directory kept.
RecordUnwritten
The record could not be written; a later install may ask for
--force it should not need.
Fields
record: Utf8PathBufThe record path that did not write.