os

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultDirMode  = 0o755
	DefaultFileMode = 0o644
)

Variables

This section is empty.

Functions

func AddBeforePath

func AddBeforePath(path string, paths ...string) string

func BeARegularFile

func BeARegularFile(fsys fs.FS, path string) bool

func CleanPath

func CleanPath(path string, cleanPaths ...string) (result string)

CleanPath Removes the sdkm directory from paths

func ExecutableDir

func ExecutableDir() string

func FixPath

func FixPath(value string) string

func GetPathListSeparator

func GetPathListSeparator() string

func GetPathSeparator

func GetPathSeparator() string

func IsMinGW

func IsMinGW() bool

func Pwd

func Pwd() string

func SplitPathList

func SplitPathList(value string) []string

func UserHomeDir

func UserHomeDir() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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