Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrOutOfBounds bitmap out of bounds ErrOutOfBounds = errors.New("out of bounds") )
Functions ¶
This section is empty.
Types ¶
type PF ¶
type PF struct { Filepath string Hash string FileSize int64 PieceSize int64 PieceCount int Progress *Progress // contains filtered or unexported fields }
PF progress file
type Progress ¶
type Progress struct {
// contains filtered or unexported fields
}
Progress progress with bitmap
func LoadProgress ¶
LoadProgress load Progress from io.Reader
func (*Progress) FindFirstClear ¶
FindFirstClear find first unfinshed piece in progress, mask x runing
Click to show internal directories.
Click to hide internal directories.