24#ifndef STORAGE_ENVIRONMENT_H
25#define STORAGE_ENVIRONMENT_H
38 STANDARD_WRITE_DEVICEGRAPH,
39 STANDARD_WRITE_MOCKUP,
113 const std::string& get_devicegraph_filename()
const;
114 void set_devicegraph_filename(
const std::string& devicegraph_filename);
116 const std::string& get_arch_filename()
const;
117 void set_arch_filename(
const std::string& arch_filename);
119 const std::string& get_mockup_filename()
const;
120 void set_mockup_filename(
const std::string& mockup_filename);
122 friend std::ostream& operator<<(std::ostream& out,
const Environment& environment);
128 Impl& get_impl() {
return *impl; }
129 const Impl& get_impl()
const {
return *impl; }
133 const std::unique_ptr<Impl> impl;
Definition Environment.h:64
const std::string & get_rootprefix() const
Query the rootprefix.
bool is_read_only() const
Return whether the Environment has read-only set.
void set_rootprefix(const std::string &rootprefix)
Set the rootprefix.
ProbeMode get_probe_mode() const
Return the probe mode.
TargetMode get_target_mode() const
return the target mode.
The storage namespace.
Definition Actiongraph.h:40
ProbeMode
How to probe the system.
Definition Environment.h:36
TargetMode
Enum with target modes.
Definition Environment.h:49
@ IMAGE
The target is image based.
@ CHROOT
The target is chrooted, e.g.