The main entry point to libstorage. More...
#include <Storage.h>


Public Member Functions | |
| Storage (const Environment &environment) | |
| const Environment & | get_environment () const |
| const Arch & | get_arch () const |
| Devicegraph * | create_devicegraph (const std::string &name) |
| Devicegraph * | copy_devicegraph (const std::string &source_name, const std::string &dest_name) |
| void | remove_devicegraph (const std::string &name) |
| void | restore_devicegraph (const std::string &name) |
| bool | equal_devicegraph (const std::string &lhs, const std::string &rhs) const |
| bool | exist_devicegraph (const std::string &name) const |
| std::vector< std::string > | get_devicegraph_names () const |
| Devicegraph * | get_devicegraph (const std::string &name) |
| Return a devicegraph by name. | |
| const Devicegraph * | get_devicegraph (const std::string &name) const |
| Return a devicegraph by name. | |
| Devicegraph * | get_staging () |
| Return the staging devicegraph. | |
| const Devicegraph * | get_staging () const |
| Return the staging devicegraph. | |
| const Devicegraph * | get_probed () const |
| Return the probed devicegraph. | |
| void | check () const |
| const std::string & | get_rootprefix () const |
| void | set_rootprefix (const std::string &rootprefix) |
| std::string | prepend_rootprefix (const std::string &mountpoint) const |
| Prepends the root prefix to a mountpoint if necessary. | |
| const Actiongraph * | calculate_actiongraph () |
| The actiongraph is only valid until either the probed or staging devicegraph is modified. | |
| void | commit (const CommitCallbacks *commit_callbacks=nullptr) |
| The actiongraph must be valid. | |
| Impl & | get_impl () |
| const Impl & | get_impl () const |
The main entry point to libstorage.
1.8.8