Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Name ¶
Name applies filepath.Localize on the path and replaces any occurrences of following:
- "/" with "_"
- "\x00" (null) with ""
func WindowsName ¶
WindowsName applies filepath.Localize on the base name. It also replaces any reserved characters with underscores, and all ASCII control characters are removed.
See: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.