Files
rdu/structs.go
tom.chivert 0de0301840
build / build (push) Successful in 2m10s
added silent mode, changed default output mode
2024-08-21 12:03:17 +02:00

45 lines
486 B
Go

package main
import (
"syscall"
)
type Config struct {
verbose bool
vverbose bool
noninter bool
silent bool
fsOnly bool
dmin int64
threads int
top int
dir string
dirMount syscall.Statfs_t
}
type Dir struct {
path string
size int64
dirs []Dir
files []File
prev *Dir
}
type File struct {
name string
prev *Dir
size int64
}
type Ext struct {
ext string
size int64
count int
}
type Item struct {
isDir bool
dir *Dir
file *File
}