Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Overview ¶ Package safefilepath manipulates operating-system file paths. Index ¶ func FromFS(path string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FromFS ¶ func FromFS(path string) (string, error) FromFS converts a slash-separated path into an operating-system path. FromFS returns an error if the path cannot be represented by the operating system. For example, paths containing '\' and ':' characters are rejected on Windows. Types ¶ This section is empty. Source Files ¶ View all Source files path.go path_other.go Click to show internal directories. Click to hide internal directories.