From 836cc753ea22fd8a3d152f2b00dae971ee3dc943 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 13 Nov 2024 12:13:34 -0500 Subject: Attempt conda environment removal only when its present on-disk --- include/conda.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/conda.h b/include/conda.h index f031479..b8d0caa 100644 --- a/include/conda.h +++ b/include/conda.h @@ -229,4 +229,6 @@ const char *pkg_index_provides_strerror(int code); char *conda_get_active_environment(); +int conda_env_exists(const char *root, const char *name); + #endif //STASIS_CONDA_H -- cgit