Documentation ¶
Overview ¶
Package fake provides a fake in-memory implementation of block.Device.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBlockSize indicates that one of the provided arguments is not a // multiple of BlockSize(). ErrBlockSize = errors.New("argument is not a multiple of blocksize") // ErrOutOfBounds indicates that the requested range for a ReadAt or // WriteAt call is out of bounds. ErrOutOfBounds = errors.New("range is out of bounds") )
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device []byte
Device implements block.Device using a []byte.
Click to show internal directories.
Click to hide internal directories.