File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -944,11 +944,6 @@ struct ChunkPathInfo {
944944 content_hashing : Option < ContentHashing > ,
945945}
946946
947- pub fn clean_separators ( s : & str ) -> String {
948- static SEPARATOR_REGEX : LazyLock < Regex > = LazyLock :: new ( || Regex :: new ( r"[/#?@]" ) . unwrap ( ) ) ;
949- SEPARATOR_REGEX . replace_all ( s, "" ) . to_string ( )
950- }
951-
952947static NAME_PLACEHOLDER_REGEX : LazyLock < Regex > = LazyLock :: new ( || Regex :: new ( r"\[name\]" ) . unwrap ( ) ) ;
953948
954949pub fn match_name_placeholder ( s : & str ) -> bool {
Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ impl ValueToString for AssetIdent {
433433 }
434434}
435435
436- fn clean_separators ( s : & str ) -> String {
436+ pub fn clean_separators ( s : & str ) -> String {
437437 static SEPARATOR_REGEX : Lazy < Regex > = Lazy :: new ( || Regex :: new ( r"[/#?\[\]<>@]" ) . unwrap ( ) ) ;
438438 SEPARATOR_REGEX . replace_all ( s, "_" ) . to_string ( )
439439}
You can’t perform that action at this time.
0 commit comments