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.21.0-rc1
Published
Feb 12, 2025
Platform
js/wasm
Imports
4 packages
Last checked
12 hours ago

Tools for package owners.