uc_file_size

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sum

type Sum interface {
	// Evaluate folder entries
	Eval(path string, entries []mo_file.Entry)

	// Retrieve results
	Each(f func(path mo_path.DropboxPath, size mo_file_size.Size))
}

Sum up file entries. The implementation will not consider namespaces. The implementation is thread-safe.

func NewSum

func NewSum(depth int) Sum

Jump to

Keyboard shortcuts

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