add helper to purge directories recursively

This commit is contained in:
Axel Kohlmeyer
2024-08-09 18:29:38 -04:00
parent d4b6bce4af
commit 658cadceea
2 changed files with 21 additions and 0 deletions

View File

@ -25,6 +25,9 @@ extern char *mystrdup(const QString &text);
// find if executable is in path
extern bool has_exe(const QString &exe);
// recursively purge a directory
extern void purge_directory(const QString &dir);
#endif
// Local Variables:
// c-basic-offset: 4