MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / is_dir_empty

Function is_dir_empty

src/deopt.rs:660–662  ·  view source on GitHub ↗
(dir: &Path)

Source from the content-addressed store, hash-verified

658 }
659
660 pub fn is_dir_empty(dir: &Path) -> Result<bool> {
661 read_sort_dir(dir).map(|entries| entries.is_empty())
662 }
663
664 /// format the headers of this library that should include as a single String.
665 pub fn format_library_header_strings(deopt: &Deopt) -> &'static str {

Callers 1

init_by_corpusMethod · 0.85

Calls 2

read_sort_dirFunction · 0.85
is_emptyMethod · 0.45

Tested by

no test coverage detected