SYMBOL INDEX (178 symbols across 22 files) FILE: config_cmd.go constant defaultConfig (line 16) | defaultConfig = `# style name or JSON path (default "auto") function ensureConfigFile (line 56) | func ensureConfigFile() error { FILE: console_windows.go function enableAnsiColors (line 13) | func enableAnsiColors() { function init (line 21) | func init() { FILE: github.go function findGitHubREADME (line 14) | func findGitHubREADME(u *url.URL) (*source, error) { FILE: gitlab.go function findGitLabREADME (line 14) | func findGitLabREADME(u *url.URL) (*source, error) { FILE: glow_test.go function TestGlowFlags (line 7) | func TestGlowFlags(t *testing.T) { FILE: log.go function getLogFilePath (line 13) | func getLogFilePath() (string, error) { function setupLog (line 21) | func setupLog() (func() error, error) { FILE: main.go type source (line 67) | type source struct function sourceFromArg (line 73) | func sourceFromArg(arg string) (*source, error) { function validateStyle (line 153) | func validateStyle(style string) error { function validateOptions (line 165) | func validateOptions(cmd *cobra.Command) error { function stdinIsPipe (line 211) | func stdinIsPipe() (bool, error) { function execute (line 222) | func execute(cmd *cobra.Command, args []string) error { function executeArg (line 263) | func executeArg(cmd *cobra.Command, arg string, w io.Writer) error { function executeCLI (line 273) | func executeCLI(cmd *cobra.Command, src *source, w io.Writer) error { function runTUI (line 344) | func runTUI(path string, content string) error { function main (line 371) | func main() { function init (line 384) | func init() { function tryLoadConfigFromDefaultPlaces (line 426) | func tryLoadConfigFromDefaultPlaces() { FILE: ui/config.go type Config (line 4) | type Config struct FILE: ui/editor.go type editorFinishedMsg (line 8) | type editorFinishedMsg struct function openEditor (line 10) | func openEditor(path string, lineno int) tea.Cmd { FILE: ui/ignore_darwin.go function ignorePatterns (line 8) | func ignorePatterns(m commonModel) []string { FILE: ui/ignore_general.go function ignorePatterns (line 6) | func ignorePatterns(m commonModel) []string { FILE: ui/keys.go constant keyEnter (line 4) | keyEnter = "enter" constant keyEsc (line 5) | keyEsc = "esc" FILE: ui/markdown.go type markdown (line 16) | type markdown struct method buildFilterValue (line 32) | func (m *markdown) buildFilterValue() { method relativeTime (line 42) | func (m markdown) relativeTime() string { function normalize (line 49) | func normalize(in string) (string, error) { function relativeTime (line 59) | func relativeTime(then time.Time) string { FILE: ui/pager.go constant statusBarHeight (line 25) | statusBarHeight = 1 constant lineNumberWidth (line 26) | lineNumberWidth = 4 type contentRenderedMsg (line 81) | type contentRenderedMsg type reloadMsg (line 82) | type reloadMsg struct type pagerState (line 85) | type pagerState constant pagerStateBrowse (line 88) | pagerStateBrowse pagerState = iota constant pagerStateStatusMessage (line 89) | pagerStateStatusMessage type pagerModel (line 92) | type pagerModel struct method setSize (line 123) | func (m *pagerModel) setSize(w, h int) { method setContent (line 135) | func (m *pagerModel) setContent(s string) { method toggleHelp (line 139) | func (m *pagerModel) toggleHelp() { method showStatusMessage (line 155) | func (m *pagerModel) showStatusMessage(msg pagerStatusMessage) tea.Cmd { method unload (line 167) | func (m *pagerModel) unload() { method update (line 181) | func (m pagerModel) update(msg tea.Msg) (pagerModel, tea.Cmd) { method View (line 282) | func (m pagerModel) View() string { method statusBarView (line 296) | func (m pagerModel) statusBarView(b *strings.Builder) { method helpView (line 368) | func (m pagerModel) helpView() (s string) { method initWatcher (line 482) | func (m *pagerModel) initWatcher() { method watchFile (line 490) | func (m *pagerModel) watchFile() tea.Msg { method unwatchFile (line 522) | func (m *pagerModel) unwatchFile() { method localDir (line 533) | func (m *pagerModel) localDir() string { function newPagerModel (line 108) | func newPagerModel(common *commonModel) pagerModel { type pagerStatusMessage (line 147) | type pagerStatusMessage struct function renderWithGlamour (line 410) | func renderWithGlamour(m pagerModel, md string) tea.Cmd { function glamourRender (line 422) | func glamourRender(m pagerModel, markdown string) (string, error) { FILE: ui/sort.go function sortMarkdowns (line 8) | func sortMarkdowns(mds []*markdown) { FILE: ui/stash.go constant stashIndent (line 23) | stashIndent = 1 constant stashViewItemHeight (line 24) | stashViewItemHeight = 3 constant stashViewTopPadding (line 25) | stashViewTopPadding = 5 constant stashViewBottomPadding (line 26) | stashViewBottomPadding = 3 constant stashViewHorizontalPadding (line 27) | stashViewHorizontalPadding = 6 type filteredMarkdownMsg (line 54) | type filteredMarkdownMsg type fetchedMarkdownMsg (line 55) | type fetchedMarkdownMsg type stashViewState (line 61) | type stashViewState constant stashStateReady (line 64) | stashStateReady stashViewState = iota constant stashStateLoadingDocument (line 65) | stashStateLoadingDocument constant stashStateShowingError (line 66) | stashStateShowingError type sectionKey (line 70) | type sectionKey constant documentsSection (line 73) | documentsSection = iota constant filterSection (line 74) | filterSection type section (line 79) | type section struct type filterState (line 89) | type filterState constant unfiltered (line 92) | unfiltered filterState = iota constant filtering (line 93) | filtering constant filterApplied (line 94) | filterApplied type statusMessageType (line 98) | type statusMessageType constant normalStatusMessage (line 102) | normalStatusMessage statusMessageType = iota constant subtleStatusMessage (line 103) | subtleStatusMessage constant errorStatusMessage (line 104) | errorStatusMessage type statusMessage (line 108) | type statusMessage struct method String (line 128) | func (s statusMessage) String() string { function initSections (line 113) | func initSections() { type stashModel (line 139) | type stashModel struct method loadingDone (line 176) | func (m stashModel) loadingDone() bool { method currentSection (line 180) | func (m stashModel) currentSection() *section { method paginator (line 184) | func (m stashModel) paginator() *paginator.Model { method setPaginator (line 188) | func (m *stashModel) setPaginator(p paginator.Model) { method cursor (line 192) | func (m stashModel) cursor() int { method setCursor (line 196) | func (m *stashModel) setCursor(i int) { method shouldSpin (line 201) | func (m stashModel) shouldSpin() bool { method setSize (line 207) | func (m *stashModel) setSize(width, height int) { method resetFiltering (line 218) | func (m *stashModel) resetFiltering() { method filterApplied (line 242) | func (m stashModel) filterApplied() bool { method shouldUpdateFilter (line 247) | func (m stashModel) shouldUpdateFilter() bool { method updatePagination (line 255) | func (m *stashModel) updatePagination() { method markdownIndex (line 278) | func (m stashModel) markdownIndex() int { method selectedMarkdown (line 283) | func (m stashModel) selectedMarkdown() *markdown { method addMarkdowns (line 295) | func (m *stashModel) addMarkdowns(mds ...*markdown) { method getVisibleMarkdowns (line 309) | func (m stashModel) getVisibleMarkdowns() []*markdown { method openMarkdown (line 319) | func (m *stashModel) openMarkdown(md *markdown) tea.Cmd { method hideStatusMessage (line 325) | func (m *stashModel) hideStatusMessage() { method moveCursorUp (line 333) | func (m *stashModel) moveCursorUp() { method moveCursorDown (line 350) | func (m *stashModel) moveCursorDown() { method update (line 412) | func (m stashModel) update(msg tea.Msg) (stashModel, tea.Cmd) { method handleDocumentBrowsing (line 461) | func (m *stashModel) handleDocumentBrowsing(msg tea.Msg) tea.Cmd { method handleFiltering (line 601) | func (m *stashModel) handleFiltering(msg tea.Msg) tea.Cmd { method view (line 670) | func (m stashModel) view() string { method headerView (line 754) | func (m stashModel) headerView() string { method populatedView (line 798) | func (m stashModel) populatedView() string { function newStashModel (line 376) | func newStashModel(common *commonModel) stashModel { function newStashPaginator (line 402) | func newStashPaginator() paginator.Model { function glowLogoView (line 750) | func glowLogoView() string { function loadLocalMarkdown (line 852) | func loadLocalMarkdown(md *markdown) tea.Cmd { function filterMarkdowns (line 868) | func filterMarkdowns(m stashModel) tea.Cmd { FILE: ui/stashhelp.go type helpEntry (line 12) | type helpEntry struct type helpColumn (line 15) | type helpColumn method render (line 33) | func (h helpColumn) render(height int) (rows []string) { method maxWidths (line 66) | func (h helpColumn) maxWidths() (maxKey int, maxVal int) { function newHelpColumn (line 20) | func newHelpColumn(pairs ...string) (h helpColumn) { method helpView (line 83) | func (m stashModel) helpView() (string, int) { constant minHelpViewHeight (line 162) | minHelpViewHeight = 5 method renderHelp (line 166) | func (m stashModel) renderHelp(groups ...[]string) (string, int) { method miniHelpView (line 178) | func (m stashModel) miniHelpView(entries ...string) string { method fullHelpView (line 223) | func (m stashModel) fullHelpView(groups ...[]string) string { function mergeColumns (line 254) | func mergeColumns(cols ...[]string) string { function concatStringSlices (line 292) | func concatStringSlices(s ...[]string) (agg []string) { FILE: ui/stashitem.go constant verticalLine (line 14) | verticalLine = "│" constant fileListingStashIcon (line 15) | fileListingStashIcon = "• " function stashItemView (line 18) | func stashItemView(b *strings.Builder, m stashModel, index int, md *mark... function styleFilteredText (line 92) | func styleFilteredText(haystack, needles string, defaultStyle, matchedSt... FILE: ui/ui.go constant statusMessageTimeout (line 20) | statusMessageTimeout = time.Second * 3 constant ellipsis (line 21) | ellipsis = "…" function NewProgram (line 33) | func NewProgram(cfg Config, content string) *tea.Program { type errMsg (line 51) | type errMsg struct method Error (line 53) | func (e errMsg) Error() string { return e.err.Error() } type initLocalFileSearchMsg (line 56) | type initLocalFileSearchMsg struct type foundLocalFileMsg (line 63) | type foundLocalFileMsg type localFileSearchFinished (line 64) | type localFileSearchFinished struct type statusMessageTimeoutMsg (line 65) | type statusMessageTimeoutMsg type applicationContext (line 70) | type applicationContext constant stashContext (line 73) | stashContext applicationContext = iota constant pagerContext (line 74) | pagerContext type state (line 78) | type state method String (line 85) | func (s state) String() string { constant stateShowStash (line 81) | stateShowStash state = iota constant stateShowDocument (line 82) | stateShowDocument type commonModel (line 93) | type commonModel struct type model (line 100) | type model struct method unloadDocument (line 116) | func (m *model) unloadDocument() []tea.Cmd { method Init (line 186) | func (m model) Init() tea.Cmd { method Update (line 205) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 327) | func (m model) View() string { function newModel (line 133) | func newModel(cfg Config, content string) tea.Model { function errorView (line 340) | func errorView(err error, fatal bool) string { function findLocalFiles (line 357) | func findLocalFiles(m commonModel) tea.Cmd { function findNextLocalFile (line 400) | func findNextLocalFile(m model) tea.Cmd { function waitForStatusMessageTimeout (line 414) | func waitForStatusMessageTimeout(appCtx applicationContext, t *time.Time... function localFileToMarkdown (line 426) | func localFileToMarkdown(cwd string, res gitcha.SearchResult) *markdown { function stripAbsolutePath (line 434) | func stripAbsolutePath(fullPath, cwd string) string { function indent (line 441) | func indent(s string, n int) string { FILE: url.go constant protoGithub (line 11) | protoGithub = "github://" constant protoGitlab (line 12) | protoGitlab = "gitlab://" constant protoHTTPS (line 13) | protoHTTPS = "https://" function init (line 22) | func init() { function readmeURL (line 29) | func readmeURL(path string) (*source, error) { function githubReadmeURL (line 61) | func githubReadmeURL(path string) *url.URL { function gitlabReadmeURL (line 72) | func gitlabReadmeURL(path string) *url.URL { function isURL (line 83) | func isURL(path string) bool { FILE: url_test.go function TestURLParser (line 5) | func TestURLParser(t *testing.T) { FILE: utils/utils.go function RemoveFrontmatter (line 18) | func RemoveFrontmatter(content []byte) []byte { function detectFrontmatter (line 27) | func detectFrontmatter(c []byte) []int { function ExpandPath (line 35) | func ExpandPath(path string) string { function WrapCodeBlock (line 44) | func WrapCodeBlock(s, language string) string { function IsMarkdownFile (line 53) | func IsMarkdownFile(filename string) bool { function GlamourStyle (line 73) | func GlamourStyle(style string, isCode bool) glamour.TermRendererOption {