MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_empty

Function is_empty

atomic-core/src/pristine/tables.rs:285–287  ·  view source on GitHub ↗
(flags: u8)

Source from the content-addressed store, hash-verified

283 /// Check if flags indicate an empty directory.
284 #[inline]
285 pub const fn is_empty(flags: u8) -> bool {
286 flags & DIR_EMPTY != 0
287 }
288
289 /// Create flags for an explicitly tracked empty directory.
290 #[inline]

Callers 2

directory_emptyFunction · 0.85

Calls

no outgoing calls

Tested by 1

directory_emptyFunction · 0.68