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
↓ 3 callers
Method
UpdateItem
UpdateItem updates an existing item's stats
pkg/analyze/sqlite.go:284
↓ 3 callers
Function
addString
(buff *[]byte, val string)
pkg/analyze/encode.go:94
↓ 3 callers
Method
confirmDeletionMarked
(shouldEmpty bool)
tui/marked.go:113
↓ 3 callers
Method
confirmExport
()
tui/actions.go:350
↓ 3 callers
Function
createTestTarGzFile
(t *testing.T, path string)
pkg/analyze/tardir_test.go:57
↓ 3 callers
Function
createTestTarXzFile
(t *testing.T, path string)
pkg/analyze/tardir_test.go:108
↓ 3 callers
Method
delete
(shouldEmpty bool)
tui/actions.go:185
↓ 3 callers
Method
fileItemMarked
(row int)
tui/marked.go:14
↓ 3 callers
Function
getFileNames
getFileNames recursively collects file names from a directory tree
pkg/analyze/dir_test.go:346
↓ 3 callers
Function
getUsageGraphOld
(part int)
tui/utils.go:53
↓ 3 callers
Method
hideFilterInput
()
tui/filter.go:22
↓ 3 callers
Method
hideTypeFilterInput
()
tui/filter.go:70
↓ 3 callers
Function
maxInt
(x, y int)
stdout/stdout.go:609
↓ 3 callers
Function
parseDuration
parseDuration parses a duration string with support for extended units Supports: s, m, h, d (=24h), w (=7d), mo (=30d), y (=365d) Examples: "90m", "2h
pkg/timefilter/timefilter.go:169
↓ 3 callers
Method
printItemPath
(file fs.Item)
stdout/stdout.go:346
↓ 3 callers
Method
printMarkedPaths
printMarkedPaths prints the paths of the marked items to the output
tui/tui.go:600
↓ 3 callers
Method
printTotalItem
(file fs.Item)
stdout/stdout.go:269
↓ 3 callers
Function
readMountOutput
(rdr io.Reader)
pkg/device/dev_bsd.go:45
↓ 3 callers
Method
setTimeFilters
(ui UI)
cmd/gdu/app/app.go:329
↓ 3 callers
Method
showDir
(dir fs.Item)
stdout/stdout.go:251
↓ 2 callers
Method
AnalyzePath
AnalyzePath analyzes recursively disk usage for given path
tui/actions.go:54
↓ 2 callers
Method
ClearItems
ClearItems removes all items from the database
pkg/analyze/sqlite.go:108
↓ 2 callers
Function
EmptyFileFromDir
EmptyFileFromDir empties file from dir (truncates to 0 bytes)
pkg/remove/remove.go:22
↓ 2 callers
Method
GetDevicesInfo
()
pkg/device/dev.go:22
↓ 2 callers
Method
GetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices (by calling Statfs syscall)
pkg/device/dev_linux.go:42
↓ 2 callers
Method
GetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices (by calling Statfs syscall)
pkg/device/dev_bsd.go:36
↓ 2 callers
Method
GetDevicesInfo
GetDevicesInfo returns mocked devices
internal/testdev/dev.go:11
↓ 2 callers
Method
GetFiles
GetFiles returns children as a sorted iterator
pkg/analyze/sqlite.go:759
↓ 2 callers
Method
GetFiles
GetFiles returns all files in directory
pkg/analyze/file.go:112
↓ 2 callers
Method
GetFiles
GetFiles returns all files in directory as a sorted iterator
pkg/analyze/file.go:156
↓ 2 callers
Method
GetFiles
(sortBy fs.SortBy, order fs.SortOrder)
pkg/analyze/top_dir.go:101
↓ 2 callers
Method
GetMounts
GetMounts returns all mounted filesystems from /proc/mounts
internal/testdev/dev.go:16
↓ 2 callers
Method
GetMtime
GetMtime returns mtime of the file
pkg/analyze/file.go:65
↓ 2 callers
Method
GetName
GetName returns the name of the item
pkg/analyze/sqlite.go:535
↓ 2 callers
Method
GetPath
GetPath returns absolute path of the file
pkg/analyze/file.go:209
↓ 2 callers
Method
GetRootItem
GetRootItem returns the root item (item with no parent)
pkg/analyze/sqlite.go:219
↓ 2 callers
Method
GetType
GetType returns name type of item
pkg/analyze/file.go:70
↓ 2 callers
Method
LoadDir
LoadDir saves item info into badger DB
pkg/analyze/storage.go:99
↓ 2 callers
Method
Read
(p []byte)
report/import_test.go:109
↓ 2 callers
Method
ReadFromStorage
(storagePath, path string)
cmd/gdu/app/app.go:35
↓ 2 callers
Method
RemoveByName
RemoveByName removes File from Files
pkg/fs/file.go:91
↓ 2 callers
Method
RemoveFileByName
(name string)
pkg/fs/file.go:51
↓ 2 callers
Method
SetArchiveBrowsing
SetArchiveBrowsing does nothing
internal/testanalyze/analyze.go:94
↓ 2 callers
Method
SetCurrentItemNameMaxLen
SetCurrentItemNameMaxLen sets the maximum length of the path of the currently processed item to be shown in the progress modal
tui/tui.go:280
↓ 2 callers
Method
SetDefaultSorting
SetDefaultSorting sets the default sorting
tui/sort.go:21
↓ 2 callers
Method
SetFileTypeFilter
(filter ShouldFileBeIgnored)
internal/common/analyze.go:31
↓ 2 callers
Method
SetFileTypeFilter
SetFileTypeFilter does nothing
internal/testanalyze/analyze.go:97
↓ 2 callers
Method
SetFollowSymlinks
SetFollowSymlinks does nothing
internal/testanalyze/analyze.go:85
↓ 2 callers
Method
SetFooterBackgroundColor
SetFooterBackgroundColor sets the color for the footer background
tui/tui.go:244
↓ 2 callers
Method
SetFooterNumberColor
SetFooterNumberColor sets the color for the footer number
tui/tui.go:249
↓ 2 callers
Method
SetFooterTextColor
SetFooterTextColor sets the color for the footer text
tui/tui.go:239
↓ 2 callers
Method
SetHeaderBackgroundColor
SetHeaderBackgroundColor sets the color for the header background
tui/tui.go:259
↓ 2 callers
Method
SetHeaderHidden
SetHeaderHidden sets the flag to hide the header
tui/tui.go:264
↓ 2 callers
Method
SetHeaderTextColor
SetHeaderTextColor sets the color for the header text
tui/tui.go:254
↓ 2 callers
Method
SetMouseCapture
( capture func(event *tcell.EventMouse, action tview.MouseAction) (*tcell.EventMouse, tview.MouseAction), )
internal/common/app.go:18
↓ 2 callers
Method
SetResultRowDirectoryColor
SetResultRowDirectoryColor sets the color for the result row directory
tui/tui.go:269
↓ 2 callers
Method
SetResultRowNumberColor
SetResultRowNumberColor sets the color for the result row number
tui/tui.go:274
↓ 2 callers
Method
SetRoot
(root tview.Primitive, fullscreen bool)
internal/common/app.go:15
↓ 2 callers
Method
SetSelectedBackgroundColor
SetSelectedBackgroundColor sets the color for the highlighted selected text
tui/tui.go:234
↓ 2 callers
Method
SetSelectedTextColor
SetSelectedTextColor sets the color for the highlighted selected text
tui/tui.go:229
↓ 2 callers
Method
SetShowAnnexedSize
SetShowAnnexedSize does nothing
internal/testanalyze/analyze.go:88
↓ 2 callers
Method
SetShowItemCount
()
stdout/stdout.go:112
↓ 2 callers
Method
SetShowMTime
SetShowMTime sets the flag to show last modification time of items in directory
tui/tui.go:332
↓ 2 callers
Method
SetTimeFilter
SetTimeFilter does nothing
internal/testanalyze/analyze.go:91
↓ 2 callers
Method
SetUseColor
SetUseColor controls whether the filled segment is highlighted with colour.
tui/progressbar.go:31
↓ 2 callers
Method
ShouldFileBeIgnoredByType
ShouldFileBeIgnoredByType returns true if file should be ignored based on its extension
internal/common/ignore.go:136
↓ 2 callers
Method
ShouldFileBeIncludedByType
ShouldFileBeIncludedByType returns true if file should be included based on its extension
internal/common/ignore.go:161
↓ 2 callers
Method
UpdateStats
UpdateStats recursively updates size and item count
pkg/analyze/file.go:226
↓ 2 callers
Method
UseOldProgressRunes
()
stdout/stdout.go:116
↓ 2 callers
Method
Wait
()
internal/common/signal.go:7
↓ 2 callers
Function
addSqliteString
(buff *[]byte, val string)
pkg/analyze/sqlite.go:735
↓ 2 callers
Method
checkCount
()
pkg/analyze/storage.go:139
↓ 2 callers
Function
clearTerminalProgress
clearTerminalProgress removes the terminal tab/taskbar progress indicator.
tui/progress.go:80
↓ 2 callers
Method
exportAnalysis
()
tui/actions.go:373
↓ 2 callers
Method
exportDir
(dir fs.Item, waitWritten *sync.WaitGroup)
report/export.go:130
↓ 2 callers
Method
formatHelpTextFor
()
tui/show.go:369
↓ 2 callers
Function
getDevicesInfoMock
func printBuffer(buff *bytes.Buffer) { for i, x := range buff.String() { println(i, string(x)) } }
stdout/stdout_test.go:453
↓ 2 callers
Function
getPlatformSpecificUsageAndMli
(info os.FileInfo)
pkg/analyze/dir_unix.go:13
↓ 2 callers
Method
getSortParams
getSortParams returns the current sort parameters as fs.SortBy and fs.SortOrder
tui/sort.go:52
↓ 2 callers
Method
handleDelete
(shouldEmpty bool)
tui/keys.go:405
↓ 2 callers
Method
handleRight
()
tui/keys.go:392
↓ 2 callers
Method
hasActiveTimeFilter
hasActiveTimeFilter returns true if any time filter is active
tui/tui.go:572
↓ 2 callers
Method
loadFiles
loadFiles loads files from storage or returns cached files
pkg/analyze/stored.go:245
↓ 2 callers
Function
modal
(p tview.Primitive, width, height int)
tui/utils.go:67
↓ 2 callers
Method
printTopFiles
(file fs.Item)
stdout/stdout.go:262
↓ 2 callers
Method
queueForDeletion
(items []fs.Item, shouldEmpty bool)
tui/background.go:8
↓ 2 callers
Method
rescanDir
()
tui/tui.go:385
↓ 2 callers
Method
resetSorting
()
tui/tui.go:380
↓ 2 callers
Function
setDefaultConfigFilePath
()
cmd/gdu/main.go:161
↓ 2 callers
Method
showDevices
()
tui/show.go:244
↓ 2 callers
Method
showInfo
()
tui/actions.go:265
↓ 2 callers
Method
toggleStatusBar
(show bool)
tui/status.go:11
↓ 2 callers
Method
updateProgress
()
report/export.go:169
↓ 1 callers
Method
AddFile
AddFile panics on file
pkg/analyze/file.go:127
↓ 1 callers
Method
AddFile
(fs.Item)
pkg/analyze/stored.go:426
↓ 1 callers
Method
AddFile
(fs.Item)
pkg/analyze/top_dir.go:100
↓ 1 callers
Method
AnalyzeDir
AnalyzeDir returns dir with files with different size exponents
internal/testanalyze/analyze.go:17
↓ 1 callers
Method
EncodeJSON
EncodeJSON encodes zip file to JSON
pkg/analyze/zipdir.go:38
↓ 1 callers
Method
EncodeJSON
EncodeJSON encodes zip directory to JSON
pkg/analyze/zipdir.go:54
↓ 1 callers
Method
EncodeJSON
EncodeJSON encodes tar file to JSON
pkg/analyze/tardir.go:41
← previous
next →
201–300 of 1,255, ranked by callers