From 780290277a51853b2e515b16898ca0fcfa1e9e71 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Feb 2018 22:00:22 +0300 Subject: Update rep-fetch --- bpkg/utility.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/utility.hxx') 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); -- cgit v1.1