From 04ea94103db92d6d27230794e14606547aacf670 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 24 Sep 2015 08:08:23 +0200 Subject: Factor and reuse manifest fetching code --- bpkg/fetch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 bpkg/fetch (limited to 'bpkg/fetch') 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 + +#include +#include + +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 -- cgit v1.1