os

package
Version: v0.0.0-...-b957d1f Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathSeparator     = '/'    // OS-specific path separator
	PathListSeparator = '\000' // OS-specific path list separator
)
View Source
const DevNull = "/dev/null"

Variables

This section is empty.

Functions

func Chmod

func Chmod(name string, mode FileMode) error

func IsPathSeparator

func IsPathSeparator(c uint8) bool

IsPathSeparator reports whether c is a directory separator character.

func Pipe

func Pipe() (r *File, w *File, err error)
func Readlink(name string) (string, error)

func Remove

func Remove(path string) error

func TempDir

func TempDir() string

Types

type ProcessState

type ProcessState struct{}

func (*ProcessState) Pid

func (p *ProcessState) Pid() int

func (*ProcessState) String

func (p *ProcessState) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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