source

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegisteredDriverName = "file"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	iofs.PartialDriver
	// contains filtered or unexported fields
}

func NewFile

func NewFile(tableReplacer table.Replacer) *File

func (*File) Open

func (f *File) Open(url string) (source.Driver, error)

func (*File) ReadDown

func (f *File) ReadDown(version uint) (r io.ReadCloser, identifier string, err error)

func (*File) ReadUp

func (f *File) ReadUp(version uint) (io.ReadCloser, string, error)

Jump to

Keyboard shortcuts

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