Remove unused functions and methods

This commit is contained in:
Charlie Marsh
2026-06-04 07:35:33 -04:00
parent 80b65e9945
commit 83b04444ca
82 changed files with 63 additions and 1781 deletions
-6
View File
@@ -230,12 +230,6 @@ impl EnvironmentManager {
self.local_environment.as_ref().map(Arc::clone)
}
/// Returns the default environment or local environment when either exists.
pub fn default_or_local_environment(&self) -> Option<Arc<Environment>> {
self.default_environment()
.or_else(|| self.try_local_environment())
}
/// Returns a named environment instance.
pub fn get_environment(&self, environment_id: &str) -> Option<Arc<Environment>> {
self.environments
-8
View File
@@ -10,17 +10,9 @@ use serde::Serialize;
pub struct ProcessId(String);
impl ProcessId {
pub fn new(value: impl Into<String>) -> Self {
Self(value.into())
}
pub fn as_str(&self) -> &str {
&self.0
}
pub fn into_inner(self) -> String {
self.0
}
}
impl Deref for ProcessId {