Skip to main content

Crate rmr

Crate rmr 

Source
Expand description

Remove files or directories passed as CLI args (recursive for dirs).

Strips trailing :... suffix from paths before deletion.

ยงErrors

  • I/O errors from file/directory removal.

Functionsยง

before_first_colon ๐Ÿ”’
Strips suffix beginning at first โ€˜:โ€™.
main ๐Ÿ”’
Remove files or directories passed as CLI args (recursive for dirs).
process ๐Ÿ”’
Deletes one path after stripping the first โ€˜:โ€™ suffix segment.