mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Updated unit tests
-Added tests for functions -Added error class and return from package manager functions -Updated `compile.sh` script
This commit is contained in:
parent
d4b1ea90c6
commit
5ffce72fa5
7 changed files with 109 additions and 42 deletions
|
|
@ -61,10 +61,10 @@ namespace gdpm::package_manager{
|
|||
GDPM_DLL_EXPORT int initialize(int argc, char **argv);
|
||||
GDPM_DLL_EXPORT int execute();
|
||||
GDPM_DLL_EXPORT void finalize();
|
||||
GDPM_DLL_EXPORT void install_packages(const std::vector<std::string>& package_titles);
|
||||
GDPM_DLL_EXPORT void remove_packages(const std::vector<std::string>& package_titles);
|
||||
GDPM_DLL_EXPORT void update_packages(const std::vector<std::string>& package_titles);
|
||||
GDPM_DLL_EXPORT void search_for_packages(const std::vector<std::string>& package_titles);
|
||||
GDPM_DLL_EXPORT error install_packages(const std::vector<std::string>& package_titles, bool skip_prompt = false);
|
||||
GDPM_DLL_EXPORT error remove_packages(const std::vector<std::string>& package_titles, bool skip_prompt = false);
|
||||
GDPM_DLL_EXPORT error update_packages(const std::vector<std::string>& package_titles, bool skip_prompt = false);
|
||||
GDPM_DLL_EXPORT error search_for_packages(const std::vector<std::string>& package_titles, bool skip_prompt = false);
|
||||
GDPM_DLL_EXPORT void list_information(const std::vector<std::string>& opts);
|
||||
GDPM_DLL_EXPORT void clean_temporary(const std::vector<std::string>& package_titles);
|
||||
GDPM_DLL_EXPORT void link_packages(const std::vector<std::string>& package_titles, const std::vector<std::string>& paths);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue