pub struct Git;Implementations§
Source§impl Git
impl Git
pub fn get_config(scope: Scope, key: &str) -> String
pub fn set_config(scope: Scope, key: &str, value: &str) -> bool
pub fn unset_config(scope: Scope, key: &str) -> bool
pub fn list_config(scope: Scope) -> Vec<String>
pub fn remove_section(scope: Scope, section: &str) -> bool
pub fn select_user(user: &User, scope: Scope) -> bool
pub fn selected_user(scope: Scope) -> User
pub fn clear_user(scope: Scope)
pub fn edit_gitsu_config(path: &Path) -> bool
pub fn get_color(name: &str) -> String
pub fn color_output() -> bool
pub fn render(user: &User) -> String
Auto Trait Implementations§
impl Freeze for Git
impl RefUnwindSafe for Git
impl Send for Git
impl Sync for Git
impl Unpin for Git
impl UnsafeUnpin for Git
impl UnwindSafe for Git
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