diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-24 08:08:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-24 08:08:23 +0200 |
commit | 04ea94103db92d6d27230794e14606547aacf670 (patch) | |
tree | e6731caab1d64375e52525fd2dec8ae33cfb50d0 /bpkg/fetch | |
parent | 69c333f31373177f6809ef4532f9c0c73a1a8148 (diff) |
Factor and reuse manifest fetching code
Diffstat (limited to 'bpkg/fetch')
-rw-r--r-- | bpkg/fetch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bpkg/fetch b/bpkg/fetch new file mode 100644 index 0000000..5290107 --- /dev/null +++ b/bpkg/fetch @@ -0,0 +1,22 @@ +// file : bpkg/fetch -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_FETCH +#define BPKG_FETCH + +#include <bpkg/manifest> + +#include <bpkg/types> +#include <bpkg/utility> + +namespace bpkg +{ + repository_manifests fetch_repositories (const dir_path&); + repository_manifests fetch_repositories (const repository_location&); + + package_manifests fetch_packages (const dir_path&); + package_manifests fetch_packages (const repository_location&); +} + +#endif // BPKG_FETCH |