MCPcopy Create free account

hub / github.com/dundee/gdu / functions

Functions1,255 in github.com/dundee/gdu

↓ 1 callersFunctioncheckAvailable
checkAvailable reports that the modernc SQLite driver is not available on this platform
pkg/analyze/sqlite_other.go:8
↓ 1 callersFunctioncollectTableTexts
(ui *UI)
tui/filter_test.go:462
↓ 1 callersFunctioncreateComplexZipFile
createComplexZipFile creates a zip file with complex nested structure
pkg/analyze/zipdir_integration_test.go:155
↓ 1 callersMethodcreateGrid
createGrid creates the main grid layout
tui/tui.go:213
↓ 1 callersMethodcreateTables
createTables creates the database schema if it doesn't exist
pkg/analyze/sqlite.go:57
↓ 1 callersFunctioncreateTestTarBz2File
(t *testing.T, path string)
pkg/analyze/tardir_test.go:67
↓ 1 callersMethodcreateUI
()
cmd/gdu/app/app.go:359
↓ 1 callersMethoddecreaseActiveWorkers
()
tui/background.go:95
↓ 1 callersMethoddeleteItem
(item fs.Item, shouldEmpty bool)
tui/background.go:31
↓ 1 callersMethoddeleteItemTree
deleteItemTree removes an item and all its descendants from the database within the given transaction.
pkg/analyze/sqlite.go:302
↓ 1 callersMethoddeleteWorker
()
tui/background.go:18
↓ 1 callersMethodencodeDirJSON
(writer io.Writer, topLevel bool)
pkg/analyze/sqlite.go:642
↓ 1 callersMethodencodeFileJSON
(writer io.Writer)
pkg/analyze/sqlite.go:701
↓ 1 callersFunctionfindBzip2Cmd
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 callersMethodformatTimeFilterInfo
formatTimeFilterInfo formats the time filter information for display
tui/tui.go:577
↓ 1 callersMethodformatTypeFilterInfo
(numberColor, textColor string)
tui/show.go:403
↓ 1 callersFunctionformatWithBinPrefix
(fsize float64, color string)
tui/format.go:239
↓ 1 callersMethodformatWithBinPrefix
(size int64)
stdout/stdout.go:553
↓ 1 callersMethodformatWithBinPrefix
(size int64)
report/export.go:221
↓ 1 callersFunctionformatWithDecPrefix
(size int64, color string)
tui/format.go:260
↓ 1 callersMethodformatWithDecPrefix
(size int64)
stdout/stdout.go:575
↓ 1 callersMethodformatWithDecPrefix
(size int64)
report/export.go:243
↓ 1 callersFunctiongetDeviceUsagePart
(item *device.Device, useOld bool)
tui/utils.go:26
↓ 1 callersMethodgetOptions
()
cmd/gdu/app/app.go:432
↓ 1 callersMethodgetPath
()
cmd/gdu/app/app.go:311
↓ 1 callersFunctiongetShellBin
()
tui/exec_windows.go:7
↓ 1 callersFunctiongetShellBin
()
tui/exec_other.go:11
↓ 1 callersFunctiongetSyscallStats
getSyscallStats extracts usage and inode info from os.FileInfo using syscall
pkg/analyze/dir_unix.go:44
↓ 1 callersMethodhandleClosingModals
(key *tcell.EventKey)
tui/keys.go:79
↓ 1 callersMethodhandleConfirmation
(key *tcell.EventKey)
tui/keys.go:95
↓ 1 callersMethodhandleCtrlZ
handle ctrl+z job control
tui/keys.go:135
↓ 1 callersMethodhandleFiltering
(key *tcell.EventKey)
tui/keys.go:224
↓ 1 callersMethodhandleHelp
(key *tcell.EventKey)
tui/keys.go:170
↓ 1 callersMethodhandleInfoPageEvents
(key *tcell.EventKey)
tui/keys.go:105
↓ 1 callersMethodhandleLeftRight
(key *tcell.EventKey)
tui/keys.go:211
↓ 1 callersMethodhandleMainActions
nolint: funlen // Why: there's a lot of options to handle
tui/keys.go:242
↓ 1 callersMethodhandleMark
()
tui/keys.go:423
↓ 1 callersMethodhandleQuit
(key *tcell.EventKey)
tui/keys.go:153
↓ 1 callersMethodhandleShell
(key *tcell.EventKey)
tui/keys.go:183
↓ 1 callersMethodhandleSorting
(key *tcell.EventKey)
tui/keys.go:342
↓ 1 callersMethodhandleToggles
(key *tcell.EventKey)
tui/keys.go:324
↓ 1 callersMethodignoreItem
()
tui/keys.go:437
↓ 1 callersMethodincreaseActiveWorkers
()
tui/background.go:89
↓ 1 callersFunctioninitConfig
()
cmd/gdu/main.go:112
↓ 1 callersMethodisDeleteAllowedWithFilter
isDeleteAllowedWithFilter checks if deletion is allowed when filters are active
tui/tui.go:586
↓ 1 callersFunctionmaxLength
(list []*device.Device, keyGetter func(*device.Device) string)
stdout/stdout.go:597
↓ 1 callersMethodopenItem
()
tui/actions.go:327
↓ 1 callersFunctionopenTarReader
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 callersMethodpersistArchive
(archiveDir *Dir, parentID int64)
pkg/analyze/sqlite.go:1154
↓ 1 callersMethodprintDirWithDepth
(dir fs.Item, currentDepth int)
stdout/stdout.go:374
↓ 1 callersMethodprintItem
(file fs.Item)
stdout/stdout.go:292
↓ 1 callersMethodprintMarked
()
tui/marked.go:150
↓ 1 callersMethodprocessArchiveEntry
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 callersFunctionprocessDir
(items []interface{})
report/import.go:42
↓ 1 callersMethodprocessDir
nolint:funlen
pkg/analyze/sqlite.go:1009
↓ 1 callersMethodprocessDir
(path string)
pkg/analyze/parallel_stable.go:43
↓ 1 callersMethodprocessDir
(path string)
pkg/analyze/stored.go:62
↓ 1 callersMethodprocessDir
(path string)
pkg/analyze/parallel.go:48
↓ 1 callersMethodprocessDir
(path string)
pkg/analyze/sequential.go:42
↓ 1 callersMethodprocessFile
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 callersFunctionprocessMounts
(mounts Devices, ignoreErrors bool)
pkg/device/dev_freebsd_darwin_other.go:78
↓ 1 callersMethodprocessSubDir
(path string, topDir *TopDir)
pkg/analyze/parallel_top_dir.go:159
↓ 1 callersFunctionreadMountOutput
(rdr io.Reader)
pkg/device/dev_freebsd_darwin_other.go:49
↓ 1 callersMethodrunAction
(ui UI, path string)
cmd/gdu/app/app.go:564
↓ 1 callersFunctionrunInBash
(cmd string)
pkg/analyze/sqlite_test.go:732
↓ 1 callersFunctionsetConfigFilePath
()
cmd/gdu/main.go:147
↓ 1 callersFunctionsetDefaults
()
cmd/gdu/main.go:123
↓ 1 callersMethodsetMaxProcs
()
cmd/gdu/app/app.go:318
↓ 1 callersMethodsetNoCross
(path string)
cmd/gdu/app/app.go:551
↓ 1 callersMethodshowReadingProgress
(doneChan chan struct{})
stdout/stdout.go:452
↓ 1 callersMethodsortDevices
()
tui/sort.go:79
↓ 1 callersMethodspawnShell
()
tui/exec_other.go:19
↓ 1 callersFunctionstopProcess
()
tui/exec_other.go:36
↓ 1 callersFunctionunescapeString
(str string)
pkg/device/dev_linux.go:102
↓ 1 callersMethodupdateProgress
(updateStatsDone <-chan struct{})
stdout/stdout.go:478
↓ 1 callersMethodupdateStatus
()
tui/status.go:54
↓ 1 callersMethodupdateStatusWorker
()
tui/status.go:47
↓ 1 callersFunctionwalkDir
(dir fs.Item, topList *TopList)
pkg/analyze/top.go:40
↓ 1 callersFunctionwriteTerminalProgress
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
MethodAddFile
AddFile adds a child file (no-op for SQLite items - children are in DB)
pkg/analyze/sqlite.go:754
MethodAnalyzeDir
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
MethodAnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/parallel_top_dir.go:40
MethodAnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/parallel_stable.go:25
MethodAnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/stored.go:33
MethodAnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/parallel.go:30
MethodAnalyzeDir
AnalyzeDir analyzes given path
pkg/analyze/sequential.go:25
MethodAnalyzeDir
AnalyzeDir returns dir with files with different size exponents
internal/common/ui_test.go:70
MethodAnalyzePath
AnalyzePath analyzes recursively disk usage in given path
stdout/stdout.go:189
MethodAnalyzePath
(path string, parentDir gfs.Item)
cmd/gdu/app/app_test.go:635
MethodAnalyzePath
AnalyzePath analyzes recursively disk usage in given path
report/export.go:103
FunctionBenchmarkAnalyzeDir
(b *testing.B)
pkg/analyze/dir_test.go:231
FunctionBenchmarkAnalyzeDirSeq
(b *testing.B)
pkg/analyze/sequential_test.go:194
FunctionBenchmarkSqliteAnalyzeDir
(b *testing.B)
pkg/analyze/sqlite_test.go:1020
MethodEncodeJSON
EncodeJSON encodes the item to JSON
pkg/analyze/sqlite.go:635
MethodEncodeJSON
EncodeJSON writes JSON representation of file
pkg/analyze/encode.go:59
MethodGetDevicesInfo
()
tui/keys_test.go:25
MethodGetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices (by calling Statfs syscall)
pkg/device/dev_freebsd_darwin_other.go:39
MethodGetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices
pkg/device/dev_other.go:14
MethodGetDone
GetDone returns channel for checking when analysis is done
pkg/analyze/analyzer.go:66
MethodGetDone
GetDone returns always Done
internal/common/ui_test.go:82
← previousnext →401–500 of 1,255, ranked by callers