iofs

package
v5.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Overview

Package iofs provides an adapter from billy.Filesystem to a the standard library io.fs.FS interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fs billyfs.Basic) fs.FS

Wrap adapts a billy.Filesystem to a io.fs.FS.

func NewReadDirFS added in v5.6.2

func NewReadDirFS(fs billyfs.Basic) fs.ReadDirFS

NewReadDirFS adapts a billy.Filesystem to a io.fs.ReadDirFS.

func NewReadFileFS added in v5.6.2

func NewReadFileFS(fs billyfs.Basic) fs.ReadFileFS

NewReadFileFS adapts a billy.Filesystem to a io.fs.ReadFileFS.

func NewStatFS added in v5.6.2

func NewStatFS(fs billyfs.Basic) fs.StatFS

NewStatFS adapts a billy.Filesystem to a io.fs.StatFS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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