SYMBOL INDEX (263 symbols across 36 files) FILE: internal/cmd/find.go type findCmd (line 18) | type findCmd struct type findOptions (line 23) | type findOptions struct function newFindCmd (line 52) | func newFindCmd() *findCmd { function findCmdRun (line 173) | func findCmdRun(args []string, opts findOptions) error { function listFiles (line 240) | func listFiles(files []trash.File, showSize, showTrashPath bool) { FILE: internal/cmd/metafix.go type metafixCmd (line 14) | type metafixCmd struct type metafixOptions (line 19) | type metafixOptions struct function newMetafixCmd (line 23) | func newMetafixCmd() *metafixCmd { function metafixCmdRun (line 55) | func metafixCmdRun(opts metafixOptions) error { FILE: internal/cmd/prune.go type pruneCmd (line 14) | type pruneCmd struct type pruneOptions (line 19) | type pruneOptions struct method check (line 30) | func (o *pruneOptions) check() error { function newPruneCmd (line 41) | func newPruneCmd() *pruneCmd { function getPruneFiles (line 113) | func getPruneFiles(files []trash.File, maxTotalSize uint64) (prune []tra... function pruneCmdRun (line 142) | func pruneCmdRun(opts pruneOptions) error { FILE: internal/cmd/prune_test.go function newInt (line 10) | func newInt(i int64) *int64 { function TestGetPruneFiles (line 14) | func TestGetPruneFiles(t *testing.T) { FILE: internal/cmd/put.go type putCmd (line 23) | type putCmd struct type putOptions (line 28) | type putOptions struct function newPutCmd (line 41) | func newPutCmd() *putCmd { function putCmdRun (line 111) | func putCmdRun(args []string, opts putOptions) error { function trashFile (line 267) | func trashFile(trashDir xdg.TrashDir, path string, deleteTime *time.Time... FILE: internal/cmd/restore.go type restoreCmd (line 18) | type restoreCmd struct type restoreOptions (line 23) | type restoreOptions struct function newRestoreCmd (line 30) | func newRestoreCmd() *restoreCmd { function restoreCmdRun (line 75) | func restoreCmdRun(args []string, opts restoreOptions) (err error) { function checkOptRestoreTo (line 129) | func checkOptRestoreTo(restoreTo *string) error { function checkRestoreDup (line 155) | func checkRestoreDup(files []trash.File) error { function doRestore (line 178) | func doRestore(files []trash.File, restoreTo string, prompt bool) error { FILE: internal/cmd/restoreGroup.go type restoreGroupCmd (line 13) | type restoreGroupCmd struct type restoreGroupOptions (line 18) | type restoreGroupOptions struct function newRestoreGroupCmd (line 20) | func newRestoreGroupCmd() *restoreGroupCmd { function restoreGroupCmdRun (line 57) | func restoreGroupCmdRun(_ restoreGroupOptions) error { FILE: internal/cmd/rm.go type removeCmd (line 15) | type removeCmd struct type removeOptions (line 20) | type removeOptions struct function newRemoveCmd (line 24) | func newRemoveCmd() *removeCmd { function removeCmdRun (line 61) | func removeCmdRun(args []string, opts removeOptions) error { function doRemove (line 89) | func doRemove(files []trash.File) { FILE: internal/cmd/root.go function init (line 25) | func init() { function Execute (line 31) | func Execute(version Version) { type Version (line 41) | type Version struct method Print (line 48) | func (v Version) Print() string { type rootCmd (line 66) | type rootCmd struct function newRootCmd (line 70) | func newRootCmd(version Version) *rootCmd { FILE: internal/cmd/summary.go type summaryCmd (line 13) | type summaryCmd struct type summaryOptions (line 18) | type summaryOptions struct function newSummaryCmd (line 20) | func newSummaryCmd() *summaryCmd { function summaryCmdRun (line 48) | func summaryCmdRun(_ summaryOptions) error { FILE: internal/env/env.go function init (line 30) | func init() { FILE: internal/glog/logger.go function Error (line 17) | func Error(msg string) { function Errorf (line 22) | func Errorf(format string, args ...any) { function ExitCode (line 27) | func ExitCode() int { FILE: internal/posix/dir.go function DirSize (line 13) | func DirSize(path string) (int64, error) { function DirSizeFallback (line 34) | func DirSizeFallback(path string) (int64, error) { function DirEmpty (line 56) | func DirEmpty(name string) (bool, error) { FILE: internal/posix/file.go function IsBinary (line 15) | func IsBinary(content io.ReadSeeker, fileSize int64) (bool, error) { function FileHead (line 35) | func FileHead(path string, width int, maxLines int) string { function FileType (line 120) | func FileType(st fs.FileInfo) string { FILE: internal/posix/path.go function init (line 11) | func init() { function AbsPathToTilde (line 15) | func AbsPathToTilde(absPath string) string { function CheckSubPath (line 33) | func CheckSubPath(parent, sub string) (bool, error) { FILE: internal/posix/path_test.go function TestAbsPathToTilde (line 8) | func TestAbsPathToTilde(t *testing.T) { function TestCheckSubPath (line 28) | func TestCheckSubPath(t *testing.T) { FILE: internal/trash/flag.go function FlagCompletionFunc (line 12) | func FlagCompletionFunc(allCompletions []string) func(*cobra.Command, []... method Set (line 40) | func (s *SortByType) Set(str string) error { method String (line 49) | func (s SortByType) String() string { method Type (line 62) | func (s SortByType) Type() string { type ModeByType (line 70) | type ModeByType method Set (line 92) | func (s *ModeByType) Set(str string) error { method String (line 101) | func (s ModeByType) String() string { method Type (line 116) | func (s ModeByType) Type() string { constant ModeByRegex (line 73) | ModeByRegex ModeByType = iota constant ModeByGlob (line 74) | ModeByGlob constant ModeByLiteral (line 75) | ModeByLiteral constant ModeByFull (line 76) | ModeByFull FILE: internal/trash/trash.go type SortByType (line 26) | type SortByType constant SortByDeletedAt (line 29) | SortByDeletedAt SortByType = iota constant SortBySize (line 30) | SortBySize constant SortByName (line 31) | SortByName type Box (line 34) | type Box struct method checkOptions (line 170) | func (b *Box) checkOptions() error { method Open (line 260) | func (b *Box) Open() error { method getFiles (line 386) | func (b *Box) getFiles(dirents []fs.DirEntry, fileEntries map[string]b... method HitByPath (line 656) | func (b *Box) HitByPath(originalPath string) int { method ToGroups (line 718) | func (b *Box) ToGroups() []Group { function NewBox (line 74) | func NewBox(opts ...BoxOption) Box { type BoxOption (line 87) | type BoxOption function WithAscend (line 89) | func WithAscend(ascend bool) BoxOption { function WithTrashDir (line 95) | func WithTrashDir(trashDir string) BoxOption { function WithSortBy (line 101) | func WithSortBy(sortBy SortByType) BoxOption { function WithDirectory (line 107) | func WithDirectory(directory string) BoxOption { function WithCWD (line 113) | func WithCWD(cwd bool) BoxOption { function WithQueries (line 119) | func WithQueries(queries []string) BoxOption { function WithQueryMode (line 125) | func WithQueryMode(mode ModeByType) BoxOption { function WithDay (line 132) | func WithDay(dayNew int, dayOld int) BoxOption { function WithLimitLast (line 143) | func WithLimitLast(last int) BoxOption { function WithSize (line 149) | func WithSize(large string, small string) BoxOption { function WithGetSize (line 163) | func WithGetSize(get bool) BoxOption { function sortFiles (line 618) | func sortFiles(files []File, sortBy SortByType, ascend bool) { type File (line 660) | type File struct method OriginalPathFormat (line 679) | func (f *File) OriginalPathFormat(tilde bool, color bool) string { method TrashPathColor (line 691) | func (f *File) TrashPathColor() string { method SizeHuman (line 695) | func (f *File) SizeHuman() string { method pathColor (line 703) | func (f *File) pathColor(s string) string { method Delete (line 764) | func (f *File) Delete() error { type Group (line 672) | type Group struct FILE: internal/tui/boolInputModel.go type boolInputModel (line 11) | type boolInputModel struct method Confirmed (line 43) | func (m boolInputModel) Confirmed() bool { method Init (line 47) | func (m boolInputModel) Init() tea.Cmd { method Update (line 51) | func (m boolInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Value (line 70) | func (m boolInputModel) Value() bool { method View (line 76) | func (m boolInputModel) View() string { function yesno (line 16) | func yesno(s string) (bool, string, error) { function newBoolInputModel (line 29) | func newBoolInputModel(prompt string) boolInputModel { FILE: internal/tui/choiceInputModel.go type choiceInputModel (line 11) | type choiceInputModel struct method Confirmed (line 46) | func (m choiceInputModel) Confirmed() bool { method Init (line 50) | func (m choiceInputModel) Init() tea.Cmd { method Update (line 54) | func (m choiceInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Value (line 74) | func (m choiceInputModel) Value() string { method View (line 79) | func (m choiceInputModel) View() string { function newChoiceInputModel (line 17) | func newChoiceInputModel(prompt string, choices []string) choiceInputMod... FILE: internal/tui/multiRestore.go constant paddingHeight (line 24) | paddingHeight = 6 constant shortWidth (line 25) | shortWidth = 90 function init (line 51) | func init() { type keymap (line 133) | type keymap struct type filterTable (line 138) | type filterTable struct method getSelectedIdx (line 147) | func (t *filterTable) getSelectedIdx() int { method updateInputPrompt (line 156) | func (t *filterTable) updateInputPrompt(cwd bool) { method getIndices (line 179) | func (t *filterTable) getIndices() []int { method View (line 197) | func (t filterTable) View(focus bool) string { type multiRestoreModel (line 212) | type multiRestoreModel struct method updateHit (line 166) | func (m *multiRestoreModel) updateHit() { method getFocusTable (line 240) | func (m *multiRestoreModel) getFocusTable() (focus *filterTable, notFo... method getRestoreFiles (line 248) | func (m *multiRestoreModel) getRestoreFiles() []trash.File { method updateScreenSize (line 450) | func (m *multiRestoreModel) updateScreenSize() { method Init (line 476) | func (m multiRestoreModel) Init() tea.Cmd { method Update (line 480) | func (m multiRestoreModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method moveRow (line 651) | func (m *multiRestoreModel) moveRow() { method moveRowALL (line 694) | func (m *multiRestoreModel) moveRowALL() { method filterApply (line 741) | func (m *multiRestoreModel) filterApply() { method View (line 781) | func (m multiRestoreModel) View() string { method viewMetadata (line 834) | func (m multiRestoreModel) viewMetadata() string { function makeFileRow (line 271) | func makeFileRow(idx int, f trash.File) table.Row { function getTermSize (line 280) | func getTermSize() (width int, height int) { function makeFilterTables (line 289) | func makeFilterTables(files []trash.File) (left, right filterTable, fixe... function newMultiRestoreModel (line 384) | func newMultiRestoreModel(files []trash.File) multiRestoreModel { function deleteRow (line 614) | func deleteRow(rows []table.Row, cursor int) []table.Row { function addRows (line 618) | func addRows(rows []table.Row, adds []table.Row) []table.Row { function addRow (line 635) | func addRow(rows []table.Row, add table.Row) []table.Row { function findMatch (line 777) | func findMatch(text, pattern string) bool { FILE: internal/tui/singleRestore.go type singleRestoreModel (line 26) | type singleRestoreModel struct method Init (line 160) | func (m singleRestoreModel) Init() tea.Cmd { method Update (line 164) | func (m singleRestoreModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method updateScreenSize (line 229) | func (m *singleRestoreModel) updateScreenSize() { method updateInputPrompt (line 241) | func (m *singleRestoreModel) updateInputPrompt() { method updateHit (line 246) | func (m *singleRestoreModel) updateHit() { method filterApply (line 253) | func (m *singleRestoreModel) filterApply() { method View (line 273) | func (m singleRestoreModel) View() string { method viewMetadata (line 295) | func (m singleRestoreModel) viewMetadata() string { function makeGroupRow (line 48) | func makeGroupRow(idx int, g trash.Group) table.Row { function newSingleRestoreModel (line 57) | func newSingleRestoreModel(groups []trash.Group) singleRestoreModel { FILE: internal/tui/table/table.go type Model (line 40) | type Model struct method SetStyles (line 138) | func (m *Model) SetStyles(s Styles) { method Update (line 225) | func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { method Focused (line 258) | func (m Model) Focused() bool { method Focus (line 264) | func (m *Model) Focus() { method Blur (line 270) | func (m *Model) Blur() { method View (line 276) | func (m Model) View() string { method UpdateViewport (line 282) | func (m *Model) UpdateViewport() { method SelectedRow (line 305) | func (m Model) SelectedRow() Row { method Rows (line 314) | func (m Model) Rows() []Row { method SetRows (line 319) | func (m *Model) SetRows(r []Row) { method SetColumns (line 325) | func (m *Model) SetColumns(c []Column) { method SetColumnNameLast (line 331) | func (m *Model) SetColumnNameLast(n string) { method SetWidth (line 337) | func (m *Model) SetWidth(w int) { method SetShortMode (line 343) | func (m *Model) SetShortMode(sm bool) { method SetColWidthLast (line 351) | func (m *Model) SetColWidthLast(w int) { method SetHeight (line 357) | func (m *Model) SetHeight(h int) { method Height (line 363) | func (m Model) Height() int { method Width (line 368) | func (m Model) Width() int { method Cursor (line 373) | func (m Model) Cursor() int { method SetCursor (line 378) | func (m *Model) SetCursor(n int) { method MoveUp (line 385) | func (m *Model) MoveUp(n int) { method MoveDown (line 400) | func (m *Model) MoveDown(n int) { method GotoTop (line 416) | func (m *Model) GotoTop() { method GotoBottom (line 421) | func (m *Model) GotoBottom() { method FromValues (line 428) | func (m *Model) FromValues(value, separator string) { method headersView (line 441) | func (m Model) headersView() string { method renderRow (line 467) | func (m *Model) renderRow(rowID int) string { type Row (line 60) | type Row type Column (line 63) | type Column struct type KeyMap (line 70) | type KeyMap struct function DefaultKeyMap (line 82) | func DefaultKeyMap() KeyMap { type Styles (line 122) | type Styles struct function DefaultStyles (line 129) | func DefaultStyles() Styles { type Option (line 146) | type Option function New (line 149) | func New(opts ...Option) Model { function WithColumns (line 168) | func WithColumns(cols []Column) Option { function WithRows (line 175) | func WithRows(rows []Row) Option { function WithHeight (line 182) | func WithHeight(h int) Option { function WithWidth (line 189) | func WithWidth(w int) Option { function WithFocused (line 196) | func WithFocused(f bool) Option { function WithStyles (line 203) | func WithStyles(s Styles) Option { function WithKeyMap (line 210) | func WithKeyMap(km KeyMap) Option { function WithShortColumn (line 217) | func WithShortColumn(shortColIdx, shortAppendColIdx int) Option { function max (line 505) | func max(a, b int) int { function min (line 513) | func min(a, b int) int { function clamp (line 521) | func clamp(v, low, high int) int { FILE: internal/tui/table/table_test.go function TestFromValues (line 30) | func TestFromValues(t *testing.T) { function TestFromValuesWithTabSeparator (line 49) | func TestFromValuesWithTabSeparator(t *testing.T) { function deepEqual (line 67) | func deepEqual(a, b []Row) bool { FILE: internal/tui/tui.go function FilesSelect (line 13) | func FilesSelect(files []trash.File) ([]trash.File, error) { function GroupSelect (line 30) | func GroupSelect(groups []trash.Group) (trash.Group, error) { function BoolPrompt (line 47) | func BoolPrompt(prompt string) bool { function ChoicePrompt (line 62) | func ChoicePrompt(prompt string, choices []string) (string, error) { FILE: internal/xdg/dirsizecache.go type DirCache (line 18) | type DirCache method ToFile (line 78) | func (c DirCache) ToFile(truncate bool) string { method Save (line 96) | func (c DirCache) Save(trashDir string, truncate bool) error { type DirCacheItem (line 23) | type DirCacheItem struct method String (line 74) | func (i DirCacheItem) String() string { function NewDirCache (line 29) | func NewDirCache(r io.Reader) (DirCache, error) { FILE: internal/xdg/dirsizecache_test.go function TestNewDirCache (line 12) | func TestNewDirCache(t *testing.T) { FILE: internal/xdg/path.go function init (line 20) | func init() { FILE: internal/xdg/trashdir.go type trashDirType (line 19) | type trashDirType constant trashDirTypeHome (line 22) | trashDirTypeHome trashDirType = "HOME" constant trashDirTypeExternal (line 23) | trashDirTypeExternal trashDirType = "EXTERNAL" constant trashDirTypeExternalAlt (line 24) | trashDirTypeExternalAlt trashDirType = "EXTERNAL_ALT" constant trashDirTypeManual (line 25) | trashDirTypeManual trashDirType = "MANUAL" type TrashDir (line 28) | type TrashDir struct method InfoDir (line 34) | func (d TrashDir) InfoDir() string { method FilesDir (line 38) | func (d TrashDir) FilesDir() string { method UseRelativePath (line 43) | func (d TrashDir) UseRelativePath() bool { method CreateDir (line 54) | func (d TrashDir) CreateDir() error { function NewTrashDirManual (line 66) | func NewTrashDirManual(dir string) TrashDir { function ScanTrashDirs (line 76) | func ScanTrashDirs() []TrashDir { function LookupTrashDir (line 134) | func LookupTrashDir(path string) (home *TrashDir, external *TrashDir, er... function getAllMountpoints (line 205) | func getAllMountpoints() ([]string, error) { function getMountpoint (line 246) | func getMountpoint(path string) (string, error) { function useHomeTrash (line 283) | func useHomeTrash(path string) (sameFS bool, err error) { function useExternalTrash (line 326) | func useExternalTrash(topDir string) (string, error) { function useExternalTrashAlt (line 359) | func useExternalTrashAlt(topDir string) (string, error) { FILE: internal/xdg/trashdir_test.go function TestGetMountpoint (line 10) | func TestGetMountpoint(t *testing.T) { FILE: internal/xdg/trashinfo.go constant trashHeader (line 17) | trashHeader = `[Trash Info]` constant timeFormat (line 18) | timeFormat = "2006-01-02T15:04:05" type Info (line 25) | type Info struct method String (line 91) | func (i Info) String() string { method Save (line 95) | func (i Info) Save(trashDir TrashDir, filename string) (saveName strin... function NewInfo (line 30) | func NewInfo(r io.Reader) (Info, error) { function queryEscapePath (line 145) | func queryEscapePath(s string) string { FILE: internal/xdg/trashinfo_test.go function TestNewInfoSuccess (line 13) | func TestNewInfoSuccess(t *testing.T) { function TestNewInfoError (line 68) | func TestNewInfoError(t *testing.T) { function TestQueryEscape (line 79) | func TestQueryEscape(t *testing.T) { FILE: itest/cli_test.go function TestMain (line 12) | func TestMain(m *testing.M) { function checkFileMoved (line 21) | func checkFileMoved(t *testing.T, from string, to string) { function mustError (line 33) | func mustError(t testing.TB, err error, msg ...string) { function mustNoError (line 45) | func mustNoError(t testing.TB, err error, msg ...string) { function assertEmpty (line 57) | func assertEmpty(t *testing.T, s string) { function assertContains (line 65) | func assertContains(t *testing.T, s string, substr string, msg ...string) { function assertEqual (line 76) | func assertEqual(t *testing.T, got string, want string, msg ...string) { FILE: itest/put_test.go function TestSkipDotEndingPath (line 12) | func TestSkipDotEndingPath(t *testing.T) { FILE: itest/trash_test.go function cleanTrash (line 23) | func cleanTrash(t *testing.T) { function TestTrashAllType (line 39) | func TestTrashAllType(t *testing.T) { FILE: main.go function main (line 15) | func main() {