osmod

package
v0.26.11 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OS

type OS struct{}

func (*OS) Args added in v0.22.0

func (*OS) Args() interface{}

func (*OS) Chdir added in v0.22.0

func (*OS) Chdir(path string) interface{}

func (*OS) Cwd added in v0.22.0

func (*OS) Cwd() interface{}

func (*OS) Exec

func (*OS) Exec(command string) interface{}

func (*OS) Exit

func (*OS) Exit(code int) interface{}

func (*OS) FileExists added in v0.15.0

func (*OS) FileExists(path string) interface{}

func (*OS) Getenv added in v0.22.0

func (*OS) Getenv(key string) interface{}

func (*OS) Glob added in v0.22.0

func (*OS) Glob(pattern string) interface{}

func (*OS) Hostname added in v0.22.0

func (*OS) Hostname() interface{}

func (*OS) IsDir added in v0.15.0

func (*OS) IsDir(path string) interface{}

func (*OS) Mkdir added in v0.22.0

func (*OS) Mkdir(path string) interface{}

func (*OS) Pid added in v0.22.0

func (*OS) Pid() interface{}

func (*OS) ReadFile added in v0.22.0

func (*OS) ReadFile(path string) interface{}

func (*OS) ReadLine added in v0.16.0

func (*OS) ReadLine(prompt string) interface{}
func (*OS) Readlink(name string) interface{}

func (*OS) Remove added in v0.22.0

func (*OS) Remove(path string) interface{}

func (*OS) Rename added in v0.22.0

func (*OS) Rename(oldpath, newpath string) interface{}

func (*OS) Setenv added in v0.22.0

func (*OS) Setenv(key, value string) interface{}
func (*OS) Symlink(oldname, newname string) interface{}

func (*OS) TmpDir added in v0.22.0

func (*OS) TmpDir() interface{}

func (*OS) WriteFile added in v0.22.0

func (*OS) WriteFile(path, content string) interface{}

Jump to

Keyboard shortcuts

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