blob: f9766c78c4b9ef238c79d69f07a40a8706830caf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// file : bpkg/manifest-utility -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#ifndef BPKG_MANIFEST_UTILITY
#define BPKG_MANIFEST_UTILITY
#include <bpkg/manifest>
#include <bpkg/types>
#include <bpkg/utility>
namespace bpkg
{
version
parse_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.
//
repository_location
parse_location (const char*);
}
#endif // BPKG_MANIFEST_UTILITY
|