Skip to content

Commit 4cb8ae6

Browse files
committed
remove commented code
1 parent 693dabf commit 4cb8ae6

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

crates/rattler/src/install/clobber_registry.rs

-28
Original file line numberDiff line numberDiff line change
@@ -105,33 +105,6 @@ impl ClobberRegistry {
105105
self.package_names.len() - 1
106106
};
107107

108-
// let entry_points = if index_json.noarch.is_python() {
109-
// let mut res = Vec::new();
110-
// if let (Some(link_json), Some(python_info)) = (link_json, python_info) {
111-
// // register entry points
112-
// if let NoArchLinks::Python(entry_points) = &link_json.noarch {
113-
// for entry_point in &entry_points.entry_points {
114-
// if python_info.platform.is_windows() {
115-
// let relative_path_script_py = python_info
116-
// .bin_dir
117-
// .join(format!("{}-script.py", &entry_point.command));
118-
// let relative_path_script_exe = python_info
119-
// .bin_dir
120-
// .join(format!("{}.exe", &entry_point.command));
121-
// res.push(relative_path_script_py);
122-
// res.push(relative_path_script_exe);
123-
// } else {
124-
// let file = python_info.bin_dir.join(&entry_point.command);
125-
// res.push(file);
126-
// }
127-
// }
128-
// }
129-
// }
130-
// res
131-
// } else {
132-
// Vec::new()
133-
// };
134-
135108
for (_, path) in computed_paths {
136109
// if we find an entry, we have a clobbering path!
137110
if let Some(e) = self.paths_registry.get(path) {
@@ -156,7 +129,6 @@ impl ClobberRegistry {
156129
clobber_paths
157130
}
158131

159-
/// Unclobber the paths after all installation steps have been completed.
160132
/// Unclobber the paths after all installation steps have been completed.
161133
pub fn unclobber(
162134
&mut self,

0 commit comments

Comments
 (0)