pub enum WorkspaceAlbumState {
Untracked(PathBuf),
Committed(PathBuf),
Published,
Dangling(PathBuf),
Garbage,
}Expand description
State of album directory in workspace
Variants§
Untracked(PathBuf)
Untracked album directory.
Controlled part of the album directory is empty.
Committed(PathBuf)
Committed album directory.
Controlled part of the album directory is not empty, and User part contains symlinks to the actual file.
Published
Published album directory.
Controlled part of the album directory is not empty, and .publish file exists.
Dangling(PathBuf)
User part of an album exists, but controlled part does not exist, or the symlink is broken.
Garbage
User part of an album does not exist, and controlled part is empty.
Trait Implementations§
Source§impl Debug for WorkspaceAlbumState
impl Debug for WorkspaceAlbumState
Auto Trait Implementations§
impl Freeze for WorkspaceAlbumState
impl RefUnwindSafe for WorkspaceAlbumState
impl Send for WorkspaceAlbumState
impl Sync for WorkspaceAlbumState
impl Unpin for WorkspaceAlbumState
impl UnwindSafe for WorkspaceAlbumState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more