xos

package
v0.0.0-...-55b3812 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: ISC Imports: 5 Imported by: 0

Documentation

Overview

Package xos provides useful os helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

func NewEnv

func NewEnv(environ []string) *Env

func (*Env) Bool

func (e *Env) Bool(name string) (*bool, error)

func (*Env) CI

func (e *Env) CI() bool

func (*Env) Debug

func (e *Env) Debug() bool

func (*Env) Environ

func (e *Env) Environ() []string

func (*Env) Getenv

func (e *Env) Getenv(name string) string

func (*Env) HumanPath

func (e *Env) HumanPath(fp string) string

func (*Env) Setenv

func (e *Env) Setenv(name, value string)

Jump to

Keyboard shortcuts

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