diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-28 01:06:35 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-28 01:06:35 -0500 |
commit | 511deab4f22a6c25f33cce1e206b656d520ab7e6 (patch) | |
tree | 669591ef38f61f0dc842e96b86aa1533f274269f /include/purge.h | |
parent | b6587f1d905e308cab713b1d5545e4667c80d6e4 (diff) | |
download | spmc-511deab4f22a6c25f33cce1e206b656d520ab7e6.tar.gz |
Improvements:
* Refactored a few function names
* Can read package metadata
* Can delete packages
* Can download! and install packages at the same time
* Can prompt the user before proceeding
Diffstat (limited to 'include/purge.h')
-rw-r--r-- | include/purge.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/purge.h b/include/purge.h new file mode 100644 index 0000000..0debd4b --- /dev/null +++ b/include/purge.h @@ -0,0 +1,7 @@ +#ifndef SPM_REMOVE_H +#define SPM_REMOVE_H + +int spm_purge(SPM_Hierarchy *fs, const char *_package_name); +int spm_do_purge(SPM_Hierarchy *fs, StrList *packages); + +#endif //SPM_REMOVE_H |