Skip to main content

clean_external_path

Function clean_external_path 

Source
pub fn clean_external_path(
    path: &RawStr,
    meter: &Arc<Meter>,
) -> Result<RawStr, ChargeError>
Expand description

PPtr.deref’s external path cleaning: strip a leading archive:/, then a leading assets/, keep what follows the last /, lower-case it; charged to meter.