extfs

package
v0.0.0-...-50051f8 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHash

func GetHash(file string) ([]byte, error)

Types

type ExtFS

type ExtFS interface {
	List(path string, v interface{}) []string

	Get(file string, v interface{}) bool
	GetBytes(file string, v interface{}) []byte

	Set(file string, v interface{}, sync bool) error
	SetBytes(file string, data []byte, v interface{}, sync bool) error

	Move(oldPath string, newPath string)
	Delete(file string, v interface{}) error

	Close()
}

func NewExtFS

func NewExtFS(folder string) ExtFS

Jump to

Keyboard shortcuts

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