package osutil

import "github.com/docker/buildx/util/osutil"

Index

Functions

func GetLongPathName

func GetLongPathName(path string) (string, error)

GetLongPathName is a no-op on non-Windows platforms.

func GetWd

func GetWd() string

GetWd retrieves the current working directory.

On Windows, this function will return the long path name version of the path.

func IsLocalDir

func IsLocalDir(c string) bool

func SanitizePath

func SanitizePath(path string) string

func ToAbs

func ToAbs(path string) string

Source Files

path.go path_unix.go

Version
v0.22.0 (latest)
Published
Mar 17, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
3 weeks ago

Tools for package owners.