blob: 59dde37879ed45583df526eec418808fa4cffed7 (
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
|
// file : bpkg/pkg-update -*- C++ -*-
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#ifndef BPKG_PKG_UPDATE
#define BPKG_PKG_UPDATE
#include <bpkg/types>
#include <bpkg/forward> // selected_package
#include <bpkg/pkg-command>
#include <bpkg/pkg-update-options>
namespace bpkg
{
inline int
pkg_update (const pkg_update_options& o, cli::scanner& args)
{
return pkg_command ("update", o, args);
}
inline void
pkg_update (const dir_path& configuration,
const common_options& o,
const shared_ptr<selected_package>& p)
{
pkg_command ("update", configuration, o, p);
}
}
#endif // BPKG_PKG_UPDATE
|