fs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(schema string, open OpenFunc)

func SplitSchema

func SplitSchema(path string) (schema, file string)

Types

type Dir

type Dir interface {
	Open(file string) (io.ReadCloser, error)
	Close() error
}

func Open

func Open(path string) (Dir, error)

type OpenFunc

type OpenFunc = func(file string) (Dir, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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