driver

package
v0.0.0-...-4d6a32e Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestDriver

func TestDriver(t *testing.T, driver Driver, wd string)

Types

type Driver

type Driver interface {
	PathJoin(segments ...string) string
	Status(file string) (*File, error)
	List(wd string) ([]File, error)
	Concatenate(file string, writer io.Writer) error
}

type File

type File struct {
	IsDir bool   `json:"isDir"`
	Name  string `json:"name"`
	Size  int64  `json:"size"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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