MCPcopy
hub / github.com/AlistGo/alist / MappingName

Function MappingName

pkg/utils/str.go:10–15  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

8)
9
10func MappingName(name string) string {
11 for k, v := range conf.FilenameCharMap {
12 name = strings.ReplaceAll(name, k, v)
13 }
14 return name
15}
16
17var DEC = map[string]string{
18 "-": "+",

Callers 2

WrapObjNameFunction · 0.92
WrapObjsNameFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected