Documentation ¶
Overview ¶
Package atomicfile provides wrappers for atomically writing files in a manner compatible with long filenames.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybePrefixLongFilenameOnWindows ¶
MaybePrefixLongFilenameOnWindows prefixes the given filename with \\?\ on Windows if the filename is longer than 260 characters, which is required to be able to use some low-level Windows APIs. Because long file names have certain limitations: - we must replace forward slashes with backslashes. - dummy path element (\.\) must be removed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.