osfs

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: Apache-2.0 Imports: 5 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 {
	*os.File
	// contains filtered or unexported fields
}

File implements vfs.File for the current target operating system.

func Open

func Open(path string, mode os.FileMode) (*File, error)

func (*File) Lock added in v0.0.7

func (f *File) Lock(exclusive, blocking bool) error

func (*File) Size

func (f *File) Size() (int64, error)

func (*File) Stat

func (f *File) Stat() (os.FileInfo, error)

func (*File) Truncate

func (f *File) Truncate(sz int64) error

func (*File) Unlock added in v0.0.7

func (f *File) Unlock() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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