dirsize

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryInfo

type DirectoryInfo struct {
	DirCount  int64
	FileCount int64
	TotalSize int64
}

func GetDirInfo

func GetDirInfo(fSys fs.FS) (dirInfo DirectoryInfo, errs []error)

GetDirInfo Traverse each root of the file tree in parallel returning the total file count and total size of all the files.

Jump to

Keyboard shortcuts

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