ghq-compatible repo manager (extension module for mizchi/bit)
pub struct HqConfig {
root : String
ghq_compat : Bool
}pub struct HqGetOptions {
update : Bool
shallow : Bool
depth : Int
ssh : Bool
branch : String?
unshallow : Bool
}fn HqGetOptions::new(update? : Bool, shallow? : Bool, depth? : Int, ssh? : Bool, branch? : String?, unshallow? : Bool) -> HqGetOptionsfn contract_home(path : String, home : String) -> Stringfn expand_home(path : String) -> Stringfn expand_home_with(path : String, home : String) -> Stringfn hq_get(repo : RepoPath, config : HqConfig, options : HqGetOptions, exec : (String) -> (Int, String, String), path_exists : (String) -> Bool) -> HqGetResultfn load_config(env_get : (String) -> String?, bit_config_get : (String) -> String?, ghq_compat? : Bool) -> HqConfigghq-compatible repo manager (extension module for mizchi/bit)