fix(git): removed ugly comments

Feels like a code smell to use this ugly and non-idiomatic style.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2023-07-11 16:56:23 +02:00
parent 969bff4dd1
commit fb691c710b

View file

@ -101,10 +101,6 @@ pub struct GitRepo {
pub flags: Option<Vec<RepoFlags>>,
}
////////////////////////////////////
////////////////////////////////////
////////////////////////////////////
/// Represents a single operation on a repository
pub struct SeriesItem<'series> {
/// The string to be displayed to the user
@ -113,10 +109,6 @@ pub struct SeriesItem<'series> {
pub closure: Box<dyn Fn(&GitRepo) -> (bool)>,
}
////////////////////////////////////
////////////////////////////////////
////////////////////////////////////
fn handle_file_exists(selff: &Link, tx_path: &Path, rx_path: &Path) -> bool {
match rx_path.read_link() {
Ok(file)
@ -571,9 +563,6 @@ impl Config {
.get(link_name)
.expect("failed to get category"))
}
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
/// Tries to pull all repositories, skips if fail.
pub fn pull_all(&self) {
debug!("exectuting pull_all");
@ -647,9 +636,6 @@ impl Config {
];
self.series_on_all(series);
}
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
/// Tries to link all repositories, skips if fail.
pub fn link_all(&self) {
debug!("exectuting link_all");