blob: d85bf9b408f93074aa3f5724ce35404e39871e9a (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// file : bpkg/fetch -*- C++ -*-
// copyright : Copyright (c) 2014-2017 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&, bool ignore_unknown);
pair<repository_manifests, string/*checksum*/>
fetch_repositories (const common_options&,
const repository_location&,
bool ignore_unknown);
package_manifests
fetch_packages (const dir_path&, bool ignore_unknown);
pair<package_manifests, string/*checksum*/>
fetch_packages (const common_options&,
const repository_location&,
bool ignore_unknown);
signature_manifest
fetch_signature (const common_options&,
const repository_location&,
bool ignore_unknown);
path
fetch_archive (const common_options&,
const repository_location&,
const path& archive,
const dir_path& destdir);
}
#endif // BPKG_FETCH
|