overlay

package
v0.0.0-...-d40ae05 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output interface {
	Truncate(int64) error
	WriteAt(p []byte, off int64) (n int, err error)
}

type Overlay

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

func NewOverlay

func NewOverlay() *Overlay

func (*Overlay) ApplyTo

func (o *Overlay) ApplyTo(dest Output) error

func (*Overlay) ClearJournal

func (o *Overlay) ClearJournal()

func (*Overlay) DumpJournal

func (o *Overlay) DumpJournal(target io.Writer) (err error)

func (*Overlay) GetCurrentSize

func (o *Overlay) GetCurrentSize() (n int64)

func (*Overlay) GetSizeRange

func (o *Overlay) GetSizeRange() (min int64, max int64)

func (*Overlay) LoadJournal

func (o *Overlay) LoadJournal(source io.Reader) (err error)

func (*Overlay) ReadOverAt

func (o *Overlay) ReadOverAt(p []byte, off int64) int

func (*Overlay) String

func (o *Overlay) String() string

func (*Overlay) Truncate

func (o *Overlay) Truncate(i int64) error

func (*Overlay) WriteAt

func (o *Overlay) WriteAt(p []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