Skip to main content

handle_website_command

Function handle_website_command 

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

Handles website commands without shell or C fallback behavior.

§Parameters

§Returns

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

§Errors

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

§Examples

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