aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-07 12:53:35 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-07 12:53:49 -0400
commit2348de4365967a7cf18400213a5a84e4da7f0491 (patch)
tree18d508b247244fb8b3b73952bd6adca755c06bb9 /include
parent4d525473d1f2b4d02e29747a45d2a02ffcff4398 (diff)
downloadstasis-2348de4365967a7cf18400213a5a84e4da7f0491.tar.gz
pip_index_provides does not need a separate version
* To be more aligned with conda_provides, the version spec has been consolidated into one argument
Diffstat (limited to 'include')
-rw-r--r--include/conda.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conda.h b/include/conda.h
index b5ea926..565b7c9 100644
--- a/include/conda.h
+++ b/include/conda.h
@@ -190,7 +190,7 @@ int conda_index(const char *path);
* @param version package version (may be NULL)
* @return not found = 0, found = 1, error = -1
*/
-int pip_index_provides(const char *index_url, const char *name, const char *version);
+int pip_index_provides(const char *index_url, const char *spec);
char *conda_get_active_environment();