Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dundee/gdu
/ functions
Functions
1,255 in github.com/dundee/gdu
⨍
Functions
1,255
◇
Types & classes
80
↓ 1 callers
Function
checkAvailable
checkAvailable reports that the modernc SQLite driver is not available on this platform
pkg/analyze/sqlite_other.go:8
↓ 1 callers
Function
collectTableTexts
(ui *UI)
tui/filter_test.go:462
↓ 1 callers
Function
createComplexZipFile
createComplexZipFile creates a zip file with complex nested structure
pkg/analyze/zipdir_integration_test.go:155
↓ 1 callers
Method
createGrid
createGrid creates the main grid layout
tui/tui.go:213
↓ 1 callers
Method
createTables
createTables creates the database schema if it doesn't exist
pkg/analyze/sqlite.go:57
↓ 1 callers
Function
createTestTarBz2File
(t *testing.T, path string)
pkg/analyze/tardir_test.go:67
↓ 1 callers
Method
createUI
()
cmd/gdu/app/app.go:359
↓ 1 callers
Method
decreaseActiveWorkers
()
tui/background.go:95
↓ 1 callers
Method
deleteItem
(item fs.Item, shouldEmpty bool)
tui/background.go:31
↓ 1 callers
Method
deleteItemTree
deleteItemTree removes an item and all its descendants from the database within the given transaction.
pkg/analyze/sqlite.go:302
↓ 1 callers
Method
deleteWorker
()
tui/background.go:18
↓ 1 callers
Method
encodeDirJSON
(writer io.Writer, topLevel bool)
pkg/analyze/sqlite.go:642
↓ 1 callers
Method
encodeFileJSON
(writer io.Writer)
pkg/analyze/sqlite.go:701
↓ 1 callers
Function
findBzip2Cmd
findBzip2Cmd returns a function that compresses data with bzip2, or an error if bzip2 is not available on the system.
pkg/analyze/tardir_test.go:122
↓ 1 callers
Method
formatTimeFilterInfo
formatTimeFilterInfo formats the time filter information for display
tui/tui.go:577
↓ 1 callers
Method
formatTypeFilterInfo
(numberColor, textColor string)
tui/show.go:403
↓ 1 callers
Function
formatWithBinPrefix
(fsize float64, color string)
tui/format.go:239
↓ 1 callers
Method
formatWithBinPrefix
(size int64)
stdout/stdout.go:553
↓ 1 callers
Method
formatWithBinPrefix
(size int64)
report/export.go:221
↓ 1 callers
Function
formatWithDecPrefix
(size int64, color string)
tui/format.go:260
↓ 1 callers
Method
formatWithDecPrefix
(size int64)
stdout/stdout.go:575
↓ 1 callers
Method
formatWithDecPrefix
(size int64)
report/export.go:243
↓ 1 callers
Function
getDeviceUsagePart
(item *device.Device, useOld bool)
tui/utils.go:26
↓ 1 callers
Method
getOptions
()
cmd/gdu/app/app.go:432
↓ 1 callers
Method
getPath
()
cmd/gdu/app/app.go:311
↓ 1 callers
Function
getShellBin
()
tui/exec_windows.go:7
↓ 1 callers
Function
getShellBin
()
tui/exec_other.go:11
↓ 1 callers
Function
getSyscallStats
getSyscallStats extracts usage and inode info from os.FileInfo using syscall
pkg/analyze/dir_unix.go:44
↓ 1 callers
Method
handleClosingModals
(key *tcell.EventKey)
tui/keys.go:79
↓ 1 callers
Method
handleConfirmation
(key *tcell.EventKey)
tui/keys.go:95
↓ 1 callers
Method
handleCtrlZ
handle ctrl+z job control
tui/keys.go:135
↓ 1 callers
Method
handleFiltering
(key *tcell.EventKey)
tui/keys.go:224
↓ 1 callers
Method
handleHelp
(key *tcell.EventKey)
tui/keys.go:170
↓ 1 callers
Method
handleInfoPageEvents
(key *tcell.EventKey)
tui/keys.go:105
↓ 1 callers
Method
handleLeftRight
(key *tcell.EventKey)
tui/keys.go:211
↓ 1 callers
Method
handleMainActions
nolint: funlen // Why: there's a lot of options to handle
tui/keys.go:242
↓ 1 callers
Method
handleMark
()
tui/keys.go:423
↓ 1 callers
Method
handleQuit
(key *tcell.EventKey)
tui/keys.go:153
↓ 1 callers
Method
handleShell
(key *tcell.EventKey)
tui/keys.go:183
↓ 1 callers
Method
handleSorting
(key *tcell.EventKey)
tui/keys.go:342
↓ 1 callers
Method
handleToggles
(key *tcell.EventKey)
tui/keys.go:324
↓ 1 callers
Method
ignoreItem
()
tui/keys.go:437
↓ 1 callers
Method
increaseActiveWorkers
()
tui/background.go:89
↓ 1 callers
Function
initConfig
()
cmd/gdu/main.go:112
↓ 1 callers
Method
isDeleteAllowedWithFilter
isDeleteAllowedWithFilter checks if deletion is allowed when filters are active
tui/tui.go:586
↓ 1 callers
Function
maxLength
(list []*device.Device, keyGetter func(*device.Device) string)
stdout/stdout.go:597
↓ 1 callers
Method
openItem
()
tui/actions.go:327
↓ 1 callers
Function
openTarReader
openTarReader opens a tar archive and returns a tar.Reader and a Closer for cleanup. It automatically wraps the reader with the appropriate decompress
pkg/analyze/tardir.go:97
↓ 1 callers
Method
persistArchive
(archiveDir *Dir, parentID int64)
pkg/analyze/sqlite.go:1154
↓ 1 callers
Method
printDirWithDepth
(dir fs.Item, currentDepth int)
stdout/stdout.go:374
↓ 1 callers
Method
printItem
(file fs.Item)
stdout/stdout.go:292
↓ 1 callers
Method
printMarked
()
tui/marked.go:150
↓ 1 callers
Method
processArchiveEntry
processArchiveEntry tries to expand name/entryPath as a zip or tar archive. Returns the archive *Dir on success, or nil on failure (in which case err
pkg/analyze/sqlite.go:927
↓ 1 callers
Function
processDir
(items []interface{})
report/import.go:42
↓ 1 callers
Method
processDir
nolint:funlen
pkg/analyze/sqlite.go:1009
↓ 1 callers
Method
processDir
(path string)
pkg/analyze/parallel_stable.go:43
↓ 1 callers
Method
processDir
(path string)
pkg/analyze/stored.go:62
↓ 1 callers
Method
processDir
(path string)
pkg/analyze/parallel.go:48
↓ 1 callers
Method
processDir
(path string)
pkg/analyze/sequential.go:42
↓ 1 callers
Method
processFile
processFile resolves a single non-directory entry and returns its stats. It returns nil when the file should be skipped entirely.
pkg/analyze/sqlite.go:949
↓ 1 callers
Function
processMounts
(mounts Devices, ignoreErrors bool)
pkg/device/dev_freebsd_darwin_other.go:78
↓ 1 callers
Method
processSubDir
(path string, topDir *TopDir)
pkg/analyze/parallel_top_dir.go:159
↓ 1 callers
Function
readMountOutput
(rdr io.Reader)
pkg/device/dev_freebsd_darwin_other.go:49
↓ 1 callers
Method
runAction
(ui UI, path string)
cmd/gdu/app/app.go:564
↓ 1 callers
Function
runInBash
(cmd string)
pkg/analyze/sqlite_test.go:732
↓ 1 callers
Function
setConfigFilePath
()
cmd/gdu/main.go:147
↓ 1 callers
Function
setDefaults
()
cmd/gdu/main.go:123
↓ 1 callers
Method
setMaxProcs
()
cmd/gdu/app/app.go:318
↓ 1 callers
Method
setNoCross
(path string)
cmd/gdu/app/app.go:551
↓ 1 callers
Method
showReadingProgress
(doneChan chan struct{})
stdout/stdout.go:452
↓ 1 callers
Method
sortDevices
()
tui/sort.go:79
↓ 1 callers
Method
spawnShell
()
tui/exec_other.go:19
↓ 1 callers
Function
stopProcess
()
tui/exec_other.go:36
↓ 1 callers
Function
unescapeString
(str string)
pkg/device/dev_linux.go:102
↓ 1 callers
Method
updateProgress
(updateStatsDone <-chan struct{})
stdout/stdout.go:478
↓ 1 callers
Method
updateStatus
()
tui/status.go:54
↓ 1 callers
Method
updateStatusWorker
()
tui/status.go:47
↓ 1 callers
Function
walkDir
(dir fs.Item, topList *TopList)
pkg/analyze/top.go:40
↓ 1 callers
Function
writeTerminalProgress
writeTerminalProgress emits an OSC 9;4 sequence to update the terminal tab/taskbar progress indicator. percent must be in the range [0, 100]. This seq
tui/progress.go:75
Method
AddFile
AddFile adds a child file (no-op for SQLite items - children are in DB)
pkg/analyze/sqlite.go:754
Method
AnalyzeDir
AnalyzeDir analyzes the given path and stores results in SQLite. If the database already contains data, it loads from the database instead of re-scann
pkg/analyze/sqlite.go:862
Method
AnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/parallel_top_dir.go:40
Method
AnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/parallel_stable.go:25
Method
AnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/stored.go:33
Method
AnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/parallel.go:30
Method
AnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/sequential.go:25
Method
AnalyzeDir
AnalyzeDir returns dir with files with different size exponents
internal/common/ui_test.go:70
Method
AnalyzePath
AnalyzePath analyzes recursively disk usage in given path
stdout/stdout.go:189
Method
AnalyzePath
(path string, parentDir gfs.Item)
cmd/gdu/app/app_test.go:635
Method
AnalyzePath
AnalyzePath analyzes recursively disk usage in given path
report/export.go:103
Function
BenchmarkAnalyzeDir
(b *testing.B)
pkg/analyze/dir_test.go:231
Function
BenchmarkAnalyzeDirSeq
(b *testing.B)
pkg/analyze/sequential_test.go:194
Function
BenchmarkSqliteAnalyzeDir
(b *testing.B)
pkg/analyze/sqlite_test.go:1020
Method
EncodeJSON
EncodeJSON encodes the item to JSON
pkg/analyze/sqlite.go:635
Method
EncodeJSON
EncodeJSON writes JSON representation of file
pkg/analyze/encode.go:59
Method
GetDevicesInfo
()
tui/keys_test.go:25
Method
GetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices (by calling Statfs syscall)
pkg/device/dev_freebsd_darwin_other.go:39
Method
GetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices
pkg/device/dev_other.go:14
Method
GetDone
GetDone returns channel for checking when analysis is done
pkg/analyze/analyzer.go:66
Method
GetDone
GetDone returns always Done
internal/common/ui_test.go:82
← previous
next →
401–500 of 1,255, ranked by callers