NAH 3.0.0
Native Application Host - Library API Reference
Loading...
Searching...
No Matches
nah::store::Store Class Reference

#include <nah_store.h>

Public Member Functions

Result initialize () const
 
Result install (const fs::path &source, const fs::path &payload_relative, const fs::path &record_relative, const std::string &record_json, bool force=false) const
 
Result recover () const
 
Result remove (const fs::path &payload_relative, const fs::path &record_relative) const
 
const fs::path & root () const
 
 Store (fs::path root)
 

Detailed Description

Owns atomic mutations below one NAH root. Manifest interpretation, remote acquisition, trust policy, and process launch remain outside this class.

Definition at line 199 of file nah_store.h.

Constructor & Destructor Documentation

◆ Store()

nah::store::Store::Store ( fs::path  root)
inlineexplicit

Definition at line 201 of file nah_store.h.

Member Function Documentation

◆ initialize()

Result nah::store::Store::initialize ( ) const
inline

Definition at line 205 of file nah_store.h.

◆ install()

Result nah::store::Store::install ( const fs::path &  source,
const fs::path &  payload_relative,
const fs::path &  record_relative,
const std::string &  record_json,
bool  force = false 
) const
inline

Definition at line 227 of file nah_store.h.

◆ recover()

Result nah::store::Store::recover ( ) const
inline

Definition at line 219 of file nah_store.h.

◆ remove()

Result nah::store::Store::remove ( const fs::path &  payload_relative,
const fs::path &  record_relative 
) const
inline

Definition at line 300 of file nah_store.h.

◆ root()

const fs::path & nah::store::Store::root ( ) const
inline

Definition at line 203 of file nah_store.h.


The documentation for this class was generated from the following file: