osys

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Osys

type Osys interface {
	UserHomeDir() (string, error)
	Exit(code int)
	Stdin() *os.File
	Stdout() *os.File
	Stderr() *os.File
}

type OsysClient

type OsysClient struct{}

func New

func New() *OsysClient

func (*OsysClient) Exit

func (o *OsysClient) Exit(code int)

func (*OsysClient) Stderr

func (o *OsysClient) Stderr() *os.File

func (*OsysClient) Stdin

func (o *OsysClient) Stdin() *os.File

func (*OsysClient) Stdout

func (o *OsysClient) Stdout() *os.File

func (*OsysClient) UserHomeDir

func (o *OsysClient) UserHomeDir() (string, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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