Enum dochy::fs::common::CurrentSrc [−][src]
Expand description
We always have an archive of json src files which corresponds to save files. if there’s no change in json src files, we don’t need current src. if the src is changed, we need the archived and the current src because we need to update the save data and make it compatible with the current version. The current src can be specified as an archive or a directory.
Variants
SrcDir(PathBuf)
Tuple Fields
0: PathBuf
ArchiveFile(PathBuf)
Tuple Fields
0: PathBuf
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CurrentSrc
impl Send for CurrentSrc
impl Sync for CurrentSrc
impl Unpin for CurrentSrc
impl UnwindSafe for CurrentSrc
Blanket Implementations
Mutably borrows from an owned value. Read more