/// PARAMS: name = the url of the repository you would like cloned.
/// parses the user's configurations, and checks to see if this
/// repository has already been cloned, and also if the total number
/// of cloned repositories is greater then the user's configured number.
name = the url of the repository you would like cloned.
parses the user's configurations, and checks to see if this
repository has already been cloned, and also if the total number
of cloned repositories is greater then the user's configured number.
name = the url of the repository you would like cloned . parses the user ' s configurations and checks to see if this repository has already been cloned and also if the total number of cloned repositories is greater then the user ' s configured number .
fn manage_repo_installations(&mut self) -> bool {
        if utils::file_exists(&utils::prefix_home(".gee/metadata.json")) {
            while self.repositories.len() > self.config.queue_size.try_into().unwrap() {
                let repo = self
                    .repositories
                    .pop_back()
                    .expect("could not pop last repo off queue");
                utils::remove_repo(utils::prettify_url(&repo.url))
                    .expect("failed to remove repository");
                let mut output: String = "just popped ".to_owned();
                output.push_str(&utils::prettify_url(&repo.url));
                output.push_str(" off the queue.");
                utils::log_info(&output).expect("failed to log info");
            }
        }
        return true;
    }
fn manage_repo_installations ( & mut self ) -> bool { if utils :: file_exists ( & utils :: prefix_home ( " " ) ) { while self . repositories . len ( ) > self . config . queue_size . try_into ( ) . unwrap ( ) { let repo = self . repositories . pop_back ( ) . expect ( " " ) ; utils :: remove_repo ( utils :: prettify_url ( & repo . url ) ) . expect ( " " ) ; let mut output : String = " " . to_owned ( ) ; output . push_str ( & utils :: prettify_url ( & repo . url ) ) ; output . push_str ( " " ) ; utils :: log_info ( & output ) . expect ( " " ) ; } } return true ; }
PARAMS: name = the url of the repository you would like cloned.
PARAMS : name = the url of the repository you would like cloned .
&mut self