file

package
v0.0.0-...-ce71dfa Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2012 License: BSD-2-Clause-Views Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func New

func New(path string) *File

func (*File) Create

func (f *File) Create() error

func (*File) Exists

func (f *File) Exists() (bool, error)

func (*File) Name

func (f *File) Name() string

func (*File) Path

func (f *File) Path() string

func (*File) Read

func (f *File) Read() ([]byte, error)

func (*File) Remove

func (f *File) Remove() error

func (*File) Rename

func (f *File) Rename(newName string) error

Copied from github.com/opesun/frame/impl/directory ... what could I do...

func (*File) Write

func (f *File) Write(b []byte) error

Jump to

Keyboard shortcuts

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