httpfs

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpFs

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

func NewHttpFs

func NewHttpFs(source afero.Fs) *HttpFs

func (HttpFs) Chmod

func (h HttpFs) Chmod(name string, mode os.FileMode) error

func (HttpFs) Chown

func (h HttpFs) Chown(name string, uid, gid int) error

func (HttpFs) Chtimes

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

func (HttpFs) Create

func (h HttpFs) Create(name string) (afero.File, error)

func (HttpFs) Dir

func (h HttpFs) Dir(s string) *httpDir

func (HttpFs) Mkdir

func (h HttpFs) Mkdir(name string, perm os.FileMode) error

func (HttpFs) MkdirAll

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

func (HttpFs) Name

func (h HttpFs) Name() string

func (HttpFs) Open

func (h HttpFs) Open(name string) (http.File, error)

func (HttpFs) OpenFile

func (h HttpFs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)

func (HttpFs) Remove

func (h HttpFs) Remove(name string) error

func (HttpFs) RemoveAll

func (h HttpFs) RemoveAll(path string) error

func (HttpFs) Rename

func (h HttpFs) Rename(oldname, newname string) error

func (HttpFs) Stat

func (h HttpFs) Stat(name string) (os.FileInfo, error)

Jump to

Keyboard shortcuts

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