pub struct WalkthroughFiles {
pub contents: HashMap<String, String>,
pub pin_broken: bool,
}Expand description
The result of Review::compute_walkthrough_files: every file it could
read, plus whether the revision it was asked to pin to still resolves.
Fields§
§contents: HashMap<String, String>§pin_broken: boolA rev was named but no longer resolves (a squash, a rebase, a gc):
every file fell back to the worktree, and the reader is looking at
live code believing it is pinned. false when nothing was pinned at
all, which is not broken, just untracked.
Trait Implementations§
Source§impl Debug for WalkthroughFiles
impl Debug for WalkthroughFiles
Auto Trait Implementations§
impl Freeze for WalkthroughFiles
impl RefUnwindSafe for WalkthroughFiles
impl Send for WalkthroughFiles
impl Sync for WalkthroughFiles
impl Unpin for WalkthroughFiles
impl UnsafeUnpin for WalkthroughFiles
impl UnwindSafe for WalkthroughFiles
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