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

Method is_empty

crates/sysusers/src/lib.rs:281–283  ·  view source on GitHub ↗

Returns true if this analysis finds no missing entries.

(&self)

Source from the content-addressed store, hash-verified

279impl SysusersAnalysis {
280 /// Returns true if this analysis finds no missing entries.
281 pub fn is_empty(&self) -> bool {
282 self.missing_users.is_empty() && self.missing_groups.is_empty()
283 }
284}
285
286/// Analyze the state of /etc/passwd vs systemd-sysusers.

Callers 15

collect_xattrsFunction · 0.45
to_string_prettyMethod · 0.45
escape_pathFunction · 0.45
var_to_tmpfilesFunction · 0.45
read_tmpfiles_from_dirFunction · 0.45
next_tokenMethod · 0.45
read_sysusersFunction · 0.45
parse_allFunction · 0.45
test_sysusers_parseFunction · 0.45
test_sysgroups_parseFunction · 0.45
u32_or_noneFunction · 0.45
parse_shadow_contentFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_sysusers_parseFunction · 0.36
test_sysgroups_parseFunction · 0.36