os

package
v0.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Args

func Args(ctx context.Context, args ...object.Object) (object.Object, error)

func Chdir

func Chdir(ctx context.Context, args ...object.Object) (object.Object, error)

func CurrentUser

func CurrentUser(ctx context.Context, args ...object.Object) (object.Object, error)

func Environ

func Environ(ctx context.Context, args ...object.Object) (object.Object, error)

func Exit

func Exit(ctx context.Context, args ...object.Object) (object.Object, error)

func Getenv

func Getenv(ctx context.Context, args ...object.Object) (object.Object, error)

func Getpid

func Getpid(ctx context.Context, args ...object.Object) (object.Object, error)

func Getuid

func Getuid(ctx context.Context, args ...object.Object) (object.Object, error)

func Getwd

func Getwd(ctx context.Context, args ...object.Object) (object.Object, error)

func Hostname

func Hostname(ctx context.Context, args ...object.Object) (object.Object, error)

func LookupGid

func LookupGid(ctx context.Context, args ...object.Object) (object.Object, error)

func LookupGroup

func LookupGroup(ctx context.Context, args ...object.Object) (object.Object, error)

func LookupUid

func LookupUid(ctx context.Context, args ...object.Object) (object.Object, error)

func LookupUser

func LookupUser(ctx context.Context, args ...object.Object) (object.Object, error)

func Module

func Module() *object.Module

func Setenv

func Setenv(ctx context.Context, args ...object.Object) (object.Object, error)

func Stdin

func Stdin(ctx context.Context, name string) (object.Object, error)

func Stdout

func Stdout(ctx context.Context, name string) (object.Object, error)

func TempDir

func TempDir(ctx context.Context, args ...object.Object) (object.Object, error)

func Unsetenv

func Unsetenv(ctx context.Context, args ...object.Object) (object.Object, error)

func UserCacheDir

func UserCacheDir(ctx context.Context, args ...object.Object) (object.Object, error)

func UserConfigDir

func UserConfigDir(ctx context.Context, args ...object.Object) (object.Object, error)

func UserHomeDir

func UserHomeDir(ctx context.Context, args ...object.Object) (object.Object, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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