Skip to content
Snippets Groups Projects
Verified Commit e6099001 authored by nfontrod's avatar nfontrod
Browse files

src/remote.rs: remote is now public

parent 9beee746
Branches
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ pub fn show() -> () {
/// - `key` : The remote name to update
/// - `value`: The value of the key to update
/// - `global: A bolean indicating whether to update the global or the local configuration
pub fn update_config(key: &str, value: &str, global: bool) -> () {
pub(crate) fn update_config(key: &str, value: &str, global: bool) -> () {
let mut my_config = parse_config(global);
let mut remotes = match my_config.gblk_remote {
Some(r) => r,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment