git-together-ssh 0.2.1

Enable seamless git usage when paired programming on a shared machine
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::errors::*;
use std::collections::HashMap;

pub trait Config {
    fn get(&self, name: &str) -> Result<String>;
    fn get_all(&self, glob: &str) -> Result<HashMap<String, String>>;
    fn add(&mut self, name: &str, value: &str) -> Result<()>;
    fn set(&mut self, name: &str, value: &str) -> Result<()>;
    fn clear(&mut self, name: &str) -> Result<()>;
}