Expand description
Temporary files of non-append writes, and how to reclaim them.
Structsยง
- Sweep
Report - What a sweep did.
Constantsยง
- TEMPORARY_
FILE_ ๐SCHEME - Scheme of the only service that publishes non-append writes with a rename.
- TEMPORARY_
MARKER ๐ - Marker that follows the name of the target in a temporary file name.
- TEMPORARY_
PREFIX ๐ - Prefix of a temporary file name.
- TEMPORARY_
SUFFIX ๐ - Suffix of a temporary file name.
Functionsยง
- is_
temporary_ ๐file - sweep_
dir ๐ - sweep_
temporary_ files - Deletes the temporary files in
dirsthat are older thanolder_than. - temporary_
path ๐ - Returns the path a non-append write to
pathgoes to before it is renamed. - writes_
temporary_ files - Returns true if
storepublishes non-append writes with a rename, which is what leaves temporary files behind when the writer dies.