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

Function fixture

crates/lib/src/lints.rs:911–915  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

909 });
910
911 fn fixture() -> Result<cap_std_ext::cap_tempfile::TempDir> {
912 // Create a new temporary directory for test fixtures.
913 let tempdir = cap_std_ext::cap_tempfile::tempdir(cap_std::ambient_authority())?;
914 Ok(tempdir)
915 }
916
917 fn passing_fixture() -> Result<cap_std_ext::cap_tempfile::TempDir> {
918 // Create a temporary directory fixture that is expected to pass most lints.

Callers 10

test_var_runFunction · 0.70
test_kernel_lintFunction · 0.70
test_kargsFunction · 0.70
test_usr_etcFunction · 0.70
test_varlogFunction · 0.70
test_runtime_only_dirsFunction · 0.70
test_non_utf8Function · 0.70
test_baseimage_rootFunction · 0.70
test_composefsFunction · 0.70
test_buildah_injectedFunction · 0.70

Calls

no outgoing calls

Tested by 10

test_var_runFunction · 0.56
test_kernel_lintFunction · 0.56
test_kargsFunction · 0.56
test_usr_etcFunction · 0.56
test_varlogFunction · 0.56
test_runtime_only_dirsFunction · 0.56
test_non_utf8Function · 0.56
test_baseimage_rootFunction · 0.56
test_composefsFunction · 0.56
test_buildah_injectedFunction · 0.56