logic

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const BLOCKSIZE = 1024 * 1024 // 1MB

Variables

This section is empty.

Functions

func IsDirectory

func IsDirectory(name string) (bool, error)

func RemoveBaseDirectory

func RemoveBaseDirectory(base string, input string) string

Types

type Jcp

type Jcp struct {
	ProgressChannel  chan state.JcpProgress
	ConcurrencyLimit uint
	JcpState         state.JcpState
}

func MakeJcp

func MakeJcp(concurrencyLimit uint, jcpState state.JcpState) Jcp

func (Jcp) StartCopy

func (jcp Jcp) StartCopy(src string, dest string) error

Jump to

Keyboard shortcuts

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