fs

package
v0.0.0-...-ac06f80 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	// Root directory to store files in
	Root string
	// File permission on the root directory
	Perm fs.FileMode
}

func (*FS) Build

func (f *FS) Build() (dal.Operator, error)

func (*FS) Read

func (f *FS) Read(path string, p []byte) (n int, err error)

func (*FS) Stat

func (f *FS) Stat(path string) (meta *dal.Metadata, err error)

func (*FS) Write

func (f *FS) Write(path string, p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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