Aktualizr
C++ SOTA Client
src
sota_tools
check.h
1
#ifndef SOTA_CLIENT_TOOLS_CHECK_H_
2
#define SOTA_CLIENT_TOOLS_CHECK_H_
3
4
#include <string>
5
6
#include "
garage_common.h
"
7
#include "ostree_ref.h"
8
#include "ostree_repo.h"
9
#include "server_credentials.h"
10
11
/**
12
* Check if the ref is present on the server and in targets.json
13
*/
14
int
CheckRefValid(
TreehubServer
& treehub,
const
std::string& ref,
RunMode
mode,
int
max_curl_requests,
15
const
boost::filesystem::path& tree_dir =
""
);
16
17
#endif
TreehubServer
Definition:
treehub_server.h:11
garage_common.h
RunMode
RunMode
Execution mode to run garage tools in.
Definition:
garage_common.h:6
Generated by
1.8.16