Skip to content

Commit

Permalink
delete non essential func
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Jul 9, 2024
1 parent afc0000 commit ddd8cff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crates/snm_core/src/traits/atom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub trait AtomTrait {
downloaded_file_path_buf: &'a PathBuf,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'a>>;

fn get_host(&self) -> Option<String>;
// fn get_host(&self) -> Option<String>;

fn show_list<'a>(
&'a self,
Expand Down
6 changes: 3 additions & 3 deletions crates/snm_node/src/snm_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ impl AtomTrait for SnmNode {
})
}

fn get_host(&self) -> Option<String> {
None
}
// fn get_host(&self) -> Option<String> {
// None
// }

fn show_list<'a>(
&'a self,
Expand Down
6 changes: 3 additions & 3 deletions crates/snm_package_manager/src/snm_package_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ impl AtomTrait for SnmPackageManager {
})
}

fn get_host(&self) -> Option<String> {
todo!("get_host")
}
// fn get_host(&self) -> Option<String> {
// todo!("get_host")
// }

fn show_list<'a>(
&'a self,
Expand Down

0 comments on commit ddd8cff

Please sign in to comment.