aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-12-23 19:05:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-12-28 17:39:03 +0300
commit42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb (patch)
treebdd2cdbf35b4dfbfbc77763156182f03d497ad16 /bpkg/manifest-utility.hxx
parentdc5296af63000cddc4b46fc205137c20578cb81f (diff)
Add repository type detection
Diffstat (limited to 'bpkg/manifest-utility.hxx')
-rw-r--r--bpkg/manifest-utility.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx
index afa93f5..f4dadb4 100644
--- a/bpkg/manifest-utility.hxx
+++ b/bpkg/manifest-utility.hxx
@@ -34,12 +34,12 @@ namespace bpkg
version
parse_package_version (const char*);
- // First use the passed location as is. If the result is relative,
- // then assume this is a relative path to the repository directory
- // and complete it based on the current working directory.
+ // If the passed location is a relative local path, then assume this is a
+ // relative path to the repository directory and complete it based on the
+ // current working directory. Diagnose invalid locations and throw failed.
//
repository_location
- parse_location (const char*);
+ parse_location (const char*, optional<repository_type>);
}
#endif // BPKG_MANIFEST_UTILITY_HXX