pub struct SkippedRender {
pub pack: String,
pub virtual_relative: PathBuf,
pub deployed_path: PathBuf,
pub state: DivergenceState,
}Expand description
One file the pipeline refused to overwrite because its deployed bytes diverged from the cached render.
dodot up records these so the caller can warn the user that their
edits were preserved. Resolution paths are dodot transform check
(auto-merge via the clean filter) or dodot up --force (overwrite).
Fields§
§pack: StringPack name (matches Pack::name, the on-disk directory name).
virtual_relative: PathBufVirtual relative path inside the pack (post-strip), e.g.
config.toml for a source config.toml.tmpl.
deployed_path: PathBufAbsolute path of the deployed file we preserved.
state: DivergenceStateWhich divergence state we observed. Always OutputChanged or
BothChanged — the other states never trigger a skip.
Trait Implementations§
Source§impl Clone for SkippedRender
impl Clone for SkippedRender
Source§fn clone(&self) -> SkippedRender
fn clone(&self) -> SkippedRender
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SkippedRender
impl RefUnwindSafe for SkippedRender
impl Send for SkippedRender
impl Sync for SkippedRender
impl Unpin for SkippedRender
impl UnsafeUnpin for SkippedRender
impl UnwindSafe for SkippedRender
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