Skip to main content

emit_website_status

Function emit_website_status 

Source
pub fn emit_website_status(
    root: &Path,
    website: &str,
) -> Result<String, &'static str>
Expand description

Emits website status as a bounded JSON report.

§Parameters

§Returns

Returns the successful value produced by crate::binaries::emit_website_status or an error when the operation fails.

§Errors

Returns an error value when crate::binaries::emit_website_status cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::binaries::emit_website_status(std::path::Path::new("."), todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.