aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/env.rs')
-rw-r--r--helix-view/src/env.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/helix-view/src/env.rs b/helix-view/src/env.rs
deleted file mode 100644
index c68cc609..00000000
--- a/helix-view/src/env.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-pub fn binary_exists(binary_name: &str) -> bool {
- which::which(binary_name).is_ok()
-}
-
-#[cfg(not(windows))]
-pub fn env_var_is_set(env_var_name: &str) -> bool {
- std::env::var_os(env_var_name).is_some()
-}