pub struct CommitOutput {
pub sha: String,
pub short_sha: String,
pub message: String,
pub files_changed: usize,
pub dotfile_warnings: Vec<DotfileWarning>,
pub dotfile_skipped: Vec<String>,
}Fields§
§sha: String§short_sha: String§message: String§files_changed: usize§dotfile_warnings: Vec<DotfileWarning>Dotfile / dot-dir paths that surfaced during this commit call. Every
change with a .-prefixed path component (.env, .claude/CLAUDE.md,
.github/workflows/ci.yml, foo/.hidden) lands here so pre-publish
eyeballing can catch unintended edits. Tracked entries were still
committed; untracked-not-in-gitignore entries were skipped (see
dotfile_skipped). force_dot=true suppresses this entirely.
dotfile_skipped: Vec<String>Paths dropped from staging by the dotfile safeguard. Populated only for the untracked + not-in-gitignore branch (silent-ignored dotfiles aren’t tracked here — git’s default already handles them).
Trait Implementations§
Source§impl Clone for CommitOutput
impl Clone for CommitOutput
Source§fn clone(&self) -> CommitOutput
fn clone(&self) -> CommitOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitOutput
impl Debug for CommitOutput
Source§impl<'de> Deserialize<'de> for CommitOutput
impl<'de> Deserialize<'de> for CommitOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommitOutput
Source§impl PartialEq for CommitOutput
impl PartialEq for CommitOutput
Source§impl Serialize for CommitOutput
impl Serialize for CommitOutput
impl StructuralPartialEq for CommitOutput
Auto Trait Implementations§
impl Freeze for CommitOutput
impl RefUnwindSafe for CommitOutput
impl Send for CommitOutput
impl Sync for CommitOutput
impl Unpin for CommitOutput
impl UnsafeUnpin for CommitOutput
impl UnwindSafe for CommitOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.