aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-purge.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-21 21:40:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-19 19:39:55 +0300
commit15dff3c592385466406732cd6ced809dc28cf2e2 (patch)
tree1da9f0738293eb7906d92ab010a79c689087b655 /bpkg/pkg-purge.hxx
parent46842f6cf74d085ced382dd0c187f6a7a578913c (diff)
Implement build plan simulation
Diffstat (limited to 'bpkg/pkg-purge.hxx')
-rw-r--r--bpkg/pkg-purge.hxx4
1 files changed, 3 insertions, 1 deletions
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<selected_package>&);
+ const shared_ptr<selected_package>&,
+ 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<selected_package>&,
+ bool simulate,
bool archive = true);
}