os

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixLongPath

func FixLongPath(path string) string

FixLongPath returns the extended-length (\\?\-prefixed) form of path when needed, in order to avoid the default 260 character file path limit imposed by Windows. If path is not easily converted to the extended-length form (for example, if path is a relative path or contains .. elements), or is short enough, fixLongPath returns path unmodified.

See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL