FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
bind.hpp File Reference

Interface with the bindings database to (de-)serialize objects. More...

#include <filesystem>
#include <algorithm>
#include "../../db/db.hpp"
#include "../../db/bind.hpp"
#include "../../reserved/bind.hpp"
Include dependency graph for bind.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns_cmd::ns_bind
 Bind mount command implementation.
 
namespace  ns_cmd
 FlatImage command implementations.
 

Functions

uint64_t ns_cmd::ns_bind::anonymous_namespace{bind.hpp}::get_highest_index (ns_db::ns_bind::Binds const &binds)
 Get the highest index object.
 
Value< ns_db::ns_bind::Bindsns_cmd::ns_bind::db_read (fs::path const &path_file_binary)
 Reads data from the reserved space.
 
Value< void > ns_cmd::ns_bind::db_write (fs::path const &path_file_binary, ns_db::ns_bind::Binds const &binds)
 Writes data to the reserved space.
 
Value< void > ns_cmd::ns_bind::add (fs::path const &path_file_binary, ns_db::ns_bind::Type bind_type, fs::path const &path_src, fs::path const &path_dst)
 Adds a binding instruction to the binding database.
 
Value< void > ns_cmd::ns_bind::del (fs::path const &path_file_binary, uint64_t index)
 Deletes a binding from the database.
 
Value< void > ns_cmd::ns_bind::list (fs::path const &path_file_binary)
 List bindings from the given bindings database.
 

Detailed Description

Interface with the bindings database to (de-)serialize objects.

Author
Ruan Formigoni

Definition in file bind.hpp.