Skip to main content

relative_target

Function relative_target 

Source
pub fn relative_target(mount: Option<&str>, target: &str) -> String
Expand description

Removes one app mount prefix while preserving the query string.

§Parameters

§Returns

Returns the computed value produced by crate::relative_target.

§Examples

ⓘ
let _result = pharos_runtime_core::relative_target(None, "/");
  • crate for adjacent helpers that share the same runtime surface.