aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-verify.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-verify.hxx')
-rw-r--r--bpkg/pkg-verify.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/bpkg/pkg-verify.hxx b/bpkg/pkg-verify.hxx
index 3741467..f3a7c01 100644
--- a/bpkg/pkg-verify.hxx
+++ b/bpkg/pkg-verify.hxx
@@ -33,11 +33,16 @@ namespace bpkg
bool diag = true);
// Similar to the above but verifies that a source directory is a valid
- // package. Note that it doesn't enforce the <name>-<version> form for the
- // directory itself.
+ // package. Always translates the package version and completes dependency
+ // constraints but doesn't expand the file-referencing manifest values. Note
+ // that it doesn't enforce the <name>-<version> form for the directory
+ // itself.
//
package_manifest
- pkg_verify (const dir_path& source, bool ignore_unknown, bool diag = true);
+ pkg_verify (const dir_path& source,
+ bool ignore_unknown,
+ const function<package_manifest::translate_function>&,
+ bool diag = true);
}
#endif // BPKG_PKG_VERIFY_HXX