iotools

package
v0.0.0-...-b7e28ab Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SafeFile

type SafeFile struct {
	*os.File
	// contains filtered or unexported fields
}

func CreateSafeFile

func CreateSafeFile(name string) (file *SafeFile, err error)

func OpenSafeFile

func OpenSafeFile(name string) (file *SafeFile, err error)

func (*SafeFile) Sync

func (sf *SafeFile) Sync() error

func (*SafeFile) WriteAt

func (sf *SafeFile) WriteAt(b []byte, off int64) (n int, err error)

Jump to

Keyboard shortcuts

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