|
| Environment (bool read_only) |
| Environment (bool read_only, ProbeMode probe_mode, TargetMode target_mode) |
| Environment (const Environment &environment) |
Environment & | operator= (const Environment &environment)=delete |
bool | is_read_only () const |
| Return whether the Environment has read-only set.
|
ProbeMode | get_probe_mode () const |
| Return the probe mode.
|
TargetMode | get_target_mode () const |
| return the target mode.
|
const std::string & | get_rootprefix () const |
| Query the rootprefix.
|
void | set_rootprefix (const std::string &rootprefix) |
| Set the rootprefix.
|
const std::string & | get_devicegraph_filename () const |
void | set_devicegraph_filename (const std::string &devicegraph_filename) |
const std::string & | get_arch_filename () const |
void | set_arch_filename (const std::string &arch_filename) |
const std::string & | get_mockup_filename () const |
void | set_mockup_filename (const std::string &mockup_filename) |
Impl & | get_impl () |
const Impl & | get_impl () const |
|
std::ostream & | operator<< (std::ostream &out, const Environment &environment) |
◆ get_probe_mode()
ProbeMode storage::Environment::get_probe_mode |
( |
| ) |
const |
◆ get_rootprefix()
const std::string & storage::Environment::get_rootprefix |
( |
| ) |
const |
Query the rootprefix.
The rootprefix is prepended to certain paths when accessing the system, e.g. when opening files like /etc/fstab and when mounting filesystems (that have rootprefixed set).
The rootprefix is at least used for activate(), probe() and commit().
◆ get_target_mode()
TargetMode storage::Environment::get_target_mode |
( |
| ) |
const |
◆ set_rootprefix()
void storage::Environment::set_rootprefix |
( |
const std::string & | rootprefix | ) |
|
Set the rootprefix.
If a rootprefix is not needed it has to be empty.
- See also
- get_rootprefix()
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/libstorage-ng-4.5.253-build/libstorage-ng-4.5.253/storage/Environment.h