fs

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2017 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct{}

func (*FS) Abs

func (f *FS) Abs(path string) (string, error)

func (*FS) IsDirEmpty

func (f *FS) IsDirEmpty(path string) (bool, error)

func (*FS) MakeDirAll

func (f *FS) MakeDirAll(path string) error

func (*FS) OpenFile

func (f *FS) OpenFile(path string) (ReadResetWriteCloser, int64, error)

func (*FS) ReadFile

func (f *FS) ReadFile(path string) (io.ReadCloser, int64, error)

func (*FS) TarApp

func (f *FS) TarApp(path string) (app io.ReadCloser, err error)

func (*FS) WriteFile

func (f *FS) WriteFile(path string) (io.WriteCloser, error)

type ReadResetWriteCloser

type ReadResetWriteCloser interface {
	io.ReadWriteCloser
	Reset() error
}

Jump to

Keyboard shortcuts

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