aboutsummaryrefslogtreecommitdiff
path: root/bpkg/fetch
blob: 49d8cd95df267f3f062bafc6e0da145f7ae6f8a2 (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
// 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>
#include <bpkg/common-options>

namespace bpkg
{
  repository_manifests fetch_repositories (const dir_path&);
  repository_manifests fetch_repositories (const common_options&,
                                           const repository_location&);

  package_manifests fetch_packages (const dir_path&);
  package_manifests fetch_packages (const common_options&,
                                    const repository_location&);
}

#endif // BPKG_FETCH