Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dundee/gdu
/ types & classes
Types & classes
80 in github.com/dundee/gdu
⨍
Functions
1,255
◇
Types & classes
80
↓ 7 callers
TypeAlias
ByApparentSize
ByApparentSize sorts files by apparent size
pkg/fs/file.go:110
↓ 3 callers
TypeAlias
ByName
ByName sorts devices by device name
pkg/device/dev.go:38
↓ 3 callers
TypeAlias
ByName
ByName sorts files by name
pkg/fs/file.go:136
↓ 3 callers
TypeAlias
ByUsedSize
ByUsedSize sorts devices by used size
pkg/device/dev.go:29
↓ 2 callers
TypeAlias
ByItemCount
ByItemCount sorts files by item count
pkg/fs/file.go:123
↓ 2 callers
TypeAlias
ByMtime
ByMtime sorts files by name
pkg/fs/file.go:143
Interface
Analyzer
Analyzer is type for dir analyzing function
internal/common/analyze.go:25
Struct
App
App defines the main application
cmd/gdu/app/app.go:182
Struct
BSDDevicesInfoGetter
BSDDevicesInfoGetter returns info for Darwin devices
pkg/device/dev_freebsd_darwin_other.go:18
Struct
BSDDevicesInfoGetter
BSDDevicesInfoGetter returns info for Darwin devices
pkg/device/dev_bsd.go:16
Struct
BaseAnalyzer
BaseAnalyzer provides common logic for all analyzers
pkg/analyze/analyzer.go:11
Struct
BrokenInput
report/import_test.go:107
Struct
CollapsedPath
CollapsedPath represents a directory chain that can be collapsed into a single display entry. For example, if directory "a" contains only directory "b
tui/utils.go:80
Struct
ColorStyle
ColorStyle defines styling of some item
cmd/gdu/app/app.go:150
Struct
CurrentProgress
CurrentProgress struct
internal/common/analyze.go:12
Struct
Device
Device struct
pkg/device/dev.go:6
TypeAlias
Devices
Devices if slice of Device items
pkg/device/dev.go:26
Interface
DevicesInfoGetter
DevicesInfoGetter is type for GetDevicesInfo function
pkg/device/dev.go:20
Struct
DevicesInfoGetterMock
DevicesInfoGetterMock is mock of DevicesInfoGetter
internal/testdev/dev.go:6
Struct
Dir
Dir struct
pkg/analyze/file.go:142
Struct
File
File struct
pkg/analyze/file.go:14
Struct
FileInfo
FileInfo is a wrapper around fs.FileInfo to overwrite the size.
pkg/annex/annex.go:56
TypeAlias
Files
Files - slice of pointers to File
pkg/fs/file.go:56
Struct
Flags
Flags define flags accepted by Run
cmd/gdu/app/app.go:52
Struct
FooterColorStyle
FooterColorStyle defines styling of footer
cmd/gdu/app/app.go:156
TypeAlias
HardLinkedItems
HardLinkedItems maps inode number to array of all hard linked items
pkg/fs/file.go:59
Struct
HeaderColorStyle
HeaderColorStyle defines styling of header
cmd/gdu/app/app.go:163
Interface
Item
Item is a FS item (file or dir)
pkg/fs/file.go:31
Struct
LinuxDevicesInfoGetter
LinuxDevicesInfoGetter returns info for Linux devices
pkg/device/dev_linux.go:14
Struct
MockedAnalyzer
internal/common/ui_test.go:58
Struct
MockedAnalyzer
MockedAnalyzer returns dir with files with different size exponents
internal/testanalyze/analyze.go:14
Struct
MockedApp
MockedApp is tview.Application with mocked methods
internal/testapp/app.go:28
FuncType
Option
Option is optional function customizing the behaviour of UI
tui/tui.go:112
Struct
OtherDevicesInfoGetter
OtherDevicesInfoGetter returns info for other devices
pkg/device/dev_other.go:8
Struct
ParallelAnalyzer
ParallelAnalyzer implements Analyzer
pkg/analyze/parallel.go:18
Struct
ParallelStableOrderAnalyzer
ParallelStableOrderAnalyzer implements Analyzer
pkg/analyze/parallel_stable.go:13
Struct
ParentDir
ParentDir represents parent directory of single file It is used to get path to parent directory of a file
pkg/analyze/stored.go:406
Struct
ProgressBar
ProgressBar is a tview primitive that renders a horizontal progress bar. It embeds tview.Box so it participates in layout and can optionally have a bo
tui/progressbar.go:14
Struct
ProgressModalOpts
ProgressModalOpts defines options for progress modal
cmd/gdu/app/app.go:144
Struct
ResultRow
ResultRow is a struct for a row in the result table
tui/tui.go:106
Struct
ResultRowColorStyle
ResultRowColorStyle defines styling of result row
cmd/gdu/app/app.go:170
Struct
SequentialAnalyzer
SequentialAnalyzer implements Analyzer
pkg/analyze/sequential.go:13
FuncType
ShouldDirBeIgnored
ShouldDirBeIgnored whether path should be ignored
internal/common/analyze.go:19
FuncType
ShouldFileBeIgnored
ShouldFileBeIgnored whether file should be ignored based on type
internal/common/analyze.go:22
TypeAlias
SignalGroup
internal/common/signal.go:5
Struct
SimpleDir
pkg/analyze/top_dir.go:49
Struct
SimpleFile
pkg/analyze/top_dir.go:40
TypeAlias
SortBy
SortBy represents the field to sort files by
pkg/fs/file.go:12
TypeAlias
SortOrder
SortOrder represents the sort direction
pkg/fs/file.go:23
Struct
Sorting
Sorting defines default sorting of items
cmd/gdu/app/app.go:176
Struct
SqliteAnalyzer
SqliteAnalyzer implements Analyzer using SQLite storage
pkg/analyze/sqlite.go:837
Struct
SqliteItem
SqliteItem represents a file or directory stored in SQLite
pkg/analyze/sqlite.go:504
Struct
SqliteStorage
SqliteStorage represents SQLite database storage
pkg/analyze/sqlite.go:21
Struct
Storage
Storage represents a badger storage
pkg/analyze/storage.go:26
Struct
StoredAnalyzer
StoredAnalyzer implements Analyzer
pkg/analyze/stored.go:17
Struct
StoredDir
StoredDir implements Dir item stored on disk
pkg/analyze/stored.go:204
Struct
Style
Style define style config
cmd/gdu/app/app.go:134
Struct
TarDir
TarDir represents a directory structure inside a tar archive
pkg/analyze/tardir.go:18
Struct
TarFile
TarFile represents a file inside a tar archive
pkg/analyze/tardir.go:24
Interface
TermApplication
TermApplication is interface for the terminal UI app
internal/common/app.go:11
Struct
TimeBound
TimeBound represents a parsed time filter value that can be either an instant or a date-only value
pkg/timefilter/timefilter.go:12
FuncType
TimeFilter
TimeFilter represents a function that determines if a file should be included based on its mtime
internal/common/analyze.go:38
Struct
TimeFilter
TimeFilter represents multiple time filtering criteria
pkg/timefilter/timefilter.go:23
Struct
TopDir
pkg/analyze/top_dir.go:15
Struct
TopDirAnalyzer
TopDirAnalyzer implements Analyzer It doesn't return the full directory structure, only the top level directory, thus is suitable only for non-interac
pkg/analyze/parallel_top_dir.go:22
Struct
TopList
TopList is a list of top largest files
pkg/analyze/top.go:10
Interface
UI
UI is common interface for both terminal UI and text output
cmd/gdu/app/app.go:31
Struct
UI
UI struct
stdout/stdout.go:20
Struct
UI
UI struct
tui/tui.go:26
Struct
UI
UI struct
internal/common/ui.go:11
Struct
UI
UI struct
report/export.go:23
Struct
WaitGroup
A WaitGroup waits for a collection of goroutines to finish. In contrast to sync.WaitGroup Add method can be called from a goroutine.
pkg/analyze/wait.go:7
Struct
ZipDir
ZipDir represents a directory structure inside a zip file
pkg/analyze/zipdir.go:15
Struct
ZipFile
ZipFile represents a file inside a zip archive
pkg/analyze/zipdir.go:21
Struct
deleteQueueItem
tui/tui.go:100
Struct
devicesInfoGetterErrMock
tui/keys_test.go:23
Struct
fileStat
fileStat holds stats for a single file entry computed by processFile.
pkg/analyze/sqlite.go:915
Struct
indexedItem
pkg/analyze/parallel_stable.go:44
Struct
multiCloser
multiCloser closes multiple io.Closer instances in sequence
pkg/analyze/tardir.go:81
Struct
uiTimeFilterMock
cmd/gdu/app/app_test.go:630