os

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrNotEnoughSpace = syscall.ENOSPC
	ErrPathNotFound   = syscall.ENOENT
)

Variables

View Source
var (
	ErrNotExist = os.ErrNotExist
)

Functions

func MkdirAll

func MkdirAll(path string, perm os.FileMode) error

func ReadDir

func ReadDir(name string) ([]os.DirEntry, error)

func Remove

func Remove(name string) error

Types

type File

type File struct {
	*os.File
}

func Create

func Create(name string) (File, error)

func Open

func Open(name string) (File, error)

Jump to

Keyboard shortcuts

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