1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 22:17:45 +00:00

dd: add discard_cache() funcs for Input, Output

Add the `Input::discard_cache()` and `Output::discard_cache()`
functions. These allow discarding the filesystem cache when `dd` no
longer needs to access a specified portion of the input or output
file, respectively.
This commit is contained in:
Jeffrey Finkelstein 2023-02-23 22:05:16 -05:00
parent 12e4acaec3
commit cc2f97ba0d
3 changed files with 112 additions and 1 deletions

1
Cargo.lock generated
View file

@ -2552,6 +2552,7 @@ dependencies = [
"clap",
"gcd",
"libc",
"nix",
"signal-hook",
"uucore",
]