osfs

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: 4 Imported by: 0

Documentation

Overview

TODO: move into toolkit-go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct{}

func New

func New() *FS

func (FS) Chmod

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

func (FS) Chown

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

func (FS) Chtimes

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

func (FS) Create

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

func (FS) Mkdir

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

func (FS) MkdirAll

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

func (FS) Open

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

func (FS) OpenFile

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

func (FS) Remove

func (FS) Remove(name string) error

func (FS) RemoveAll

func (FS) RemoveAll(path string) error

func (FS) Rename

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

func (FS) Stat

func (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