Skip to main content

Module shred

Module shred 

Source

Structs§

ShredConfig
Configuration for the shred operation.

Enums§

RemoveMode
How to remove files after shredding.

Functions§

fill_random
Fill a buffer with random bytes from /dev/urandom.
parse_remove_mode
Parse a –remove[=HOW] argument.
parse_size
Parse a size string with optional suffix (K, M, G, etc.).
shred_file
Shred a single file according to the given configuration.