utils

package
v2.0.0-alpha.2 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

func EnsureLongPath(path string) string

func IsMountedFolder

func IsMountedFolder(path string) (bool, error)

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

func IsPathSymlink(path string) (bool, error)

func IsPathValid

func IsPathValid(path string) (bool, error)

func PathExists

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