MCPcopy Create free account

hub / github.com/dundee/gdu / functions

Functions1,255 in github.com/dundee/gdu

↓ 3 callersMethodUpdateItem
UpdateItem updates an existing item's stats
pkg/analyze/sqlite.go:284
↓ 3 callersFunctionaddString
(buff *[]byte, val string)
pkg/analyze/encode.go:94
↓ 3 callersMethodconfirmDeletionMarked
(shouldEmpty bool)
tui/marked.go:113
↓ 3 callersMethodconfirmExport
()
tui/actions.go:350
↓ 3 callersFunctioncreateTestTarGzFile
(t *testing.T, path string)
pkg/analyze/tardir_test.go:57
↓ 3 callersFunctioncreateTestTarXzFile
(t *testing.T, path string)
pkg/analyze/tardir_test.go:108
↓ 3 callersMethoddelete
(shouldEmpty bool)
tui/actions.go:185
↓ 3 callersMethodfileItemMarked
(row int)
tui/marked.go:14
↓ 3 callersFunctiongetFileNames
getFileNames recursively collects file names from a directory tree
pkg/analyze/dir_test.go:346
↓ 3 callersFunctiongetUsageGraphOld
(part int)
tui/utils.go:53
↓ 3 callersMethodhideFilterInput
()
tui/filter.go:22
↓ 3 callersMethodhideTypeFilterInput
()
tui/filter.go:70
↓ 3 callersFunctionmaxInt
(x, y int)
stdout/stdout.go:609
↓ 3 callersFunctionparseDuration
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 callersMethodprintItemPath
(file fs.Item)
stdout/stdout.go:346
↓ 3 callersMethodprintMarkedPaths
printMarkedPaths prints the paths of the marked items to the output
tui/tui.go:600
↓ 3 callersMethodprintTotalItem
(file fs.Item)
stdout/stdout.go:269
↓ 3 callersFunctionreadMountOutput
(rdr io.Reader)
pkg/device/dev_bsd.go:45
↓ 3 callersMethodsetTimeFilters
(ui UI)
cmd/gdu/app/app.go:329
↓ 3 callersMethodshowDir
(dir fs.Item)
stdout/stdout.go:251
↓ 2 callersMethodAnalyzePath
AnalyzePath analyzes recursively disk usage for given path
tui/actions.go:54
↓ 2 callersMethodClearItems
ClearItems removes all items from the database
pkg/analyze/sqlite.go:108
↓ 2 callersFunctionEmptyFileFromDir
EmptyFileFromDir empties file from dir (truncates to 0 bytes)
pkg/remove/remove.go:22
↓ 2 callersMethodGetDevicesInfo
()
pkg/device/dev.go:22
↓ 2 callersMethodGetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices (by calling Statfs syscall)
pkg/device/dev_linux.go:42
↓ 2 callersMethodGetDevicesInfo
GetDevicesInfo returns result of GetMounts with usage info about mounted devices (by calling Statfs syscall)
pkg/device/dev_bsd.go:36
↓ 2 callersMethodGetDevicesInfo
GetDevicesInfo returns mocked devices
internal/testdev/dev.go:11
↓ 2 callersMethodGetFiles
GetFiles returns children as a sorted iterator
pkg/analyze/sqlite.go:759
↓ 2 callersMethodGetFiles
GetFiles returns all files in directory
pkg/analyze/file.go:112
↓ 2 callersMethodGetFiles
GetFiles returns all files in directory as a sorted iterator
pkg/analyze/file.go:156
↓ 2 callersMethodGetFiles
(sortBy fs.SortBy, order fs.SortOrder)
pkg/analyze/top_dir.go:101
↓ 2 callersMethodGetMounts
GetMounts returns all mounted filesystems from /proc/mounts
internal/testdev/dev.go:16
↓ 2 callersMethodGetMtime
GetMtime returns mtime of the file
pkg/analyze/file.go:65
↓ 2 callersMethodGetName
GetName returns the name of the item
pkg/analyze/sqlite.go:535
↓ 2 callersMethodGetPath
GetPath returns absolute path of the file
pkg/analyze/file.go:209
↓ 2 callersMethodGetRootItem
GetRootItem returns the root item (item with no parent)
pkg/analyze/sqlite.go:219
↓ 2 callersMethodGetType
GetType returns name type of item
pkg/analyze/file.go:70
↓ 2 callersMethodLoadDir
LoadDir saves item info into badger DB
pkg/analyze/storage.go:99
↓ 2 callersMethodRead
(p []byte)
report/import_test.go:109
↓ 2 callersMethodReadFromStorage
(storagePath, path string)
cmd/gdu/app/app.go:35
↓ 2 callersMethodRemoveByName
RemoveByName removes File from Files
pkg/fs/file.go:91
↓ 2 callersMethodRemoveFileByName
(name string)
pkg/fs/file.go:51
↓ 2 callersMethodSetArchiveBrowsing
SetArchiveBrowsing does nothing
internal/testanalyze/analyze.go:94
↓ 2 callersMethodSetCurrentItemNameMaxLen
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 callersMethodSetDefaultSorting
SetDefaultSorting sets the default sorting
tui/sort.go:21
↓ 2 callersMethodSetFileTypeFilter
(filter ShouldFileBeIgnored)
internal/common/analyze.go:31
↓ 2 callersMethodSetFileTypeFilter
SetFileTypeFilter does nothing
internal/testanalyze/analyze.go:97
↓ 2 callersMethodSetFollowSymlinks
SetFollowSymlinks does nothing
internal/testanalyze/analyze.go:85
↓ 2 callersMethodSetFooterBackgroundColor
SetFooterBackgroundColor sets the color for the footer background
tui/tui.go:244
↓ 2 callersMethodSetFooterNumberColor
SetFooterNumberColor sets the color for the footer number
tui/tui.go:249
↓ 2 callersMethodSetFooterTextColor
SetFooterTextColor sets the color for the footer text
tui/tui.go:239
↓ 2 callersMethodSetHeaderBackgroundColor
SetHeaderBackgroundColor sets the color for the header background
tui/tui.go:259
↓ 2 callersMethodSetHeaderHidden
SetHeaderHidden sets the flag to hide the header
tui/tui.go:264
↓ 2 callersMethodSetHeaderTextColor
SetHeaderTextColor sets the color for the header text
tui/tui.go:254
↓ 2 callersMethodSetMouseCapture
( capture func(event *tcell.EventMouse, action tview.MouseAction) (*tcell.EventMouse, tview.MouseAction), )
internal/common/app.go:18
↓ 2 callersMethodSetResultRowDirectoryColor
SetResultRowDirectoryColor sets the color for the result row directory
tui/tui.go:269
↓ 2 callersMethodSetResultRowNumberColor
SetResultRowNumberColor sets the color for the result row number
tui/tui.go:274
↓ 2 callersMethodSetRoot
(root tview.Primitive, fullscreen bool)
internal/common/app.go:15
↓ 2 callersMethodSetSelectedBackgroundColor
SetSelectedBackgroundColor sets the color for the highlighted selected text
tui/tui.go:234
↓ 2 callersMethodSetSelectedTextColor
SetSelectedTextColor sets the color for the highlighted selected text
tui/tui.go:229
↓ 2 callersMethodSetShowAnnexedSize
SetShowAnnexedSize does nothing
internal/testanalyze/analyze.go:88
↓ 2 callersMethodSetShowItemCount
()
stdout/stdout.go:112
↓ 2 callersMethodSetShowMTime
SetShowMTime sets the flag to show last modification time of items in directory
tui/tui.go:332
↓ 2 callersMethodSetTimeFilter
SetTimeFilter does nothing
internal/testanalyze/analyze.go:91
↓ 2 callersMethodSetUseColor
SetUseColor controls whether the filled segment is highlighted with colour.
tui/progressbar.go:31
↓ 2 callersMethodShouldFileBeIgnoredByType
ShouldFileBeIgnoredByType returns true if file should be ignored based on its extension
internal/common/ignore.go:136
↓ 2 callersMethodShouldFileBeIncludedByType
ShouldFileBeIncludedByType returns true if file should be included based on its extension
internal/common/ignore.go:161
↓ 2 callersMethodUpdateStats
UpdateStats recursively updates size and item count
pkg/analyze/file.go:226
↓ 2 callersMethodUseOldProgressRunes
()
stdout/stdout.go:116
↓ 2 callersMethodWait
()
internal/common/signal.go:7
↓ 2 callersFunctionaddSqliteString
(buff *[]byte, val string)
pkg/analyze/sqlite.go:735
↓ 2 callersMethodcheckCount
()
pkg/analyze/storage.go:139
↓ 2 callersFunctionclearTerminalProgress
clearTerminalProgress removes the terminal tab/taskbar progress indicator.
tui/progress.go:80
↓ 2 callersMethodexportAnalysis
()
tui/actions.go:373
↓ 2 callersMethodexportDir
(dir fs.Item, waitWritten *sync.WaitGroup)
report/export.go:130
↓ 2 callersMethodformatHelpTextFor
()
tui/show.go:369
↓ 2 callersFunctiongetDevicesInfoMock
func printBuffer(buff *bytes.Buffer) { for i, x := range buff.String() { println(i, string(x)) } }
stdout/stdout_test.go:453
↓ 2 callersFunctiongetPlatformSpecificUsageAndMli
(info os.FileInfo)
pkg/analyze/dir_unix.go:13
↓ 2 callersMethodgetSortParams
getSortParams returns the current sort parameters as fs.SortBy and fs.SortOrder
tui/sort.go:52
↓ 2 callersMethodhandleDelete
(shouldEmpty bool)
tui/keys.go:405
↓ 2 callersMethodhandleRight
()
tui/keys.go:392
↓ 2 callersMethodhasActiveTimeFilter
hasActiveTimeFilter returns true if any time filter is active
tui/tui.go:572
↓ 2 callersMethodloadFiles
loadFiles loads files from storage or returns cached files
pkg/analyze/stored.go:245
↓ 2 callersFunctionmodal
(p tview.Primitive, width, height int)
tui/utils.go:67
↓ 2 callersMethodprintTopFiles
(file fs.Item)
stdout/stdout.go:262
↓ 2 callersMethodqueueForDeletion
(items []fs.Item, shouldEmpty bool)
tui/background.go:8
↓ 2 callersMethodrescanDir
()
tui/tui.go:385
↓ 2 callersMethodresetSorting
()
tui/tui.go:380
↓ 2 callersFunctionsetDefaultConfigFilePath
()
cmd/gdu/main.go:161
↓ 2 callersMethodshowDevices
()
tui/show.go:244
↓ 2 callersMethodshowInfo
()
tui/actions.go:265
↓ 2 callersMethodtoggleStatusBar
(show bool)
tui/status.go:11
↓ 2 callersMethodupdateProgress
()
report/export.go:169
↓ 1 callersMethodAddFile
AddFile panics on file
pkg/analyze/file.go:127
↓ 1 callersMethodAddFile
(fs.Item)
pkg/analyze/stored.go:426
↓ 1 callersMethodAddFile
(fs.Item)
pkg/analyze/top_dir.go:100
↓ 1 callersMethodAnalyzeDir
AnalyzeDir returns dir with files with different size exponents
internal/testanalyze/analyze.go:17
↓ 1 callersMethodEncodeJSON
EncodeJSON encodes zip file to JSON
pkg/analyze/zipdir.go:38
↓ 1 callersMethodEncodeJSON
EncodeJSON encodes zip directory to JSON
pkg/analyze/zipdir.go:54
↓ 1 callersMethodEncodeJSON
EncodeJSON encodes tar file to JSON
pkg/analyze/tardir.go:41
← previousnext →201–300 of 1,255, ranked by callers