allocator

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allocator

type Allocator struct {
	Files         []storage.File
	NeedHashCheck bool
	Error         error
	// contains filtered or unexported fields
}

func New

func New() *Allocator

func (*Allocator) Close

func (a *Allocator) Close()

func (*Allocator) Run

func (a *Allocator) Run(info *metainfo.Info, sto storage.Storage, progressC chan Progress, resultC chan *Allocator)

type Progress

type Progress struct {
	AllocatedSize int64
}

Jump to

Keyboard shortcuts

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