diff options
Diffstat (limited to 'bpkg/utility')
-rw-r--r-- | bpkg/utility | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bpkg/utility b/bpkg/utility index 72e02ba..02d447c 100644 --- a/bpkg/utility +++ b/bpkg/utility @@ -9,6 +9,8 @@ #include <utility> // move() #include <exception> // uncaught_exception () +#include <butl/filesystem> + #include <bpkg/types> namespace bpkg @@ -38,6 +40,9 @@ namespace bpkg void rm_r (const dir_path&, bool dir = true); + using auto_rm = butl::auto_rmfile; + using auto_rm_r = butl::auto_rmdir; + // Process. // // The process command line is printed for verbosity >= 2 (essential |