Aktualizr
C++ SOTA Client
|
A source repository to read OSTree objects from. More...
#include <ostree_repo.h>
Public Types | |
using | ptr = std::shared_ptr< OSTreeRepo > |
Public Member Functions | |
OSTreeRepo & | operator= (const OSTreeRepo &)=delete |
virtual bool | LooksValid () const =0 |
virtual boost::filesystem::path | root () const =0 |
virtual OSTreeRef | GetRef (const std::string &refname) const =0 |
OSTreeObject::ptr | GetObject (OSTreeHash hash, OstreeObjectType type) const |
OSTreeObject::ptr | GetObject (const uint8_t sha256[32], OstreeObjectType type) const |
Protected Types | |
typedef std::map< OSTreeHash, OSTreeObject::ptr > | otable |
Protected Member Functions | |
virtual bool | FetchObject (const boost::filesystem::path &path) const =0 |
bool | CheckForObject (const OSTreeHash &hash, const std::string &path, OSTreeObject::ptr &object) const |
Protected Attributes | |
otable | ObjectTable |
A source repository to read OSTree objects from.
This can be either a directory on disk, or a URL in the garage-deploy case.
Definition at line 19 of file ostree_repo.h.