ratatui_toolkit/services/git_watcher/traits/debug.rs
1//! Debug trait implementation for GitWatcher.
2
3use std::fmt;
4
5use crate::services::git_watcher::GitWatcher;
6
7impl fmt::Debug for GitWatcher {
8 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
9 f.debug_struct("GitWatcher")
10 .field("config", &self.config)
11 .field("repo_path", &self.repo_path)
12 .field("has_pending_changes", &self.has_pending_changes)
13 .finish_non_exhaustive()
14 }
15}