fs

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeFileSystem

func ChangeFileSystem(filesystem FileSystem)

Useful for tests. Not thread safe.

Types

type File

type File interface {
	io.ReadWriteCloser
}

func Open

func Open(name string) (File, error)

type FileSystem

type FileSystem interface {
	Open(name string) (File, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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