Struct git_mob_rs::GitMob
source · pub struct GitMob {
pub file_actions: Box<dyn FileActions>,
}
Fields§
§file_actions: Box<dyn FileActions>
Implementations§
source§impl GitMob
impl GitMob
pub fn get_repo(&self) -> Repository
pub fn get_gitmessage_path(&self) -> PathBuf
pub fn write_gitmessage(&self, s: String)
Returns the coauthors path
This supports both xdg (prioritized) or if the config is in the home directory (like git-mob).
pub fn get_git_user(&self) -> String
pub fn get_gitmessage(&self) -> String
pub fn get_formatted_gitmessage(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GitMob
impl !Send for GitMob
impl !Sync for GitMob
impl Unpin for GitMob
impl !UnwindSafe for GitMob
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