diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-26 22:00:22 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-02 20:04:26 +0300 |
commit | 780290277a51853b2e515b16898ca0fcfa1e9e71 (patch) | |
tree | e045dd9cc4ce2726f915897157785cb40b48756f /bpkg/utility.hxx | |
parent | 046f9282dc7778f5df326456f1630919a5607f11 (diff) |
Update rep-fetch
Diffstat (limited to 'bpkg/utility.hxx')
-rw-r--r-- | bpkg/utility.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx index b05f668..b5e05d5 100644 --- a/bpkg/utility.hxx +++ b/bpkg/utility.hxx @@ -107,11 +107,13 @@ namespace bpkg void rm (const path&, uint16_t verbosity = 3); + enum class rm_error_mode {ignore, warn, fail}; + void rm_r (const dir_path&, bool dir_itself = true, uint16_t verbosity = 3, - bool ignore_error = false); + rm_error_mode = rm_error_mode::fail); void mv (const dir_path& from, const dir_path& to); |