diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-01 09:13:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-01 09:13:37 +0200 |
commit | 098460199c35218979e207a1709111e477ab9567 (patch) | |
tree | 55765e91a517759bf28672abeda96102f2f511c4 /bpkg/manifest-utility | |
parent | 42bbdd0e7f0d78b622697bf4d4543c1aead22ae8 (diff) |
build command genesis, some re-factoring
Diffstat (limited to 'bpkg/manifest-utility')
-rw-r--r-- | bpkg/manifest-utility | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bpkg/manifest-utility b/bpkg/manifest-utility index f9766c7..4d127f4 100644 --- a/bpkg/manifest-utility +++ b/bpkg/manifest-utility @@ -12,8 +12,16 @@ namespace bpkg { + // Extract name and version components from <name>[/<version>]. + // + string + parse_package_name (const char*); + + version + parse_package_version (const char*); + version - parse_version (const char*); + parse_version (const char*); //@@ TMP // First use the passed location as is. If the result is relative, // then assume this is a relative path to the repository directory |