resumable

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

func NewState

func NewState(defaultDiskPath, backupName, command string, params map[string]interface{}) *State

func (*State) AppendToState

func (s *State) AppendToState(path string, size int64)

func (*State) Close

func (s *State) Close()

func (*State) GetParams

func (s *State) GetParams() map[string]interface{}

func (*State) IsAlreadyProcessed

func (s *State) IsAlreadyProcessed(path string) (bool, int64)

func (*State) IsAlreadyProcessedBool

func (s *State) IsAlreadyProcessedBool(path string) bool

func (*State) LoadParams

func (s *State) LoadParams()

func (*State) LoadState

func (s *State) LoadState()

Jump to

Keyboard shortcuts

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