Module save
ext
0.1.0
Module save
Module Items
Structs
Enums
Functions
In crate ext
ext
Module
save
Copy item path
Source
Structs
§
Absolute
Path
Checksum
Reader
Checksum
Writer
In addition to checking the checksum, we also keep track of which files are open, and we delete the open files if the program is terminated halfway.
Save
File
Enums
§
Save
Directory
Save
Kind
Functions
§
open_
file
🔒
Open the file pointed to by
path
as a
Box<dyn Read>
. If the file does not exist, look for compressed versions.
open_
files
🔒
A
DashSet<PathBuf>
of files that are currently opened and being written to. When calling this function for the first time, we set the ctrlc handler to delete currently opened files then exit.