MCPcopy Create free account
hub / github.com/bootc-dev/bootc / optional_string

Method optional_string

crates/ostree-ext/src/keyfileext.rs:32–34  ·  view source on GitHub ↗
(&self, group: &str, key: &str)

Source from the content-addressed store, hash-verified

30
31impl KeyFileExt for glib::KeyFile {
32 fn optional_string(&self, group: &str, key: &str) -> Result<Option<GString>, glib::Error> {
33 map_keyfile_optional(self.string(group, key))
34 }
35
36 fn optional_bool(&self, group: &str, key: &str) -> Result<Option<bool>, glib::Error> {
37 map_keyfile_optional(self.boolean(group, key))

Callers 6

get_image_originFunction · 0.80
switch_ostreeFunction · 0.80
is_verity_enabledFunction · 0.80
is_bare_split_xattrsFunction · 0.80

Calls 1

map_keyfile_optionalFunction · 0.85

Tested by

no test coverage detected