MCPcopy Create free account
hub / github.com/base/base / page_component

Method page_component

etc/systems/src/benchmark_cli.rs:884–892  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

882 }
883
884 fn page_component(value: &str) -> String {
885 value
886 .chars()
887 .map(|character| match character {
888 'a'..='z' | 'A'..='Z' | '0'..='9' | '-' | '_' | '.' => character,
889 _ => '-',
890 })
891 .collect()
892 }
893
894 fn validate_run_artifacts(run_output_dir: &Path) -> Result<()> {
895 for file in [

Callers

nothing calls this directly

Calls 1

collectMethod · 0.45

Tested by

no test coverage detected