Struct rocfl::cmd::opts::RemoveCmd [−][src]
Expand description
Remove riles from an object’s state
The removed files still exist in previous versions, but are no longer referenced in the current version. The changes must be committed before they are reflected in a new OCFL version in the object in the main repository.
Removing files from a staged version that were new to that staged version will permanently remove them from the object.
Fields
recursive: bool
Logical directories should be removed recursively
object_id: String
ID of the object to remove files from
paths: Vec<String>
Logical paths of files to remove. Glob patterns are supported.
Trait Implementations
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
Assign values from ArgMatches
to self
.
Auto Trait Implementations
impl RefUnwindSafe for RemoveCmd
impl UnwindSafe for RemoveCmd
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more