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
Method
EncodeJSON
EncodeJSON encodes tar directory to JSON
pkg/analyze/tardir.go:56
↓ 1 callers
Method
EncodeJSON
EncodeJSON writes JSON representation of dir
pkg/analyze/encode.go:10
↓ 1 callers
Method
EncodeJSON
(writer io.Writer, topLevel bool)
pkg/analyze/stored.go:424
↓ 1 callers
Method
EncodeJSON
(writer io.Writer, topLevel bool)
pkg/analyze/top_dir.go:76
↓ 1 callers
Function
Execute
Execute runs given bin path via exec.Command call
tui/exec.go:9
↓ 1 callers
Method
FormatForDisplay
FormatForDisplay returns a formatted string showing the active time filters This shows what the program actually parsed and is acting on
pkg/timefilter/timefilter.go:103
↓ 1 callers
Method
GetChildByName
GetChildByName returns a child item by its name and parent ID
pkg/analyze/sqlite.go:358
↓ 1 callers
Method
GetDone
GetDone returns always Done
internal/testanalyze/analyze.go:75
↓ 1 callers
Method
GetFiles
GetFiles returns files in directory as a sorted iterator If files are already cached, use them Otherwise load them from storage
pkg/analyze/stored.go:231
↓ 1 callers
Method
GetFiles
(fs.SortBy, fs.SortOrder)
pkg/analyze/stored.go:427
↓ 1 callers
Method
GetFilesLocked
GetFilesLocked returns all files in directory as a sorted iterator It is safe to call this function from multiple goroutines
pkg/analyze/file.go:173
↓ 1 callers
Method
GetFilesLocked
(fs.SortBy, fs.SortOrder)
pkg/analyze/stored.go:428
↓ 1 callers
Method
GetFilesLocked
(fs.SortBy, fs.SortOrder)
pkg/analyze/top_dir.go:133
↓ 1 callers
Method
GetFlag
()
pkg/analyze/stored.go:414
↓ 1 callers
Method
GetFlag
()
pkg/analyze/top_dir.go:68
↓ 1 callers
Method
GetItemCount
()
pkg/analyze/stored.go:420
↓ 1 callers
Method
GetItemCount
()
pkg/analyze/top_dir.go:72
↓ 1 callers
Method
GetItemStats
( linkedItems fs.HardLinkedItems, )
pkg/analyze/stored.go:434
↓ 1 callers
Method
GetItemStats
(linkedItems fs.HardLinkedItems)
pkg/analyze/top_dir.go:77
↓ 1 callers
Method
GetMounts
()
pkg/device/dev.go:21
↓ 1 callers
Method
GetMounts
GetMounts returns all mounted filesystems from /proc/mounts
pkg/device/dev_linux.go:22
↓ 1 callers
Method
GetMounts
GetMounts returns all mounted filesystems from output of /sbin/mount
pkg/device/dev_freebsd_darwin_other.go:26
↓ 1 callers
Method
GetMounts
GetMounts returns all mounted filesystems from output of /sbin/mount
pkg/device/dev_bsd.go:24
↓ 1 callers
Method
GetMtime
()
pkg/analyze/stored.go:419
↓ 1 callers
Method
GetMtime
()
pkg/analyze/top_dir.go:71
↓ 1 callers
Method
GetMultiLinkedInode
GetMultiLinkedInode returns inode number of multilinked file
pkg/analyze/file.go:83
↓ 1 callers
Method
GetMultiLinkedInode
()
pkg/analyze/stored.go:423
↓ 1 callers
Method
GetMultiLinkedInode
()
pkg/analyze/top_dir.go:75
↓ 1 callers
Method
GetName
GetName returns name of dir
pkg/analyze/file.go:25
↓ 1 callers
Method
GetName
()
pkg/analyze/stored.go:413
↓ 1 callers
Method
GetName
()
pkg/analyze/top_dir.go:55
↓ 1 callers
Method
GetParent
GetParent returns the parent item
pkg/analyze/sqlite.go:589
↓ 1 callers
Method
GetParent
GetParent returns parent dir
pkg/analyze/file.go:35
↓ 1 callers
Method
GetParent
()
pkg/analyze/stored.go:421
↓ 1 callers
Method
GetParent
()
pkg/analyze/top_dir.go:73
↓ 1 callers
Method
GetParentLocked
GetParentLocked returns the in-memory parent without hitting the database. Used inside RemoveFile where storage.m is already write-locked.
pkg/analyze/sqlite.go:622
↓ 1 callers
Method
GetPath
GetPath returns the virtual path for zip file
pkg/analyze/zipdir.go:28
↓ 1 callers
Method
GetPath
GetPath returns the full path of the item
pkg/analyze/sqlite.go:521
↓ 1 callers
Method
GetPath
GetPath returns the virtual path for tar file
pkg/analyze/tardir.go:31
↓ 1 callers
Method
GetPath
()
pkg/analyze/top_dir.go:67
↓ 1 callers
Method
GetProgress
()
pkg/analyze/analyzer.go:75
↓ 1 callers
Method
GetProgress
GetProgress returns empty progress
internal/testanalyze/analyze.go:70
↓ 1 callers
Method
GetSize
()
pkg/analyze/stored.go:416
↓ 1 callers
Method
GetSize
()
pkg/analyze/top_dir.go:63
↓ 1 callers
Method
GetTopDir
GetTopDir returns top directory
pkg/analyze/storage.go:46
↓ 1 callers
Method
GetType
GetType returns name type of item
pkg/analyze/file.go:192
↓ 1 callers
Method
GetType
GetType returns type of tar file
pkg/analyze/tardir.go:36
↓ 1 callers
Method
GetType
GetType returns type of tar directory
pkg/analyze/tardir.go:46
↓ 1 callers
Method
GetType
()
pkg/analyze/stored.go:417
↓ 1 callers
Method
GetType
()
pkg/analyze/top_dir.go:70
↓ 1 callers
Method
GetUsage
()
pkg/analyze/stored.go:418
↓ 1 callers
Method
GetUsage
()
pkg/analyze/top_dir.go:30
↓ 1 callers
Method
GetUsage
()
pkg/analyze/top_dir.go:59
↓ 1 callers
Method
Init
Init initializes the BaseAnalyzer
pkg/analyze/analyzer.go:29
↓ 1 callers
Method
IsDir
IsDir returns true if the item is a directory
pkg/analyze/sqlite.go:545
↓ 1 callers
Method
IsDir
IsDir returns false for file
pkg/analyze/file.go:30
↓ 1 callers
Method
IsDir
IsDir returns true for dir
pkg/analyze/file.go:204
↓ 1 callers
Method
IsDir
IsDir returns true for TarDir
pkg/analyze/tardir.go:51
↓ 1 callers
Method
IsDir
()
pkg/analyze/stored.go:415
↓ 1 callers
Method
IsDir
()
pkg/analyze/top_dir.go:69
↓ 1 callers
Function
ItemFromDirWithErr
ItemFromDirWithErr returns error
internal/testanalyze/analyze.go:100
↓ 1 callers
Function
ItemFromDirWithSleep
ItemFromDirWithSleep returns error
internal/testanalyze/analyze.go:105
↓ 1 callers
Function
ItemFromDirWithSleepAndErr
ItemFromDirWithSleepAndErr returns error
internal/testanalyze/analyze.go:111
↓ 1 callers
Method
ListDevices
ListDevices lists mounted devices and shows their disk usage
tui/actions.go:40
↓ 1 callers
Method
RLock
RLock read locks dir
pkg/analyze/file.go:296
↓ 1 callers
Method
RLock
()
pkg/analyze/stored.go:431
↓ 1 callers
Method
RLock
()
pkg/analyze/top_dir.go:138
↓ 1 callers
Method
RemoveFile
RemoveFile removes a child file, updating both in-memory stats and the database in one pass.
pkg/analyze/sqlite.go:790
↓ 1 callers
Method
RemoveFile
(item fs.Item)
pkg/analyze/stored.go:432
↓ 1 callers
Method
RemoveFile
(fs.Item)
pkg/analyze/top_dir.go:136
↓ 1 callers
Method
RemoveFileByName
(name string)
pkg/analyze/top_dir.go:137
↓ 1 callers
Method
RemoveItemAndUpdateStats
RemoveItemAndUpdateStats removes an item and updates all its ancestors' stats in the database
pkg/analyze/sqlite.go:316
↓ 1 callers
Method
ResetProgress
ResetProgress does nothing
internal/testanalyze/analyze.go:82
↓ 1 callers
Method
SetAnalyzer
SetAnalyzer sets analyzer instance
internal/common/ui.go:26
↓ 1 callers
Method
SetArchiveBrowsing
(bool)
internal/common/analyze.go:30
↓ 1 callers
Method
SetArchiveBrowsing
SetArchiveBrowsing sets whether browsing of zip/jar archives is enabled
internal/common/ui.go:46
↓ 1 callers
Method
SetBrowseParentDirs
SetBrowseParentDirs enables navigating above the launch directory
tui/tui.go:356
↓ 1 callers
Method
SetFixedUnit
(unitChar string)
stdout/stdout.go:90
↓ 1 callers
Method
SetFollowSymlinks
(bool)
internal/common/analyze.go:27
↓ 1 callers
Method
SetFollowSymlinks
SetFollowSymlinks sets whether symlinks to files should be followed
internal/common/ui.go:31
↓ 1 callers
Method
SetIgnoreDirPatterns
(paths []string)
cmd/gdu/app/app.go:38
↓ 1 callers
Method
SetIgnoreFromFile
(ignoreFile string)
cmd/gdu/app/app.go:39
↓ 1 callers
Method
SetIgnoreHidden
(value bool)
cmd/gdu/app/app.go:40
↓ 1 callers
Method
SetIgnoreTypes
(types []string)
cmd/gdu/app/app.go:36
↓ 1 callers
Method
SetIncludeTypes
(types []string)
cmd/gdu/app/app.go:41
↓ 1 callers
Method
SetNoDeleteWithFilter
SetNoDelete disables delete when time filters are active
tui/tui.go:351
↓ 1 callers
Method
SetParent
SetParent sets parent dir
pkg/analyze/file.go:40
↓ 1 callers
Method
SetParent
(fs.Item)
pkg/analyze/stored.go:422
↓ 1 callers
Method
SetParent
(parent fs.Item)
pkg/analyze/top_dir.go:74
↓ 1 callers
Method
SetShowAnnexedSize
(bool)
internal/common/analyze.go:28
↓ 1 callers
Method
SetShowAnnexedSize
SetShowAnnexedSize sets whether to use annexed size of git-annex files
internal/common/ui.go:36
↓ 1 callers
Method
SetTimeFilter
(timeFilter TimeFilter)
internal/common/analyze.go:29
↓ 1 callers
Method
SetTimeFilter
SetTimeFilter sets the time filter function for file inclusion
internal/common/ui.go:41
↓ 1 callers
Method
SetTimeFilterWithInfo
SetTimeFilterWithInfo sets both the time filter function and stores the filter info for display
tui/tui.go:556
↓ 1 callers
Method
UpdateStats
UpdateStats recursively updates size and item count
pkg/analyze/stored.go:330
↓ 1 callers
Method
UpdateStats
(linkedItems fs.HardLinkedItems)
pkg/analyze/stored.go:425
↓ 1 callers
Method
alreadyCounted
(linkedItems fs.HardLinkedItems)
pkg/analyze/file.go:87
↓ 1 callers
Function
bzip2CompressFunc
--------------------------------------------------------------------------- bzip2 compression helper (uses os/exec "bzip2") --------------------------
pkg/analyze/tardir_test.go:628
↓ 1 callers
Function
bzip2CompressWithCmd
()
pkg/analyze/tardir_test.go:632
↓ 1 callers
Method
check
()
pkg/analyze/wait.go:44
← previous
next →
301–400 of 1,255, ranked by callers