Expand description
Various utilities in the area of I/O
Modules§
- bash
- div
- lockable_
file - Wrapper guards around
fs2crate. First move your file handle into aLockableFilevia From/Into. Then call locking methods on that to get a guard with access to the file handle. - output_
capture_ log - Capturing an output file of running commands–both stdout and
stderr, each line prepended with “O” or “E” respectively, writing
those lines to a file and optionally other filehandles like a
terminal. The
OutputCaptureLogholds both the path, and the main filehandle in a mutex, and allows to read back the last part of the file, e.g. for when there was an error and the application wants to include that in an error message. - owning_
lockable_ file - Variant of
lockable_file.rsthat does not have lifetimes in its locks, but instead relies on Arc. - read_
buf - shell
- tempfile_
utils - More composable/controllable utilities for handling temporary files?
- zstd_
file - ZSTD compression and transparent decompression for files