-
Notifications
You must be signed in to change notification settings - Fork 34
Incremental reporting of Conda envs #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c56a671
5abdd13
69d1c4a
338619a
2111e0a
477fa56
786e4a9
766620f
fcb5ff5
4af1949
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ | |
| use manager::EnvManager; | ||
| use pet_utils::env::PythonEnv; | ||
| use python_environment::PythonEnvironment; | ||
| use reporter::Reporter; | ||
|
|
||
| pub mod arch; | ||
| pub mod manager; | ||
|
|
@@ -39,5 +40,5 @@ pub trait Locator: Send + Sync { | |
| /** | ||
| * Finds all environments specific to this locator. | ||
| */ | ||
| fn find(&self) -> Option<LocatorResult>; | ||
| fn find(&self, reporter: &dyn Reporter); | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Previously we'd report as soon as each locator finds environments. The change is to now report immediately as they are discovered. |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as soon as we discover anything we report it.
Previously we-d collect and return to calling code.