Skip to main content

write_noindex_markers_recursive

Function write_noindex_markers_recursive 

Source
pub fn write_noindex_markers_recursive(
    root: &Path,
) -> Result<usize, &'static str>
Expand description

Writes macOS-compatible no-index markers to a directory tree.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::ops_bridge::write_noindex_markers_recursive or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::ops_bridge::write_noindex_markers_recursive cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::ops_bridge::write_noindex_markers_recursive(std::path::Path::new("."));