23 #ifndef STORAGE_ENVIRONMENT_H 24 #define STORAGE_ENVIRONMENT_H 37 STANDARD_WRITE_DEVICEGRAPH,
38 STANDARD_WRITE_MOCKUP,
82 const std::string& get_devicegraph_filename()
const;
83 void set_devicegraph_filename(
const std::string& devicegraph_filename);
85 const std::string& get_arch_filename()
const;
86 void set_arch_filename(
const std::string& arch_filename);
88 const std::string& get_mockup_filename()
const;
89 void set_mockup_filename(
const std::string& mockup_filename);
91 friend std::ostream& operator<<(std::ostream& out,
const Environment& environment);
97 Impl& get_impl() {
return *impl; }
98 const Impl& get_impl()
const {
return *impl; }
102 const std::unique_ptr<Impl> impl;
Definition: Environment.h:52
ProbeMode get_probe_mode() const
Return the probe mode.
TargetMode get_target_mode() const
return the target mode.
TargetMode
Is the target a disk, chroot, or image?
Definition: Environment.h:45
ProbeMode
How to probe the system.
Definition: Environment.h:35
The storage namespace.
Definition: Actiongraph.h:38
bool is_read_only() const
Return whether the Environment has read-only set.