UnescapePathName returns a name that replaces any \\ with /
(name string)
| 225 | |
| 226 | // UnescapePathName returns a name that replaces any \\ with / |
| 227 | func UnescapePathName(name string) string { |
| 228 | return strings.ReplaceAll(name, `\\`, "/") |
| 229 | } |
| 230 | |
| 231 | // Path returns the path to this node from the tree root, |
| 232 | // using [Node.Name]s separated by / delimeters. Any |