pub fn print_status(self) -> Result<()> {
        let mut index = 1;
        if self.repositories.len() != 0 {
            println!("index   repository");
            for i in 0..self.repositories.len() {
                let url = utils::prettify_url(&self.repositories[i].url);
                println!("[ {} ] | {} ", index, url);
                index += 1;
            }
        } else {
            println!("you do not have any repositories currently installed with gee.")
        }
        Ok(())
    }
/// PARAMS: none.
/// it will print every repository that is
/// currently installed, along with it's current
/// index value.
none.
it will print every repository that is
currently installed, along with it's current
index value.
none . it will print every repository that is currently installed along with it ' s current index value .
pub fn print_status(self) -> Result<()> {
        let mut index = 1;
        if self.repositories.len() != 0 {
            println!("index   repository");
            for i in 0..self.repositories.len() {
                let url = utils::prettify_url(&self.repositories[i].url);
                println!("[ {} ] | {} ", index, url);
                index += 1;
            }
        } else {
            println!("you do not have any repositories currently installed with gee.")
        }
        Ok(())
    }
pub fn print_status ( self ) -> Result < ( ) > { let mut index = 1 ; if self . repositories . len ( ) != 0 { println ! ( " " ) ; for i in 0 .. self . repositories . len ( ) { let url = utils :: prettify_url ( & self . repositories [ i ] . url ) ; println ! ( " " index url ) ; index += 1 ; } } else { println ! ( " " ) } Ok ( ( ) ) }
PARAMS: none.
PARAMS : none .
self
self