From 15dff3c592385466406732cd6ced809dc28cf2e2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 21 Mar 2018 21:40:28 +0300 Subject: Implement build plan simulation --- bpkg/pkg-purge.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-purge.hxx') diff --git a/bpkg/pkg-purge.hxx b/bpkg/pkg-purge.hxx index 9468a02..d9c26c5 100644 --- a/bpkg/pkg-purge.hxx +++ b/bpkg/pkg-purge.hxx @@ -22,7 +22,8 @@ namespace bpkg void pkg_purge (const dir_path& configuration, transaction&, - const shared_ptr&); + const shared_ptr&, + bool simulate); // Remove package's filesystem objects (the source directory and, if // the archive argument is true, the package archive). If this fails, @@ -32,6 +33,7 @@ namespace bpkg pkg_purge_fs (const dir_path& configuration, transaction&, const shared_ptr&, + bool simulate, bool archive = true); } -- cgit v1.1