vfsblockstore

package
v0.1.5-rc1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KIND = "vfs"

	VFS_PATH = "vfs.path"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VfsBlockStoreDriver

type VfsBlockStoreDriver struct {
	ID   string
	Path string
}

func (*VfsBlockStoreDriver) CopyToPath

func (v *VfsBlockStoreDriver) CopyToPath(srcFileName string, path string) error

func (*VfsBlockStoreDriver) FileExists

func (v *VfsBlockStoreDriver) FileExists(path, fileName string) bool

func (*VfsBlockStoreDriver) FileSize

func (v *VfsBlockStoreDriver) FileSize(path, fileName string) int64

func (*VfsBlockStoreDriver) FinalizeInit

func (v *VfsBlockStoreDriver) FinalizeInit(configFile, id string) error

func (*VfsBlockStoreDriver) Kind

func (v *VfsBlockStoreDriver) Kind() string

func (*VfsBlockStoreDriver) List

func (v *VfsBlockStoreDriver) List(path string) ([]string, error)

func (*VfsBlockStoreDriver) MkDirAll

func (v *VfsBlockStoreDriver) MkDirAll(dirName string) error

func (*VfsBlockStoreDriver) Read

func (v *VfsBlockStoreDriver) Read(srcPath, srcFileName string, data []byte) error

func (*VfsBlockStoreDriver) RemoveAll

func (v *VfsBlockStoreDriver) RemoveAll(name string) error

func (*VfsBlockStoreDriver) Write

func (v *VfsBlockStoreDriver) Write(data []byte, dstPath, dstFileName string) error

Jump to

Keyboard shortcuts

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