utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxPathLengthWindows = 260

	// LongPathPrefix is the prefix of Windows long path
	LongPathPrefix = `\\?\`
)

Variables

This section is empty.

Functions

func CreateSymlink(link, target string, isDir bool) error

func EnsureLongPath added in v1.3.0

func EnsureLongPath(path string) string

func IsMountedFolder added in v1.3.0

func IsMountedFolder(path string) (bool, error)

IsMountedFolder checks whether the `path` is a mounted folder.

func IsPathSymlink(path string) (bool, error)

func IsPathValid added in v1.3.0

func IsPathValid(path string) (bool, error)

func PathExists added in v1.3.0

func PathExists(path string) (bool, error)

PathExists checks whether the given `path` exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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