diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-16 07:52:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-16 07:52:11 +0200 |
commit | f80c8ff7ff3b1eef22a3c90943f324d45d855b97 (patch) | |
tree | f44a25aa71de05e11c417dcc01cc3f6b9eca97ee /libbuild2/install/rule.hxx | |
parent | 44b0a5989f76570fc19dc41314f31c4fa9c2039b (diff) |
Initial low verbosity diagnostics rework
Diffstat (limited to 'libbuild2/install/rule.hxx')
-rw-r--r-- | libbuild2/install/rule.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libbuild2/install/rule.hxx b/libbuild2/install/rule.hxx index ad9d6e7..98d2d0d 100644 --- a/libbuild2/install/rule.hxx +++ b/libbuild2/install/rule.hxx @@ -233,6 +233,19 @@ namespace build2 const path& name, uint16_t verbosity = 1); + // Uninstall (remove) a symlink. + // + // This is essentially unistall_f() but with better low-verbosity + // diagnostics. + // + static bool + uninstall_l (const scope& rs, + const install_dir& base, + const path& target, + const path& link, + uint16_t verbosity = 1); + + // Uninstall (remove) an empty directory. // // uninstall -d <dir> |