filemanager

package
v0.0.0-...-a79c061 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileManager

type FileManager struct {
	// contains filtered or unexported fields
}

func NewFileManager

func NewFileManager(lockpoolSize uint, cacheSize uint) FileManager

func (*FileManager) Delete

func (fm *FileManager) Delete(filepath string) error

func (*FileManager) Load

func (fm *FileManager) Load(filepath string) ([]byte, error)

func (*FileManager) Save

func (fm *FileManager) Save(filepath string, body []byte) error

func (*FileManager) Update

func (fm *FileManager) Update(filepath string, body []byte) error

Jump to

Keyboard shortcuts

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