readerfs

package
v0.24.13 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

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

func New

func New(abs path.Absolute, rd io.Reader) *FS

func NewBytes

func NewBytes(abs path.Absolute, bt []byte) *FS

func NewString

func NewString(abs path.Absolute, str string) *FS

func Stdin

func Stdin() *FS

func (*FS) Abs

func (f *FS) Abs(path.Relative) path.Absolute

func (*FS) Exists

func (f *FS) Exists(path.Relative) bool

func (*FS) ModTime

func (f *FS) ModTime(path.Relative) (t time.Time, err error)

func (*FS) Reader

func (f *FS) Reader(path.Relative) (io.ReadCloser, error)

func (*FS) Scheme

func (f *FS) Scheme() string

func (*FS) Size

func (f *FS) Size(path.Relative) int64

func (*FS) URLInit

func (f *FS) URLInit(u *url.URL) (path.Relative, error)

Jump to

Keyboard shortcuts

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