procfs

package
v0.0.0-...-abfce65 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnimplemented = errors.New("Unimplemented")

Functions

This section is empty.

Types

type FS

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

func New

func New(p *proc.Service) *FS

func (*FS) Chmod

func (f *FS) Chmod(name string, mode fs.FileMode) error

func (*FS) Chown

func (f *FS) Chown(name string, uid, gid int) error

func (*FS) Chtimes

func (f *FS) Chtimes(name string, atime time.Time, mtime time.Time) error

func (*FS) Create

func (f *FS) Create(name string) (fs.File, error)

func (*FS) Mkdir

func (f *FS) Mkdir(name string, perm fs.FileMode) error

func (*FS) MkdirAll

func (f *FS) MkdirAll(path string, perm fs.FileMode) error

func (*FS) Open

func (f *FS) Open(name string) (fs.File, error)

func (*FS) OpenFile

func (f *FS) OpenFile(name string, flag int, perm fs.FileMode) (fs.File, error)

func (*FS) Remove

func (f *FS) Remove(name string) error

func (*FS) RemoveAll

func (f *FS) RemoveAll(path string) error

func (*FS) Rename

func (f *FS) Rename(oldname, newname string) error

func (*FS) Stat

func (f *FS) Stat(name string) (fs.FileInfo, error)

Jump to

Keyboard shortcuts

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