package osutil
import "github.com/docker/buildx/util/osutil"
Index ¶
- func GetLongPathName(path string) (string, error)
- func GetWd() string
- func IsLocalDir(c string) bool
- func SanitizePath(path string) string
- func ToAbs(path string) string
Functions ¶
func GetLongPathName ¶
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 SanitizePath ¶
func ToAbs ¶
Source Files ¶
- Version
- v0.22.0 (latest)
- Published
- Mar 17, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 3 weeks ago –
Tools for package owners.