MCPcopy Create free account

hub / github.com/gokcehan/lf / functions

Functions407 in github.com/gokcehan/lf

↓ 4 callersFunctiontruncateLeft
truncateLeft truncates a string from the left based on Unicode widths, taking into account grapheme clusters.
misc.go:81
↓ 4 callersFunctionuserName
(f os.FileInfo)
os.go:209
↓ 3 callersMethodaddJumpList
()
nav.go:608
↓ 3 callersFunctioncd
(app *app, path string)
eval.go:994
↓ 3 callersFunctioncopySize
(srcs []string)
copy.go:33
↓ 3 callersFunctiongetDirFirst
(path string)
opts.go:188
↓ 3 callersFunctiongetDirOnly
(path string)
opts.go:195
↓ 3 callersFunctiongetHidden
(path string)
opts.go:202
↓ 3 callersFunctiongetReverse
(path string)
opts.go:216
↓ 3 callersMethodgetSameDirs
fsnotify silently aliases watches by inode, so two paths to the same directory (a symlink and its target) end up as a single entry in watcher.WatchLis
watch.go:176
↓ 3 callersFunctiongetSortIgnoreCase
(path string)
opts.go:230
↓ 3 callersFunctiongetSortIgnoreDia
(path string)
opts.go:237
↓ 3 callersFunctiongetWins
(screen tcell.Screen)
ui.go:493
↓ 3 callersFunctionisExecutable
(f os.FileInfo)
os.go:195
↓ 3 callersMethodisPreviewable
()
nav.go:130
↓ 3 callersFunctionisRoot
(name string)
misc.go:32
↓ 3 callersFunctionlastGraphemeCluster
lastGraphemeCluster returns the string containing the last grapheme cluster of the input.
misc.go:51
↓ 3 callersMethodloadDirs
(wd string)
nav.go:561
↓ 3 callersMethodparseGNU
parseGNU parses the $LS_COLORS environment variable.
colors.go:149
↓ 3 callersMethodpreload
()
nav.go:834
↓ 3 callersMethodprintLine
(screen tcell.Screen, x, y int, st tcell.Style, s string)
ui.go:121
↓ 3 callersMethodquit
()
app.go:70
↓ 3 callersFunctionreadArrays
readArrays reads whitespace-separated string arrays on each line. Single or double quotes can be used to escape whitespace. Hash characters can be use
misc.go:197
↓ 3 callersMethodreadFile
(path string)
app.go:98
↓ 3 callersFunctionreadKey
(ev *tcell.EventKey)
key.go:164
↓ 3 callersMethodrename
()
nav.go:1566
↓ 3 callersFunctionwrapModifier
(s string, mod string)
key.go:141
↓ 2 callersMethodadd
(path string)
watch.go:71
↓ 2 callersFunctionapplyOSC
applyOSC takes an OSC sequence and applies it to the given [tcell.Style] object. It currently supports OSC 8 hyperlinks only, implemented as specified
termseq.go:242
↓ 2 callersFunctionapplyTermSequence
applyTermSequence takes an escape sequence (e.g. `\033[1m`) and applies it to the given [tcell.Style] object. Accepts SGR and OSC sequences.
termseq.go:118
↓ 2 callersMethodbottom
()
nav.go:1175
↓ 2 callersMethodcheckReg
(reg *reg)
nav.go:992
↓ 2 callersFunctioncopyAll
(srcs []string, dstDir string, preserve []string)
copy.go:101
↓ 2 callersMethoddirOfWin
(nav *nav, wind int)
ui.go:1129
↓ 2 callersFunctiondiskFree
(wd string)
df_statfs.go:11
↓ 2 callersMethoddoComplete
()
app.go:696
↓ 2 callersFunctionfieldToString
used by exportOpts below
main.go:104
↓ 2 callersMethodfindSingle
()
nav.go:1686
↓ 2 callersMethodget
(f *file)
icons.go:130
↓ 2 callersFunctiongetInfo
(path string)
opts.go:209
↓ 2 callersFunctiongetLocalOptWords
(localOpts any)
complete.go:146
↓ 2 callersFunctiongetOptWords
(opts any)
complete.go:128
↓ 2 callersFunctiongetOptsMap
()
main.go:133
↓ 2 callersFunctiongetWidths
getWidths calculates the widths of windows as the result of applying the `ratios` option to the screen width. One column is allocated for each divider
misc.go:566
↓ 2 callersMethodglobSel
(pattern string, invert bool)
nav.go:1640
↓ 2 callersFunctioniconWithoutStyle
(icon string)
icons.go:23
↓ 2 callersFunctionisPrintable
isPrintable reports whether a grapheme cluster is safe to display. It rejects C0/C1 controls, DEL, and invalid UTF-8.
termseq.go:349
↓ 2 callersFunctionisValidSortMethod
(method sortMethod)
opts.go:24
↓ 2 callersFunctionlinkCount
(f os.FileInfo)
os.go:231
↓ 2 callersFunctionlistMarks
(marks map[string]string)
ui.go:1334
↓ 2 callersFunctionlistMatches
(screen tcell.Screen, matches []compMatch, selectedInd int)
ui.go:1622
↓ 2 callersFunctionloadFiles
()
app.go:119
↓ 2 callersFunctionmatchCmd
(s string)
complete.go:235
↓ 2 callersFunctionmatchFile
(s string, dirOnly bool, escape, unescape func(string) string)
complete.go:242
↓ 2 callersFunctionmatchPattern
(pattern, name, path string)
nav.go:819
↓ 2 callersMethodmenuComplete
(direction int)
app.go:713
↓ 2 callersMethodmove
(index int)
nav.go:1240
↓ 2 callersFunctionnewFile
(path string)
nav.go:48
↓ 2 callersFunctionnewScanner
(r io.Reader)
scan.go:39
↓ 2 callersFunctiononLoad
(app *app, files []string)
eval.go:655
↓ 2 callersMethodparseArray
(arr []string)
icons.go:107
↓ 2 callersMethodparseEnv
(env string)
icons.go:90
↓ 2 callersFunctionparseKey
(s string)
key.go:208
↓ 2 callersMethodparsePair
(pair []string)
colors.go:166
↓ 2 callersFunctionparseRuler
(path string)
ruler.go:57
↓ 2 callersMethodpreview
(path string, win *win, mode string)
nav.go:868
↓ 2 callersMethodprintDir
(ui *ui, dir *dir, context *dirContext, dirStyle *dirStyle, previewTimer *time.Timer)
ui.go:253
↓ 2 callersFunctionprintPath
printPath prints path for -print-last-dir / -print-selection. Newlines are rejected unconditionally (frame integrity for line-oriented consumers); con
client.go:98
↓ 2 callersMethodprintRight
(screen tcell.Screen, y int, st tcell.Style, s string)
ui.go:125
↓ 2 callersMethodprocessUpdate
(update watchUpdate)
watch.go:159
↓ 2 callersMethodreadEvent
(ev tcell.Event, nav *nav)
ui.go:1570
↓ 2 callersMethodreadHistory
()
app.go:201
↓ 2 callersFunctionreadLines
readLines reads lines from a file to be displayed as a preview. The number of lines to read is capped since files can be very large. Lines are split o
misc.go:470
↓ 2 callersFunctionsanitizeMessage
sanitizeMessage sanitizes a message intended for the message line. Like sanitizeName it strips control runes, but it preserves terminal sequences that
termseq.go:326
↓ 2 callersFunctionsanitizePreview
sanitizePreview replaces control characters and invalid bytes with the Unicode replacement character (U+FFFD). Tabs are preserved for content where ta
termseq.go:300
↓ 2 callersMethodsave
(mode clipboardMode)
nav.go:1324
↓ 2 callersFunctionsaveFiles
(clipboard clipboard)
app.go:162
↓ 2 callersFunctionsplitKeys
(s string)
eval.go:698
↓ 2 callersFunctionstartServer
()
main.go:174
↓ 2 callersMethodtop
()
nav.go:1164
↓ 2 callersFunctiontruncateFilename
truncateFilename truncates a filename at a given position. The position is specified as percentage indicating where the truncation character will appe
misc.go:432
↓ 2 callersMethodwatchDir
(dir *dir)
app.go:736
↓ 2 callersMethodwriteMarks
()
nav.go:1869
↓ 2 callersMethodwriteTags
()
nav.go:1931
↓ 1 callersFunctionNewProgressWriter
(writer io.Writer, nums chan<- int64)
copy.go:20
↓ 1 callersMethodWrite
(b []byte)
copy.go:27
↓ 1 callersFunctionaddKeyModifier
(s string, mod tcell.ModMask)
key.go:147
↓ 1 callersFunctionanyKey
()
ui.go:1603
↓ 1 callersMethodcalcDirSize
()
nav.go:2011
↓ 1 callersMethodcdJumpListNext
()
nav.go:632
↓ 1 callersMethodcdJumpListPrev
()
nav.go:623
↓ 1 callersFunctioncellSize
(screen tcell.Screen)
sixel.go:86
↓ 1 callersFunctioncheckServer
()
main.go:181
↓ 1 callersMethodclearSixel
(win *win, screen tcell.Screen, filePath string)
sixel.go:19
↓ 1 callersFunctioncmdEscape
cmdEscape is used to escape whitespace and special characters with backslashes in a given string.
misc.go:110
↓ 1 callersFunctioncmdUnescape
cmdUnescape is used to remove backslashes that are used to escape whitespace and special characters in a given string.
misc.go:123
↓ 1 callersFunctioncompleteCmd
(s string)
complete.go:376
↓ 1 callersFunctioncompleteSearch
(s string)
complete.go:482
↓ 1 callersFunctioncompleteShell
(s string)
complete.go:467
↓ 1 callersMethodcopyAsync
(app *app, srcs []string, dstDir string)
nav.go:1339
← previousnext →101–200 of 407, ranked by callers