remove command, which supports dry runs (so does create)
This commit is contained in:
@@ -13,6 +13,7 @@ namespace cellar {
|
||||
|
||||
extern bottles::Bottle active_bottle;
|
||||
|
||||
extern bool dryrun;
|
||||
extern bool verbose;
|
||||
}
|
||||
|
||||
|
@@ -9,9 +9,14 @@ using namespace std;
|
||||
|
||||
namespace cellar {
|
||||
namespace fs {
|
||||
typedef void (*CopyCallbackFunc)(string,string);
|
||||
typedef void (*RemoveCallbackFunc)(string);
|
||||
extern vector<string> listdir(string path);
|
||||
|
||||
extern bool recursive_copy(string, string);
|
||||
extern bool recursive_remove(string);
|
||||
extern bool recursive_copy(string, string, CopyCallbackFunc);
|
||||
extern bool recursive_remove(string, RemoveCallbackFunc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user