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