|
FlatImage
A configurable Linux containerization system
|
Runtime feature flags. More...
#include <config.hpp>
Static Public Member Functions | |
| static Value< Flags > | create (fs::path const &path_bin_self) |
| Factory method to create Flags. | |
Public Attributes | |
| bool | is_root |
| Execute as root (UID=0)? Checked via FIM_ROOT env or stored UID. | |
| bool | is_debug |
| Enable debug logging? Set via FIM_DEBUG=1. | |
| bool | is_casefold |
| Enable case-insensitive filesystem? Via FIM_CASEFOLD or reserved space. | |
| bool | is_notify |
| Show desktop notifications? Stored in reserved space. | |
Runtime feature flags.
Controls FlatImage behavior through environment variables and reserved space:
Flag resolution priority (highest to lowest):
Definition at line 475 of file config.hpp.
Factory method to create Flags.
Resolves flags from multiple sources in priority order:
Definition at line 498 of file config.hpp.
| bool ns_config::Flags::is_casefold |
Enable case-insensitive filesystem? Via FIM_CASEFOLD or reserved space.
Definition at line 483 of file config.hpp.
| bool ns_config::Flags::is_debug |
Enable debug logging? Set via FIM_DEBUG=1.
Definition at line 482 of file config.hpp.
| bool ns_config::Flags::is_notify |
Show desktop notifications? Stored in reserved space.
Definition at line 484 of file config.hpp.
| bool ns_config::Flags::is_root |
Execute as root (UID=0)? Checked via FIM_ROOT env or stored UID.
Definition at line 481 of file config.hpp.