dir_fs

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src DirFS, dst string) error

Types

type DirFS

type DirFS string

func New

func New(path string) (DirFS, error)

func (DirFS) Open

func (d DirFS) Open(name string) (fs.File, error)

func (DirFS) Path

func (d DirFS) Path() string

func (DirFS) Stat

func (d DirFS) Stat(name string) (fs.FileInfo, error)

func (DirFS) Sub

func (d DirFS) Sub(name string) (DirFS, error)

Jump to

Keyboard shortcuts

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