FsBackend

package
v0.0.0-...-0cb0dc6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FsBackend

type FsBackend struct {
	BasePath string
}

func (*FsBackend) FileExists

func (b *FsBackend) FileExists(filename string) bool

func (*FsBackend) GetDirectories

func (b *FsBackend) GetDirectories(dirname string) ([]string, error)

func (*FsBackend) GetFile

func (b *FsBackend) GetFile(filename string) ([]byte, error)

func (*FsBackend) GetFiles

func (b *FsBackend) GetFiles(dirname string) ([]string, error)

func (*FsBackend) GetFilesRecursive

func (b *FsBackend) GetFilesRecursive(dirname string) ([]string, error)

func (*FsBackend) MkdirAll

func (b *FsBackend) MkdirAll(dirname string) error

func (*FsBackend) PutFile

func (b *FsBackend) PutFile(filename string, content *bytes.Buffer) error

Jump to

Keyboard shortcuts

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