SYMBOL INDEX (2845 symbols across 459 files) FILE: src/cache/cache.go function init (line 8) | func init() { constant DeviceStore (line 17) | DeviceStore = "omp.cache" constant TEMPLATECACHE (line 21) | TEMPLATECACHE = "template_cache" constant TOGGLECACHE (line 22) | TOGGLECACHE = "toggle_cache" constant PROMPTCOUNTCACHE (line 23) | PROMPTCOUNTCACHE = "prompt_count_cache" constant ENGINECACHE (line 24) | ENGINECACHE = "engine_cache" constant FONTLISTCACHE (line 25) | FONTLISTCACHE = "font_list_cache" constant CLAUDECACHE (line 26) | CLAUDECACHE = "claude_cache" type Entry (line 29) | type Entry struct method Expired (line 35) | func (c *Entry[T]) Expired() bool { FILE: src/cache/clear.go function Clear (line 19) | func Clear(force bool, excludedFiles ...string) error { function GetTTL (line 91) | func GetTTL() int { FILE: src/cache/command.go type Command (line 7) | type Command struct method Set (line 11) | func (c *Command) Set(command, path string) { method Get (line 15) | func (c *Command) Get(command string) (string, bool) { FILE: src/cache/duration.go type Duration (line 7) | type Duration method Seconds (line 17) | func (d Duration) Seconds() int { method IsEmpty (line 34) | func (d Duration) IsEmpty() bool { constant INFINITE (line 10) | INFINITE = Duration("infinite") constant NONE (line 11) | NONE = Duration("none") constant ONEWEEK (line 12) | ONEWEEK = Duration("168h") constant ONEDAY (line 13) | ONEDAY = Duration("24h") constant TWOYEARS (line 14) | TWOYEARS = Duration("17520h") function ToDuration (line 38) | func ToDuration(seconds int) Duration { FILE: src/cache/duration_test.go function TestSeconds (line 9) | func TestSeconds(t *testing.T) { FILE: src/cache/file_map_windows.go constant minStringSize (line 13) | minStringSize = 50 * 1024 constant maxStringSize (line 14) | maxStringSize = 10 * 1024 * 1024 constant fileMapAllAccess (line 19) | fileMapAllAccess = 0x001f001f constant pageReadwrite (line 20) | pageReadwrite = 0x04 constant genericRead (line 21) | genericRead = 0x80000000 constant genericWrite (line 22) | genericWrite = 0x40000000 constant createAlways (line 23) | createAlways = 2 constant openExisting (line 24) | openExisting = 3 constant fileAttributeNormal (line 25) | fileAttributeNormal = 0x80 type PersistentSharedString (line 42) | type PersistentSharedString struct method SetString (line 197) | func (pss *PersistentSharedString) SetString(value string) error { method bytes (line 225) | func (pss *PersistentSharedString) bytes() []byte { method close (line 253) | func (pss *PersistentSharedString) close() error { function createOrOpenPersistentString (line 50) | func createOrOpenPersistentString(filePath string) (*PersistentSharedStr... function createOrOpenPersistentStringWithSize (line 54) | func createOrOpenPersistentStringWithSize(filePath string, requiredSize ... function openExistingFileWithSize (line 75) | func openExistingFileWithSize(filePath string, requiredSize int) (*Persi... function createNewFileWithSize (line 115) | func createNewFileWithSize(filePath string, size int) (*PersistentShared... function createMappingFromFileWithSize (line 156) | func createMappingFromFileWithSize(filePath string, fileHandle uintptr, ... FILE: src/cache/file_unix.go function openFile (line 10) | func openFile(filePath string) (io.ReadWriteCloser, error) { FILE: src/cache/file_windows.go type persistentStringRWCloser (line 12) | type persistentStringRWCloser struct method Read (line 27) | func (rw *persistentStringRWCloser) Read(p []byte) (int, error) { method Write (line 31) | func (rw *persistentStringRWCloser) Write(p []byte) (int, error) { method Close (line 40) | func (rw *persistentStringRWCloser) Close() error { function NewPersistentStringRWCloser (line 19) | func NewPersistentStringRWCloser(pss *PersistentSharedString) io.ReadWri... function openFile (line 79) | func openFile(filePath string) (io.ReadWriteCloser, error) { FILE: src/cache/init.go type Option (line 13) | type Option function Init (line 38) | func Init(shell string, options ...Option) { function SessionID (line 53) | func SessionID() string { function Close (line 71) | func Close() { FILE: src/cache/path.go function Path (line 14) | func Path() string { function returnOrBuildCachePath (line 46) | func returnOrBuildCachePath(input string) (string, bool) { FILE: src/cache/path_unix.go function platformCachePath (line 7) | func platformCachePath() (string, bool) { function PackageFamilyName (line 15) | func PackageFamilyName() (string, bool) { FILE: src/cache/path_windows.go function platformCachePath (line 13) | func platformCachePath() (string, bool) { function PackageFamilyName (line 30) | func PackageFamilyName() (string, bool) { FILE: src/cache/store.go type store (line 15) | type store struct type Store (line 27) | type Store method new (line 35) | func (s Store) new() *store { method get (line 42) | func (s Store) get() *store { method init (line 60) | func (s Store) init(filePath string, persist bool) { method close (line 117) | func (s Store) close() { constant Session (line 30) | Session Store = "session" constant Device (line 31) | Device Store = "device" constant TTL (line 32) | TTL string = "ttl" function touchSessionFile (line 102) | func touchSessionFile(filePath string) { function Get (line 151) | func Get[T any](s Store, key string) (T, bool) { function Set (line 185) | func Set[T any](s Store, key string, value T, duration Duration) { function Delete (line 211) | func Delete(s Store, key string) { function DeleteAll (line 225) | func DeleteAll(s Store) { function Print (line 238) | func Print(s Store) string { FILE: src/cache/store_test.go function TestStore (line 11) | func TestStore(t *testing.T) { FILE: src/cache/template.go type Template (line 7) | type Template struct method AddSegmentData (line 33) | func (t *Template) AddSegmentData(key string, value any) { method RemoveSegmentData (line 37) | func (t *Template) RemoveSegmentData(key string) { type SimpleTemplate (line 12) | type SimpleTemplate struct FILE: src/cli/args.go function NoArgsOrOneValidArg (line 7) | func NoArgsOrOneValidArg(cmd *cobra.Command, args []string) error { FILE: src/cli/auth.go function init (line 66) | func init() { FILE: src/cli/auth/cli.go type stateMsg (line 18) | type stateMsg type state (line 20) | type state constant code (line 23) | code state = iota constant token (line 24) | token constant done (line 25) | done type ErrorGetter (line 29) | type ErrorGetter interface function setState (line 33) | func setState(message state) { type model (line 41) | type model struct method Init (line 50) | func (m *model) Init() tea.Cmd { method GetError (line 59) | func (m *model) GetError() error { method Update (line 63) | func (m *model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 80) | func (m *model) View() string { function Run (line 95) | func Run(m tea.Model) error { FILE: src/cli/auth/copilot.go constant CopilotClientID (line 18) | CopilotClientID = "Iv1.b507a08c87ecfe98" constant CopilotScope (line 19) | CopilotScope = "read:email" constant CopilotDeviceCodeURL (line 21) | CopilotDeviceCodeURL = "https://github.com/login/device/code" constant CopilotAccessTokenURL (line 22) | CopilotAccessTokenURL = "https://github.com/login/oauth/access_token" constant CopilotTokenKey (line 24) | CopilotTokenKey = "copilot_token" type DeviceCodeResponse (line 28) | type DeviceCodeResponse struct type AccessTokenResponse (line 37) | type AccessTokenResponse struct function NewCopilot (line 45) | func NewCopilot(env runtime.Environment) *CopilotAuth { type CopilotAuth (line 53) | type CopilotAuth struct method Update (line 60) | func (c *CopilotAuth) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Init (line 77) | func (c *CopilotAuth) Init() tea.Cmd { method Authenticate (line 84) | func (c *CopilotAuth) Authenticate() { method requestDeviceCode (line 122) | func (c *CopilotAuth) requestDeviceCode() (*DeviceCodeResponse, error) { method pollForToken (line 144) | func (c *CopilotAuth) pollForToken(deviceCode string, interval int) (s... method status (line 193) | func (c *CopilotAuth) status(err error) string { method View (line 206) | func (c *CopilotAuth) View() string { FILE: src/cli/auth/ytmda.go constant YTMDABASEURL (line 19) | YTMDABASEURL = "http://localhost:9863/api/v1" constant YTMDATOKEN (line 20) | YTMDATOKEN = "ytmda_token" constant tokenURL (line 22) | tokenURL = YTMDABASEURL + "/auth/request" constant codeURL (line 23) | codeURL = YTMDABASEURL + "/auth/requestcode" function NewYtmda (line 26) | func NewYtmda(env runtime.Environment) *Ytmda { type Ytmda (line 34) | type Ytmda struct method Init (line 39) | func (y *Ytmda) Init() tea.Cmd { method Authenticate (line 46) | func (y *Ytmda) Authenticate() { method requestCode (line 79) | func (y *Ytmda) requestCode() (string, error) { method requestToken (line 91) | func (y *Ytmda) requestToken(code string) (string, error) { method status (line 126) | func (y *Ytmda) status(err error) string { function ytmdaRequest (line 103) | func ytmdaRequest[a any](method, url, body string, env runtime.Environme... FILE: src/cli/auth/ytmda_test.go function TestYtdma_Authenticate (line 13) | func TestYtdma_Authenticate(t *testing.T) { FILE: src/cli/cache.go function init (line 83) | func init() { FILE: src/cli/claude.go function processClaudeData (line 88) | func processClaudeData(stdinData []byte) { function init (line 117) | func init() { FILE: src/cli/config.go function init (line 46) | func init() { FILE: src/cli/config_export.go function cleanOutputPath (line 103) | func cleanOutputPath(output string) string { function init (line 115) | func init() { FILE: src/cli/config_export_image.go function init (line 135) | func init() { function setConfigFlag (line 148) | func setConfigFlag() error { FILE: src/cli/debug.go function init (line 27) | func init() { function createDebugCmd (line 31) | func createDebugCmd() *cobra.Command { function getDebugConfig (line 88) | func getDebugConfig(configpath string) *config.Config { FILE: src/cli/disable.go function init (line 25) | func init() { FILE: src/cli/edit.go function editFileWithEditor (line 11) | func editFileWithEditor(file string) int { FILE: src/cli/enable.go function init (line 42) | func init() { function toggleFeature (line 46) | func toggleFeature(cmd *cobra.Command, feature string, enable bool) { FILE: src/cli/font.go function init (line 89) | func init() { FILE: src/cli/font/download.go function Download (line 19) | func Download(fontURL string) ([]byte, error) { function isZipFile (line 63) | func isZipFile(data []byte) bool { function getRemoteFile (line 68) | func getRemoteFile(location string) (data []byte, err error) { FILE: src/cli/font/dsc.go type Resource (line 8) | type Resource struct method Apply (line 18) | func (s *Resource) Apply(schema string) error { method Add (line 22) | func (s *Resource) Add(name string) { function DSC (line 12) | func DSC() *Resource { FILE: src/cli/font/font.go function init (line 15) | func init() { type Font (line 21) | type Font struct method Apply (line 29) | func (f *Font) Apply() error { method Equal (line 55) | func (f *Font) Equal(font *Font) bool { method Resolve (line 63) | func (f *Font) Resolve() (*Font, bool) { function downloadAndInstall (line 36) | func downloadAndInstall(font, zipFolder string) (string, error) { function newFont (line 77) | func newFont(fileName string, data []byte) (*Font, error) { FILE: src/cli/font/fonts.go constant CascadiaCodeMS (line 18) | CascadiaCodeMS = "CascadiaCode (MS)" type release (line 21) | type release struct type Asset (line 25) | type Asset struct method FilterValue (line 32) | func (a Asset) FilterValue() string { return a.Name } function IsLocalZipFile (line 34) | func IsLocalZipFile(name string) bool { function ResolveFontAsset (line 38) | func ResolveFontAsset(font string) (*Asset, error) { function fonts (line 65) | func fonts() ([]*Asset, error) { function getCachedFontData (line 87) | func getCachedFontData() ([]*Asset, error) { function CascadiaCode (line 96) | func CascadiaCode() (*Asset, error) { function fetchFontAssets (line 109) | func fetchFontAssets(repo string) ([]*Asset, error) { FILE: src/cli/font/install.go function contains (line 19) | func contains[S ~[]E, E comparable](s S, e E) bool { function InstallZIP (line 23) | func InstallZIP(data []byte, folder string) ([]string, error) { FILE: src/cli/font/install_darwin.go function install (line 12) | func install(font *Font) error { FILE: src/cli/font/install_unix.go function install (line 18) | func install(font *Font) error { FILE: src/cli/font/install_windows.go constant WM_FONTCHANGE (line 18) | WM_FONTCHANGE = 0x001D constant HWND_BROADCAST (line 19) | HWND_BROADCAST = 0xFFFF function install (line 22) | func install(font *Font) error { FILE: src/cli/font/tui.go constant listHeight (line 23) | listHeight = 14 type loadMsg (line 33) | type loadMsg type zipMsg (line 35) | type zipMsg type successMsg (line 37) | type successMsg type errMsg (line 39) | type errMsg type state (line 41) | type state type itemDelegate (line 43) | type itemDelegate struct method Height (line 45) | func (d itemDelegate) Height() int { retur... method Spacing (line 46) | func (d itemDelegate) Spacing() int { retur... method Update (line 47) | func (d itemDelegate) Update(_ tea.Msg, _ *list.Model) tea.Cmd { retur... method Render (line 48) | func (d itemDelegate) Render(w io.Writer, m list.Model, index int, lis... constant getFonts (line 65) | getFonts state = iota constant selectFont (line 66) | selectFont constant downloadFont (line 67) | downloadFont constant unzipFont (line 68) | unzipFont constant installFont (line 69) | installFont constant quit (line 70) | quit constant done (line 71) | done type main (line 74) | type main struct method buildFontList (line 84) | func (m *main) buildFontList(nerdFonts []*Asset) { method Init (line 142) | func (m *main) Init() tea.Cmd { method Update (line 187) | func (m *main) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 289) | func (m *main) View() string { function getFontsList (line 102) | func getFontsList() { function downloadFontZip (line 112) | func downloadFontZip(location string) { function installLocalFontZIP (line 122) | func installLocalFontZIP(m *main) { function installFontZIP (line 132) | func installFontZIP(zipFile []byte, m *main) { function Run (line 331) | func Run(font, zipFolder string, headless bool) (string, error) { function tui (line 339) | func tui(font, zipFolder string) (string, error) { function installHeadless (line 353) | func installHeadless(font, zipFolder string) (string, error) { FILE: src/cli/get.go function init (line 106) | func init() { FILE: src/cli/image/config.go type Settings (line 23) | type Settings struct type Colors (line 31) | type Colors method RGBFromColorName (line 81) | func (colors Colors) RGBFromColorName(colorName string) (*RGB, error) { function NewColors (line 33) | func NewColors() Colors { function LoadSettings (line 37) | func LoadSettings(filePath string) (*Settings, error) { type HexColor (line 55) | type HexColor method RGB (line 57) | func (color HexColor) RGB() (*RGB, error) { FILE: src/cli/image/config_test.go function TestLoadSettings (line 11) | func TestLoadSettings(t *testing.T) { type testingInterface (line 149) | type testingInterface interface function createTempFile (line 155) | func createTempFile(t testingInterface, content string) string { FILE: src/cli/image/fonts.go constant regular (line 15) | regular = "regular" type Fonts (line 18) | type Fonts struct method IsValid (line 24) | func (f *Fonts) IsValid() bool { method Load (line 33) | func (f *Fonts) Load() (map[string]font.Face, error) { type Font (line 56) | type Font method Load (line 58) | func (f Font) Load() (font.Face, error) { FILE: src/cli/image/image.go type ConnectionError (line 49) | type ConnectionError struct method Error (line 53) | func (f *ConnectionError) Error() string { constant red (line 58) | red = "#ED655A" constant yellow (line 59) | yellow = "#E1C04C" constant green (line 60) | green = "#71BD47" constant fg (line 64) | fg = "FG" constant bg (line 65) | bg = "BG" constant bc (line 66) | bc = "BC" constant str (line 67) | str = "STR" constant text (line 68) | text = "TEXT" constant invertedColor (line 69) | invertedColor = "inverted" constant invertedColorSingle (line 70) | invertedColorSingle = "invertedsingle" constant fullColor (line 71) | fullColor = "full" constant foreground (line 72) | foreground = "foreground" constant background (line 73) | background = "background" constant reset (line 74) | reset = "reset" constant bold (line 75) | bold = "bold" constant boldReset (line 76) | boldReset = "boldr" constant italic (line 77) | italic = "italic" constant italicReset (line 78) | italicReset = "italicr" constant underline (line 79) | underline = "underline" constant underlineReset (line 80) | underlineReset = "underliner" constant overline (line 81) | overline = "overline" constant overlineReset (line 82) | overlineReset = "overliner" constant strikethrough (line 83) | strikethrough = "strikethrough" constant strikethroughReset (line 84) | strikethroughReset = "strikethroughr" constant backgroundReset (line 85) | backgroundReset = "backgroundr" constant color16 (line 86) | color16 = "color16" constant left (line 87) | left = "left" constant lineChange (line 88) | lineChange = "linechange" constant consoleTitle (line 89) | consoleTitle = "title" constant link (line 90) | link = "link" type RGB (line 93) | type RGB struct function NewRGBColor (line 99) | func NewRGBColor(ansiColor string) *RGB { type Renderer (line 111) | type Renderer struct method Init (line 136) | func (ir *Renderer) Init(env runtime.Environment) error { method loadFonts (line 150) | func (ir *Renderer) loadFonts() error { method initDefaults (line 167) | func (ir *Renderer) initDefaults() { method setOutputPath (line 216) | func (ir *Renderer) setOutputPath(config string) { method loadDefaultFonts (line 238) | func (ir *Renderer) loadDefaultFonts() error { method fontHeight (line 315) | func (ir *Renderer) fontHeight() float64 { method runeAdditionalWidth (line 361) | func (ir *Renderer) runeAdditionalWidth(r rune) int { method cleanContent (line 376) | func (ir *Renderer) cleanContent() { method measureContent (line 405) | func (ir *Renderer) measureContent() (width, height float64) { method SavePNG (line 475) | func (ir *Renderer) SavePNG() error { method processAnsiSequence (line 623) | func (ir *Renderer) processAnsiSequence() bool { method setBase16Color (line 678) | func (ir *Renderer) setBase16Color(colorStr string) { type RuneRange (line 319) | type RuneRange struct function colorNameFromCode (line 740) | func colorNameFromCode(colorInt int) string { FILE: src/cli/image/image_test.go function TestSetOutputPath (line 9) | func TestSetOutputPath(t *testing.T) { function TestHexToRGB (line 38) | func TestHexToRGB(t *testing.T) { function TestGetColorNameFromCode (line 98) | func TestGetColorNameFromCode(t *testing.T) { function TestSetBase16Color (line 132) | func TestSetBase16Color(t *testing.T) { function TestProcessAnsiSequence (line 206) | func TestProcessAnsiSequence(t *testing.T) { FILE: src/cli/init.go function init (line 40) | func init() { function createInitCmd (line 44) | func createInitCmd() *cobra.Command { function runInit (line 73) | func runInit(sh, command string) { function getFullCommand (line 144) | func getFullCommand(cmd *cobra.Command, args []string) string { function initCache (line 177) | func initCache(sh string) { FILE: src/cli/notice.go function init (line 37) | func init() { FILE: src/cli/print.go function init (line 39) | func init() { function createPrintCmd (line 43) | func createPrintCmd() *cobra.Command { FILE: src/cli/progress/model.go type Message (line 9) | type Message function NewModel (line 11) | func NewModel() *Model { type Model (line 16) | type Model struct method Update (line 20) | func (m *Model) Update(msg tea.Msg) tea.Cmd { method View (line 27) | func (m *Model) View() string { FILE: src/cli/progress/reader.go function NewReader (line 9) | func NewReader(reader io.Reader, total int64, program *tea.Program) *Rea... type Reader (line 17) | type Reader struct method Read (line 25) | func (r *Reader) Read(p []byte) (int, error) { FILE: src/cli/root.go function Execute (line 101) | func Execute() { function init (line 108) | func init() { FILE: src/cli/shell.go function init (line 47) | func init() { FILE: src/cli/stream.go function init (line 18) | func init() { function createStreamCmd (line 22) | func createStreamCmd() *cobra.Command { FILE: src/cli/stream_test.go function TestStreamCommand_Creation (line 12) | func TestStreamCommand_Creation(t *testing.T) { function TestStreamCommand_Flags (line 20) | func TestStreamCommand_Flags(t *testing.T) { function TestStreamCommand_RequiredFlagsForStreaming (line 50) | func TestStreamCommand_RequiredFlagsForStreaming(t *testing.T) { function TestStreamCommand_FlagInheritance (line 63) | func TestStreamCommand_FlagInheritance(t *testing.T) { function TestStreamCommand_OutputDelimiter (line 96) | func TestStreamCommand_OutputDelimiter(t *testing.T) { function TestStreamCommand_Integration_MockOutput (line 139) | func TestStreamCommand_Integration_MockOutput(t *testing.T) { function TestStreamCommand_HiddenFlags (line 182) | func TestStreamCommand_HiddenFlags(t *testing.T) { function TestStreamCommand_NoArgs (line 191) | func TestStreamCommand_NoArgs(t *testing.T) { function TestStreamCommand_StreamingFlagEnabled (line 207) | func TestStreamCommand_StreamingFlagEnabled(t *testing.T) { FILE: src/cli/toggle.go function parseSegments (line 56) | func parseSegments(args []string) []string { function init (line 67) | func init() { FILE: src/cli/upgrade.go function executeUpgrade (line 135) | func executeUpgrade(cfg *upgrade.Config) int { function init (line 147) | func init() { FILE: src/cli/upgrade/config.go function init (line 17) | func init() { type Config (line 22) | type Config struct method FetchLatest (line 49) | func (cfg *Config) FetchLatest() (string, error) { method DownloadAsset (line 66) | func (cfg *Config) DownloadAsset(asset string) ([]byte, error) { method Download (line 92) | func (cfg *Config) Download(url string) ([]byte, error) { type Source (line 31) | type Source method String (line 38) | func (s Source) String() string { constant GitHub (line 34) | GitHub Source = "github" constant CDN (line 35) | CDN Source = "cdn" FILE: src/cli/upgrade/install.go function install (line 14) | func install(cfg *Config) error { FILE: src/cli/upgrade/install_noop.go function hideFile (line 5) | func hideFile(_ string) error { function IsPackagedInstallation (line 9) | func IsPackagedInstallation() bool { FILE: src/cli/upgrade/install_windows.go function hideFile (line 10) | func hideFile(path string) error { function IsPackagedInstallation (line 28) | func IsPackagedInstallation() bool { FILE: src/cli/upgrade/notice.go constant CACHEKEY (line 13) | CACHEKEY = "upgrade_check" constant upgradeNotice (line 15) | upgradeNotice = ` method Notice (line 27) | func (cfg *Config) Notice() (string, bool) { FILE: src/cli/upgrade/notice_test.go function TestCanUpgrade (line 11) | func TestCanUpgrade(t *testing.T) { FILE: src/cli/upgrade/tui.go type resultMsg (line 21) | type resultMsg type stateMsg (line 23) | type stateMsg type state (line 25) | type state constant validating (line 28) | validating state = iota constant downloading (line 29) | downloading constant verifying (line 30) | verifying constant installing (line 31) | installing function setState (line 34) | func setState(message state) { type model (line 42) | type model struct method Init (line 61) | func (m *model) Init() tea.Cmd { method start (line 67) | func (m *model) start() { method Update (line 86) | func (m *model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 117) | func (m *model) View() string { function initialModel (line 51) | func initialModel(cfg *Config) *model { function Run (line 142) | func Run(cfg *Config) error { function IsMajorUpgrade (line 155) | func IsMajorUpgrade(current, latest string) bool { FILE: src/cli/upgrade/tui_test.go function TestIsMajorUpgrade (line 9) | func TestIsMajorUpgrade(t *testing.T) { FILE: src/cli/upgrade/verify.go function downloadAndVerify (line 36) | func downloadAndVerify(cfg *Config) ([]byte, error) { function verify (line 63) | func verify(cfg *Config, asset string, binary []byte) error { function validateSignature (line 85) | func validateSignature(data, signature []byte) bool { function loadPublicKey (line 96) | func loadPublicKey() (*ed25519.PublicKey, error) { function validateChecksum (line 118) | func validateChecksum(asset string, sha256sums, binary []byte) error { FILE: src/cli/upgrade/verify_test.go function TestVerify (line 10) | func TestVerify(t *testing.T) { function TestVerifyFail (line 21) | func TestVerifyFail(t *testing.T) { FILE: src/cli/version.go function init (line 30) | func init() { FILE: src/color/colors.go function init (line 18) | func init() { constant accentColor (line 27) | accentColor = "accent_color" type String (line 37) | type String interface type Set (line 42) | type Set struct method String (line 47) | func (c *Set) String() string { method ParseString (line 51) | func (c *Set) ParseString(colors string) { type History (line 61) | type History method Len (line 63) | func (c *History) Len() int { method Add (line 67) | func (c *History) Add(background, foreground Ansi) { method Pop (line 87) | func (c *History) Pop() { method Background (line 95) | func (c *History) Background() Ansi { method Foreground (line 103) | func (c *History) Foreground() Ansi { type Ansi (line 113) | type Ansi method IsEmpty (line 119) | func (c Ansi) IsEmpty() bool { method IsTransparent (line 123) | func (c Ansi) IsTransparent() bool { method IsClear (line 127) | func (c Ansi) IsClear() bool { method ToForeground (line 131) | func (c Ansi) ToForeground() Ansi { method ResolveTemplate (line 139) | func (c Ansi) ResolveTemplate() Ansi { method String (line 156) | func (c Ansi) String() string { constant emptyColor (line 116) | emptyColor = Ansi("") function MakeColors (line 160) | func MakeColors(palette Palette, cacheEnabled bool, accentColor Ansi, en... type RGB (line 210) | type RGB struct type Defaults (line 215) | type Defaults struct method SetAccentColor (line 176) | func (d *Defaults) SetAccentColor(env runtime.Environment, defaultColo... method ToAnsi (line 242) | func (d *Defaults) ToAnsi(ansiColor Ansi, isBackground bool) Ansi { method Resolve (line 298) | func (d *Defaults) Resolve(colorString Ansi) (Ansi, error) { function getAnsiColorFromName (line 304) | func getAnsiColorFromName(colorValue Ansi, isBackground bool) (Ansi, err... function IsAnsiColorName (line 312) | func IsAnsiColorName(colorValue Ansi) bool { type PaletteColors (line 319) | type PaletteColors struct method ToAnsi (line 324) | func (p *PaletteColors) ToAnsi(colorString Ansi, isBackground bool) An... method Resolve (line 335) | func (p *PaletteColors) Resolve(colorString Ansi) (Ansi, error) { type Cached (line 342) | type Cached struct method ToAnsi (line 352) | func (c *Cached) ToAnsi(colorString Ansi, isBackground bool) Ansi { method Resolve (line 367) | func (c *Cached) Resolve(colorString Ansi) (Ansi, error) { type cachedColorKey (line 347) | type cachedColorKey struct FILE: src/color/colors_darwin.go function GetAccentColor (line 11) | func GetAccentColor(env runtime.Environment) (*RGB, error) { FILE: src/color/colors_test.go function TestGetAnsiFromColorString (line 14) | func TestGetAnsiFromColorString(t *testing.T) { function TestMakeColors (line 42) | func TestMakeColors(t *testing.T) { function TestAnsiRender (line 66) | func TestAnsiRender(t *testing.T) { FILE: src/color/colors_unix.go function GetAccentColor (line 7) | func GetAccentColor(_ runtime.Environment) (*RGB, error) { FILE: src/color/colors_windows.go function GetAccentColor (line 11) | func GetAccentColor(env runtime.Environment) (*RGB, error) { FILE: src/color/cycle.go type Cycle (line 3) | type Cycle method Loop (line 5) | func (c Cycle) Loop() (*Set, Cycle) { FILE: src/color/keywords.go constant Transparent (line 5) | Transparent Ansi = "transparent" constant Accent (line 7) | Accent Ansi = "accent" constant ParentBackground (line 9) | ParentBackground Ansi = "parentBackground" constant ParentForeground (line 11) | ParentForeground Ansi = "parentForeground" constant Background (line 13) | Background Ansi = "background" constant Foreground (line 15) | Foreground Ansi = "foreground" method isKeyword (line 18) | func (color Ansi) isKeyword() bool { method Resolve (line 27) | func (color Ansi) Resolve(current *Set, parents []*Set) Ansi { FILE: src/color/palette.go type Palette (line 9) | type Palette method ResolveColor (line 20) | func (p Palette) ResolveColor(colorName Ansi) (Ansi, error) { method resolveColor (line 25) | func (p Palette) resolveColor(colorName Ansi, depth int, originalColor... method MaybeResolveColor (line 95) | func (p Palette) MaybeResolveColor(colorName Ansi) Ansi { constant paletteKeyPrefix (line 12) | paletteKeyPrefix = "p:" constant paletteKeyError (line 13) | paletteKeyError = "palette: requested color %s does not exist i... constant paletteMaxRecursionDepth (line 14) | paletteMaxRecursionDepth = 3 constant paletteRecursiveKeyError (line 15) | paletteRecursiveKeyError = "palette: recursive resolution of color %s re... function asPaletteKey (line 48) | func asPaletteKey(colorName Ansi) (Ansi, bool) { function isPaletteKey (line 59) | func isPaletteKey(colorName Ansi) (Ansi, bool) { type PaletteKeyError (line 64) | type PaletteKeyError struct method Error (line 69) | func (p *PaletteKeyError) Error() string { type PaletteRecursiveKeyError (line 82) | type PaletteRecursiveKeyError struct method Error (line 88) | func (p *PaletteRecursiveKeyError) Error() string { FILE: src/color/palette_test.go type TestPaletteRequest (line 19) | type TestPaletteRequest struct function TestPaletteShouldResolveColorFromTestPalette (line 26) | func TestPaletteShouldResolveColorFromTestPalette(t *testing.T) { function testPaletteRequest (line 40) | func testPaletteRequest(t *testing.T, tc TestPaletteRequest) { function TestPaletteShouldIgnoreNonPaletteColors (line 52) | func TestPaletteShouldIgnoreNonPaletteColors(t *testing.T) { function TestPaletteShouldReturnErrorOnMissingColor (line 65) | func TestPaletteShouldReturnErrorOnMissingColor(t *testing.T) { function TestPaletteShouldHandleMixedCases (line 92) | func TestPaletteShouldHandleMixedCases(t *testing.T) { function TestPaletteShouldUseEmptyColorByDefault (line 106) | func TestPaletteShouldUseEmptyColorByDefault(t *testing.T) { function TestPaletteShouldResolveRecursiveReference (line 120) | func TestPaletteShouldResolveRecursiveReference(t *testing.T) { function TestPaletteShouldHandleEmptyKey (line 194) | func TestPaletteShouldHandleEmptyKey(t *testing.T) { function BenchmarkPaletteMixedCaseResolution (line 205) | func BenchmarkPaletteMixedCaseResolution(b *testing.B) { function benchmarkPaletteMixedCaseResolution (line 211) | func benchmarkPaletteMixedCaseResolution() { FILE: src/color/palettes.go type Palettes (line 3) | type Palettes struct FILE: src/config/backup.go method Backup (line 14) | func (cfg *Config) Backup() { method Export (line 32) | func (cfg *Config) Export(format string) string { method Write (line 74) | func (cfg *Config) Write(format string) { FILE: src/config/block.go type BlockType (line 6) | type BlockType type BlockAlignment (line 9) | type BlockAlignment type Overflow (line 12) | type Overflow constant Prompt (line 16) | Prompt BlockType = "prompt" constant RPrompt (line 18) | RPrompt BlockType = "rprompt" constant Left (line 20) | Left BlockAlignment = "left" constant Right (line 22) | Right BlockAlignment = "right" constant Break (line 24) | Break Overflow = "break" constant Hide (line 26) | Hide Overflow = "hide" type Block (line 30) | type Block struct method key (line 43) | func (b *Block) key() any { FILE: src/config/cache.go type Cache (line 5) | type Cache struct type Strategy (line 10) | type Strategy constant Folder (line 13) | Folder Strategy = "folder" constant Session (line 14) | Session Strategy = "session" constant Device (line 15) | Device Strategy = "device" FILE: src/config/config.go function init (line 20) | func init() { constant JSON (line 25) | JSON string = "json" constant YAML (line 26) | YAML string = "yaml" constant TOML (line 27) | TOML string = "toml" constant TML (line 29) | TML string = "tml" constant YML (line 30) | YML string = "yml" constant JSONC (line 31) | JSONC string = "jsonc" constant AUTOUPGRADE (line 33) | AUTOUPGRADE = "upgrade" constant UPGRADENOTICE (line 34) | UPGRADENOTICE = "notice" constant RELOAD (line 35) | RELOAD = "reload" constant Version (line 37) | Version = 4 type Action (line 40) | type Action method IsDefault (line 42) | func (a Action) IsDefault() bool { constant Prepend (line 47) | Prepend Action = "prepend" constant Extend (line 48) | Extend Action = "extend" type Config (line 52) | type Config struct method MakeColors (line 89) | func (cfg *Config) MakeColors(env runtime.Environment) color.String { method getPalette (line 94) | func (cfg *Config) getPalette() color.Palette { method Features (line 120) | func (cfg *Config) Features(env runtime.Environment) shell.Features { method upgradeFeatures (line 207) | func (cfg *Config) upgradeFeatures() shell.Features { method Hash (line 235) | func (cfg *Config) Hash() uint64 { method migrateSegmentProperties (line 241) | func (cfg *Config) migrateSegmentProperties() { method toggleSegments (line 251) | func (cfg *Config) toggleSegments() { FILE: src/config/config_test.go function TestGetPalette (line 16) | func TestGetPalette(t *testing.T) { function TestUpgradeFeatures (line 114) | func TestUpgradeFeatures(t *testing.T) { FILE: src/config/default.go function Default (line 11) | func Default(configError error) *Config { function Claude (line 209) | func Claude() *Config { FILE: src/config/dsc.go function init (line 16) | func init() { type Resource (line 20) | type Resource struct method Add (line 37) | func (s *Resource) Add(configPath string) { method ToJSON (line 52) | func (s *Resource) ToJSON() string { function DSC (line 24) | func DSC() *Resource { type Configuration (line 30) | type Configuration struct method Apply (line 57) | func (c *Configuration) Apply() error { method Equal (line 94) | func (c *Configuration) Equal(config *Configuration) bool { method Resolve (line 102) | func (c *Configuration) Resolve() (*Configuration, bool) { FILE: src/config/gob.go constant configKey (line 14) | configKey = "CONFIG" constant SourceKey (line 15) | SourceKey = "CONFIG_SOURCE" method Store (line 18) | func (cfg *Config) Store() { function Get (line 25) | func Get(configFile string, reload bool) *Config { method Base64 (line 52) | func (cfg *Config) Base64() string { method Restore (line 66) | func (cfg *Config) Restore(base64String string) error { FILE: src/config/load.go type Error (line 28) | type Error struct method Error (line 32) | func (e Error) Error() string { function Load (line 45) | func Load(configFile string) *Config { function resolveConfigLocation (line 56) | func resolveConfigLocation(config string) string { type hashWriter (line 89) | type hashWriter interface function Parse (line 93) | func Parse(configFile string) (*Config, error) { function resolvePath (line 162) | func resolvePath(configFile, parentFolder string) string { function read (line 180) | func read(configFile string, h hashWriter) (*Config, error) { function getData (line 241) | func getData(configFile string) ([]byte, error) { function isCygwin (line 250) | func isCygwin() bool { function isTheme (line 254) | func isTheme(config string) (string, bool) { function getMSIXThemePath (line 399) | func getMSIXThemePath(themeFile string) (string, error) { FILE: src/config/merge.go type matcher (line 11) | type matcher interface type matchMap (line 15) | type matchMap method hasMatch (line 17) | func (mm *matchMap[T]) hasMatch(index int, m T) (T, bool) { method add (line 28) | func (mm *matchMap[T]) add(m T) { method remove (line 36) | func (mm *matchMap[T]) remove(m T) { function createMatchMap (line 40) | func createMatchMap[T matcher](items []T) matchMap[T] { method merge (line 50) | func (cfg *Config) merge(override *Config) error { function merge (line 117) | func merge(override, base any, skipFields ...string) error { function isZeroValue (line 166) | func isZeroValue(v reflect.Value) bool { function mergeSlices (line 181) | func mergeSlices(override, base reflect.Value) { function mergeMaps (line 193) | func mergeMaps(override, base reflect.Value) { FILE: src/config/merge_test.go function TestConfigMerge (line 12) | func TestConfigMerge(t *testing.T) { function TestConfigMergeEdgeCases (line 352) | func TestConfigMergeEdgeCases(t *testing.T) { FILE: src/config/migrate_glyphs.go type ConnectionError (line 12) | type ConnectionError struct method Error (line 16) | func (f *ConnectionError) Error() string { type codePoints (line 20) | type codePoints function getGlyphCodePoints (line 22) | func getGlyphCodePoints() (codePoints, error) { function EscapeGlyphs (line 54) | func EscapeGlyphs(s string, migrate bool) string { FILE: src/config/migrate_glyphs_test.go function TestGetCodePoints (line 9) | func TestGetCodePoints(t *testing.T) { function TestEscapeGlyphs (line 18) | func TestEscapeGlyphs(t *testing.T) { FILE: src/config/responsive.go function shouldHideForWidth (line 5) | func shouldHideForWidth(env runtime.Environment, minWidth, maxWidth int)... FILE: src/config/responsive_test.go function TestShouldHideForWidth (line 11) | func TestShouldHideForWidth(t *testing.T) { FILE: src/config/segment.go type SegmentStyle (line 25) | type SegmentStyle method resolve (line 27) | func (s *SegmentStyle) resolve(context any) SegmentStyle { type Segment (line 38) | type Segment struct method UnmarshalJSON (line 91) | func (segment *Segment) UnmarshalJSON(data []byte) error { method UnmarshalYAML (line 108) | func (segment *Segment) UnmarshalYAML(node *yaml.Node) error { method MigratePropertiesToOptions (line 134) | func (segment *Segment) MigratePropertiesToOptions() { method Name (line 141) | func (segment *Segment) Name() string { method Execute (line 155) | func (segment *Segment) Execute(env runtime.Environment) { method Render (line 202) | func (segment *Segment) Render(index int, force bool) bool { method Text (line 235) | func (segment *Segment) Text() string { method SetText (line 239) | func (segment *Segment) SetText(text string) { method ResolveForeground (line 243) | func (segment *Segment) ResolveForeground() color.Ansi { method ResolveBackground (line 252) | func (segment *Segment) ResolveBackground() color.Ansi { method ResolveStyle (line 261) | func (segment *Segment) ResolveStyle() SegmentStyle { method IsPowerline (line 271) | func (segment *Segment) IsPowerline() bool { method HasEmptyDiamondAtEnd (line 276) | func (segment *Segment) HasEmptyDiamondAtEnd() bool { method hasCache (line 284) | func (segment *Segment) hasCache() bool { method isToggled (line 288) | func (segment *Segment) isToggled() bool { method restoreCache (line 308) | func (segment *Segment) restoreCache() bool { method setCache (line 335) | func (segment *Segment) setCache() { method cacheKeyAndStore (line 358) | func (segment *Segment) cacheKeyAndStore() (string, cache.Store) { method folderKey (line 372) | func (segment *Segment) folderKey() string { method string (line 381) | func (segment *Segment) string() string { method shouldIncludeFolder (line 408) | func (segment *Segment) shouldIncludeFolder() bool { method cwdIncluded (line 419) | func (segment *Segment) cwdIncluded() bool { method cwdExcluded (line 427) | func (segment *Segment) cwdExcluded() bool { method evaluateNeeds (line 431) | func (segment *Segment) evaluateNeeds() { method key (line 462) | func (segment *Segment) key() any { type segmentAlias (line 83) | type segmentAlias type segmentAux (line 86) | type segmentAux struct FILE: src/config/segment_test.go constant cwd (line 18) | cwd = "Projects/oh-my-posh" function TestMapSegmentWriterCanMap (line 21) | func TestMapSegmentWriterCanMap(t *testing.T) { function TestMapSegmentWriterCannotMap (line 31) | func TestMapSegmentWriterCannotMap(t *testing.T) { function TestParseTestConfig (line 40) | func TestParseTestConfig(t *testing.T) { function TestParseConfigWithOptions (line 64) | func TestParseConfigWithOptions(t *testing.T) { function TestParseYAMLConfigWithProperties (line 82) | func TestParseYAMLConfigWithProperties(t *testing.T) { function TestParseYAMLConfigWithOptions (line 96) | func TestParseYAMLConfigWithOptions(t *testing.T) { function TestParseTOMLConfigWithProperties (line 110) | func TestParseTOMLConfigWithProperties(t *testing.T) { function TestParseTOMLConfigWithOptions (line 128) | func TestParseTOMLConfigWithOptions(t *testing.T) { function TestParseTOMLConfigWithBothOptionsAndProperties (line 146) | func TestParseTOMLConfigWithBothOptionsAndProperties(t *testing.T) { function TestShouldIncludeFolder (line 167) | func TestShouldIncludeFolder(t *testing.T) { function TestGetColors (line 196) | func TestGetColors(t *testing.T) { function TestEvaluateNeeds (line 271) | func TestEvaluateNeeds(t *testing.T) { function TestSegment_NoCachingWhenPending (line 314) | func TestSegment_NoCachingWhenPending(t *testing.T) { FILE: src/config/segment_types.go type SegmentType (line 13) | type SegmentType type SegmentWriter (line 16) | type SegmentWriter interface function init (line 26) | func init() { constant Plain (line 157) | Plain SegmentStyle = "plain" constant Powerline (line 159) | Powerline SegmentStyle = "powerline" constant Accordion (line 161) | Accordion SegmentStyle = "accordion" constant Diamond (line 163) | Diamond SegmentStyle = "diamond" constant ANGULAR (line 165) | ANGULAR SegmentType = "angular" constant ARGOCD (line 167) | ARGOCD SegmentType = "argocd" constant AURELIA (line 169) | AURELIA SegmentType = "aurelia" constant AWS (line 171) | AWS SegmentType = "aws" constant AZ (line 173) | AZ SegmentType = "az" constant AZD (line 175) | AZD SegmentType = "azd" constant AZFUNC (line 177) | AZFUNC SegmentType = "azfunc" constant BATTERY (line 179) | BATTERY SegmentType = "battery" constant BAZEL (line 181) | BAZEL SegmentType = "bazel" constant BREWFATHER (line 183) | BREWFATHER SegmentType = "brewfather" constant BUF (line 185) | BUF SegmentType = "buf" constant BUN (line 187) | BUN SegmentType = "bun" constant CARBONINTENSITY (line 189) | CARBONINTENSITY SegmentType = "carbonintensity" constant CDS (line 191) | CDS SegmentType = "cds" constant CF (line 193) | CF SegmentType = "cf" constant CFTARGET (line 195) | CFTARGET SegmentType = "cftarget" constant CLAUDE (line 197) | CLAUDE SegmentType = "claude" constant CLOJURE (line 199) | CLOJURE SegmentType = "clojure" constant CMAKE (line 201) | CMAKE SegmentType = "cmake" constant CONNECTION (line 203) | CONNECTION SegmentType = "connection" constant COPILOT (line 205) | COPILOT SegmentType = "copilot" constant CRYSTAL (line 207) | CRYSTAL SegmentType = "crystal" constant DART (line 209) | DART SegmentType = "dart" constant DENO (line 211) | DENO SegmentType = "deno" constant DOCKER (line 213) | DOCKER SegmentType = "docker" constant DOTNET (line 215) | DOTNET SegmentType = "dotnet" constant ELIXIR (line 217) | ELIXIR SegmentType = "elixir" constant EXECUTIONTIME (line 219) | EXECUTIONTIME SegmentType = "executiontime" constant EXIT (line 221) | EXIT SegmentType = "exit" constant FIREBASE (line 223) | FIREBASE SegmentType = "firebase" constant FLUTTER (line 225) | FLUTTER SegmentType = "flutter" constant FORTRAN (line 227) | FORTRAN SegmentType = "fortran" constant FOSSIL (line 229) | FOSSIL SegmentType = "fossil" constant GCP (line 231) | GCP SegmentType = "gcp" constant GIT (line 233) | GIT SegmentType = "git" constant GITVERSION (line 235) | GITVERSION SegmentType = "gitversion" constant GOLANG (line 237) | GOLANG SegmentType = "go" constant HASKELL (line 239) | HASKELL SegmentType = "haskell" constant HELM (line 241) | HELM SegmentType = "helm" constant IPIFY (line 243) | IPIFY SegmentType = "ipify" constant JAVA (line 245) | JAVA SegmentType = "java" constant HTTP (line 247) | HTTP SegmentType = "http" constant JUJUTSU (line 249) | JUJUTSU SegmentType = "jujutsu" constant JULIA (line 251) | JULIA SegmentType = "julia" constant KOTLIN (line 253) | KOTLIN SegmentType = "kotlin" constant KUBECTL (line 255) | KUBECTL SegmentType = "kubectl" constant LASTFM (line 257) | LASTFM SegmentType = "lastfm" constant LUA (line 259) | LUA SegmentType = "lua" constant MERCURIAL (line 261) | MERCURIAL SegmentType = "mercurial" constant MOJO (line 263) | MOJO SegmentType = "mojo" constant MVN (line 265) | MVN SegmentType = "mvn" constant NBA (line 267) | NBA SegmentType = "nba" constant NBGV (line 269) | NBGV SegmentType = "nbgv" constant NIGHTSCOUT (line 271) | NIGHTSCOUT SegmentType = "nightscout" constant NIM (line 273) | NIM SegmentType = "nim" constant NIXSHELL (line 275) | NIXSHELL SegmentType = "nix-shell" constant NODE (line 277) | NODE SegmentType = "node" constant NPM (line 279) | NPM SegmentType = "npm" constant NX (line 281) | NX SegmentType = "nx" constant OCAML (line 283) | OCAML SegmentType = "ocaml" constant OS (line 285) | OS SegmentType = "os" constant OWM (line 287) | OWM SegmentType = "owm" constant PATH (line 289) | PATH SegmentType = "path" constant PERL (line 291) | PERL SegmentType = "perl" constant PHP (line 293) | PHP SegmentType = "php" constant PLASTIC (line 295) | PLASTIC SegmentType = "plastic" constant PNPM (line 297) | PNPM SegmentType = "pnpm" constant PROJECT (line 299) | PROJECT SegmentType = "project" constant PULUMI (line 301) | PULUMI SegmentType = "pulumi" constant PYTHON (line 303) | PYTHON SegmentType = "python" constant QUASAR (line 305) | QUASAR SegmentType = "quasar" constant R (line 307) | R SegmentType = "r" constant RAMADAN (line 309) | RAMADAN SegmentType = "ramadan" constant REACT (line 311) | REACT SegmentType = "react" constant ROOT (line 313) | ROOT SegmentType = "root" constant RUBY (line 315) | RUBY SegmentType = "ruby" constant RUST (line 317) | RUST SegmentType = "rust" constant SAPLING (line 319) | SAPLING SegmentType = "sapling" constant SESSION (line 321) | SESSION SegmentType = "session" constant SHELL (line 323) | SHELL SegmentType = "shell" constant SITECORE (line 325) | SITECORE SegmentType = "sitecore" constant SPOTIFY (line 327) | SPOTIFY SegmentType = "spotify" constant STATUS (line 329) | STATUS SegmentType = "status" constant STRAVA (line 331) | STRAVA SegmentType = "strava" constant SVELTE (line 333) | SVELTE SegmentType = "svelte" constant SVN (line 335) | SVN SegmentType = "svn" constant SWIFT (line 337) | SWIFT SegmentType = "swift" constant SYSTEMINFO (line 339) | SYSTEMINFO SegmentType = "sysinfo" constant TALOSCTL (line 341) | TALOSCTL SegmentType = "talosctl" constant TASKWARRIOR (line 343) | TASKWARRIOR SegmentType = "taskwarrior" constant TAURI (line 345) | TAURI SegmentType = "tauri" constant TERRAFORM (line 347) | TERRAFORM SegmentType = "terraform" constant TEXT (line 349) | TEXT SegmentType = "text" constant TIME (line 351) | TIME SegmentType = "time" constant TODOIST (line 353) | TODOIST SegmentType = "todoist" constant UI5TOOLING (line 355) | UI5TOOLING SegmentType = "ui5tooling" constant UMBRACO (line 357) | UMBRACO SegmentType = "umbraco" constant UNITY (line 359) | UNITY SegmentType = "unity" constant UPGRADE (line 361) | UPGRADE SegmentType = "upgrade" constant V (line 363) | V SegmentType = "v" constant VALA (line 365) | VALA SegmentType = "vala" constant WAKATIME (line 367) | WAKATIME SegmentType = "wakatime" constant WINGET (line 369) | WINGET SegmentType = "winget" constant WINREG (line 371) | WINREG SegmentType = "winreg" constant WITHINGS (line 373) | WITHINGS SegmentType = "withings" constant XMAKE (line 375) | XMAKE SegmentType = "xmake" constant YARN (line 377) | YARN SegmentType = "yarn" constant YTM (line 379) | YTM SegmentType = "ytm" constant ZIG (line 381) | ZIG SegmentType = "zig" method MapSegmentWithWriter (line 498) | func (segment *Segment) MapSegmentWithWriter(env runtime.Environment) er... FILE: src/constants/constants_unix.go constant DotnetExitCode (line 6) | DotnetExitCode = 142 FILE: src/constants/constants_windows.go constant DotnetExitCode (line 4) | DotnetExitCode = int(0x80008091) FILE: src/dsc/cli.go type resource (line 16) | type resource interface function Command (line 26) | func Command(r resource) *cobra.Command { FILE: src/dsc/error.go type Error (line 3) | type Error struct method Error (line 7) | func (e *Error) Error() string { function newError (line 13) | func newError(message string) *Error { FILE: src/dsc/resource.go type Resource (line 15) | type Resource struct type State (line 19) | type State interface method Load (line 25) | func (resource *Resource[T]) Load() { method Save (line 35) | func (resource *Resource[T]) Save() { method Add (line 39) | func (resource *Resource[T]) Add(item T) { method Resolve (line 52) | func (resource *Resource[T]) Resolve() { method Apply (line 60) | func (resource *Resource[T]) Apply(schema string) error { method Test (line 89) | func (resource *Resource[T]) Test(_ string) error { method Schema (line 93) | func (resource *Resource[T]) Schema() string { method getItemTypeName (line 107) | func (resource *Resource[T]) getItemTypeName() string { method cacheKey (line 117) | func (resource *Resource[T]) cacheKey() string { method ToJSON (line 121) | func (resource *Resource[T]) ToJSON() string { FILE: src/generics/convert.go type Numeric (line 8) | type Numeric interface function toNumeric (line 12) | func toNumeric[T Numeric](value any) (T, error) { function TryParseInt (line 38) | func TryParseInt[T ~int | ~int64](value any) (T, error) { function TryParseFloat (line 42) | func TryParseFloat[T ~float64](value any) (T, error) { function ToInt (line 46) | func ToInt[T ~int | ~int64](value any) T { FILE: src/generics/pool.go type Pool (line 5) | type Pool struct function NewPool (line 10) | func NewPool[T any](newFunc func() T) *Pool[T] { method Get (line 19) | func (p *Pool[T]) Get() T { method Put (line 23) | func (p *Pool[T]) Put(item T) { FILE: src/generics/slices.go function ParseStringSlice (line 6) | func ParseStringSlice(param any) []string { function parseSlice (line 11) | func parseSlice[T any](param any, converter func(any) T) []T { FILE: src/log/log.go function Enable (line 18) | func Enable(plain bool) { function Trace (line 25) | func Trace(start time.Time, args ...string) { function Debug (line 53) | func Debug(message ...string) { function Debugf (line 64) | func Debugf(format string, args ...any) { function Error (line 73) | func Error(err error) { function Errorf (line 83) | func Errorf(format string, args ...any) { function String (line 91) | func String() string { function funcSpec (line 95) | func funcSpec() (string, int) { FILE: src/log/print.go type logType (line 9) | type logType constant debug (line 12) | debug logType = 1 << iota constant bug (line 13) | bug constant trace (line 14) | trace type Text (line 17) | type Text method Green (line 19) | func (t Text) Green() Text { method Red (line 26) | func (t Text) Red() Text { method Purple (line 33) | func (t Text) Purple() Text { method Yellow (line 40) | func (t Text) Yellow() Text { method Orange (line 47) | func (t Text) Orange() Text { method Bold (line 54) | func (t Text) Bold() Text { method Plain (line 61) | func (t Text) Plain() Text { method String (line 68) | func (t Text) String() string { function printLn (line 72) | func printLn(lt logType, args ...string) { function parseArgs (line 94) | func parseArgs(args ...string) Text { FILE: src/main.go function main (line 7) | func main() { FILE: src/main_test.go function BenchmarkInit (line 12) | func BenchmarkInit(b *testing.B) { function BenchmarkPrimary (line 24) | func BenchmarkPrimary(b *testing.B) { FILE: src/maps/concurrent.go function NewConcurrent (line 10) | func NewConcurrent[V any]() *Concurrent[V] { type Concurrent (line 15) | type Concurrent struct method Set (line 19) | func (cm *Concurrent[V]) Set(key string, value V) { method Get (line 23) | func (cm *Concurrent[V]) Get(key string) (V, bool) { method MustGet (line 33) | func (cm *Concurrent[V]) MustGet(key string) V { method Delete (line 44) | func (cm *Concurrent[V]) Delete(key string) { method Contains (line 48) | func (cm *Concurrent[V]) Contains(key string) bool { method ToSimple (line 53) | func (cm *Concurrent[V]) ToSimple() Simple[V] { FILE: src/maps/config.go function init (line 7) | func init() { type Config (line 12) | type Config struct method GetUserName (line 18) | func (c *Config) GetUserName(key string) string { method GetHostName (line 26) | func (c *Config) GetHostName(key string) string { method GetShellName (line 34) | func (c *Config) GetShellName(key string) string { type Map (line 42) | type Map method Get (line 44) | func (m *Map) Get(key string) string { FILE: src/maps/simple.go type Simple (line 4) | type Simple method ToConcurrent (line 6) | func (m Simple[V]) ToConcurrent() *Concurrent[V] { FILE: src/prompt/debug.go method PrintDebug (line 13) | func (e *Engine) PrintDebug(startTime time.Time, version string) string { FILE: src/prompt/engine.go type Engine (line 20) | type Engine struct method write (line 50) | func (e *Engine) write(txt string) { method string (line 58) | func (e *Engine) string() string { method canWriteRightBlock (line 64) | func (e *Engine) canWriteRightBlock(length int, rprompt bool) (int, bo... method pwd (line 99) | func (e *Engine) pwd() { method getNewline (line 132) | func (e *Engine) getNewline() string { method writeNewline (line 147) | func (e *Engine) writeNewline() { method isWarp (line 155) | func (e *Engine) isWarp() bool { method isIterm (line 159) | func (e *Engine) isIterm() bool { method shouldFill (line 163) | func (e *Engine) shouldFill(filler string, padLength int) (string, boo... method getTitleTemplateText (line 196) | func (e *Engine) getTitleTemplateText() string { method renderBlock (line 204) | func (e *Engine) renderBlock(block *config.Block, cancelNewline bool) ... method writeBlock (line 216) | func (e *Engine) writeBlock(block *config.Block, blockText string, len... method renderBlockFromCache (line 286) | func (e *Engine) renderBlockFromCache(block *config.Block, cancelNewli... method applyPowerShellBleedPatch (line 331) | func (e *Engine) applyPowerShellBleedPatch() { method setActiveSegment (line 348) | func (e *Engine) setActiveSegment(segment *config.Segment) { method renderActiveSegment (line 354) | func (e *Engine) renderActiveSegment() { method writeSeparator (line 381) | func (e *Engine) writeSeparator(final bool) { method getPowerlineColor (line 463) | func (e *Engine) getPowerlineColor() color.Ansi { method adjustTrailingDiamondColorOverrides (line 483) | func (e *Engine) adjustTrailingDiamondColorOverrides() { method rectifyTerminalWidth (line 533) | func (e *Engine) rectifyTerminalWidth(diff int) { constant PRIMARY (line 39) | PRIMARY = "primary" constant TRANSIENT (line 40) | TRANSIENT = "transient" constant DEBUG (line 41) | DEBUG = "debug" constant SECONDARY (line 42) | SECONDARY = "secondary" constant RIGHT (line 43) | RIGHT = "right" constant TOOLTIP (line 44) | TOOLTIP = "tooltip" constant VALID (line 45) | VALID = "valid" constant ERROR (line 46) | ERROR = "error" constant PREVIEW (line 47) | PREVIEW = "preview" function New (line 547) | func New(flags *runtime.Flags) *Engine { FILE: src/prompt/engine_test.go function TestCanWriteRPrompt (line 21) | func TestCanWriteRPrompt(t *testing.T) { function TestPrintPWD (line 54) | func TestPrintPWD(t *testing.T) { function TestPrintPWDWSL (line 122) | func TestPrintPWDWSL(t *testing.T) { function BenchmarkEngineRender (line 205) | func BenchmarkEngineRender(b *testing.B) { function engineRender (line 211) | func engineRender() { function TestGetTitle (line 234) | func TestGetTitle(t *testing.T) { function TestGetConsoleTitleIfGethostnameReturnsError (line 306) | func TestGetConsoleTitleIfGethostnameReturnsError(t *testing.T) { function TestShouldFill (line 370) | func TestShouldFill(t *testing.T) { FILE: src/prompt/extra.go type ExtraPromptType (line 13) | type ExtraPromptType constant Transient (line 16) | Transient ExtraPromptType = iota constant Valid (line 17) | Valid constant Error (line 18) | Error constant Secondary (line 19) | Secondary constant Debug (line 20) | Debug method ExtraPrompt (line 23) | func (e *Engine) ExtraPrompt(promptType ExtraPromptType) string { FILE: src/prompt/preview.go method Preview (line 10) | func (e *Engine) Preview() string { FILE: src/prompt/primary.go method Primary (line 13) | func (e *Engine) Primary() string { method primaryInternal (line 18) | func (e *Engine) primaryInternal(fromCache bool) string { method writePrimaryPrompt (line 51) | func (e *Engine) writePrimaryPrompt(needsPrimaryRPrompt bool) { method writePrimaryPromptInternal (line 56) | func (e *Engine) writePrimaryPromptInternal(needsPrimaryRPrompt, fromCac... method needsPrimaryRightPrompt (line 130) | func (e *Engine) needsPrimaryRightPrompt() bool { method writePrimaryRightPrompt (line 143) | func (e *Engine) writePrimaryRightPrompt() { FILE: src/prompt/rprompt.go constant RPromptKey (line 11) | RPromptKey = "rprompt" constant RPromptLengthKey (line 12) | RPromptLengthKey = "rprompt_length" method RPrompt (line 15) | func (e *Engine) RPrompt() string { FILE: src/prompt/segments.go type result (line 12) | type result struct method writeBlockSegments (line 17) | func (e *Engine) writeBlockSegments(block *config.Block) (string, int) { method writeSegmentsConcurrently (line 43) | func (e *Engine) writeSegmentsConcurrently(segments []*config.Segment, o... method executeSegmentWithTimeout (line 70) | func (e *Engine) executeSegmentWithTimeout(segment *config.Segment) { method writeSegments (line 106) | func (e *Engine) writeSegments(out chan result, block *config.Block) { method writeSegment (line 151) | func (e *Engine) writeSegment(block *config.Block, segment *config.Segme... method canRenderSegment (line 172) | func (e *Engine) canRenderSegment(segment *config.Segment, executed map[... FILE: src/prompt/segments_test.go function TestRenderBlock (line 14) | func TestRenderBlock(t *testing.T) { function TestCanRenderSegment (line 40) | func TestCanRenderSegment(t *testing.T) { function TestExecuteSegmentWithTimeout_Streaming (line 78) | func TestExecuteSegmentWithTimeout_Streaming(t *testing.T) { function TestExecuteSegmentWithTimeout_NonStreaming (line 123) | func TestExecuteSegmentWithTimeout_NonStreaming(t *testing.T) { function TestExecuteSegmentWithTimeout_CachedValueFallback (line 155) | func TestExecuteSegmentWithTimeout_CachedValueFallback(t *testing.T) { FILE: src/prompt/status.go method Status (line 3) | func (e *Engine) Status() string { FILE: src/prompt/streaming.go method StreamPrimary (line 8) | func (e *Engine) StreamPrimary() <-chan string { method countPendingSegments (line 42) | func (e *Engine) countPendingSegments() int { method renderFromBlocks (line 52) | func (e *Engine) renderFromBlocks() string { method trackPendingSegment (line 65) | func (e *Engine) trackPendingSegment(segment *config.Segment, done chan ... method notifySegmentCompletion (line 79) | func (e *Engine) notifySegmentCompletion(segment *config.Segment) { FILE: src/prompt/streaming_test.go function TestStreamPrimary_NoSegments (line 22) | func TestStreamPrimary_NoSegments(t *testing.T) { function TestStreamPrimary_WithPendingSegments (line 51) | func TestStreamPrimary_WithPendingSegments(t *testing.T) { function TestCountPendingSegments (line 81) | func TestCountPendingSegments(t *testing.T) { function TestNotifySegmentCompletion (line 104) | func TestNotifySegmentCompletion(t *testing.T) { function TestTrackPendingSegment (line 148) | func TestTrackPendingSegment(t *testing.T) { function TestRenderFromBlocks (line 187) | func TestRenderFromBlocks(_ *testing.T) { function TestPrimaryInternal_FromCache (line 205) | func TestPrimaryInternal_FromCache(_ *testing.T) { function TestRenderBlockFromCache (line 223) | func TestRenderBlockFromCache(t *testing.T) { function TestSegmentPendingState (line 247) | func TestSegmentPendingState(t *testing.T) { function collectChannelOutput (line 278) | func collectChannelOutput(ch <-chan string, timeout time.Duration) []str... function TestStreamingWithTimeout (line 296) | func TestStreamingWithTimeout(t *testing.T) { function setupStreamingTestEnv (line 336) | func setupStreamingTestEnv() *mock.Environment { function TestStreamPrimary_FullFlow_WithRendering (line 359) | func TestStreamPrimary_FullFlow_WithRendering(t *testing.T) { function TestStreamPrimary_MultipleBlocks_MixedSpeed (line 428) | func TestStreamPrimary_MultipleBlocks_MixedSpeed(t *testing.T) { function setupBasicStreamingTestEnv (line 486) | func setupBasicStreamingTestEnv() *Engine { function TestStreamPrimary_EarlyChannelClosure (line 511) | func TestStreamPrimary_EarlyChannelClosure(t *testing.T) { function TestStreamPrimary_NoStreamingResults_Channel (line 525) | func TestStreamPrimary_NoStreamingResults_Channel(t *testing.T) { function TestStreamPrimary_RaceConditionFix (line 542) | func TestStreamPrimary_RaceConditionFix(t *testing.T) { FILE: src/prompt/tooltip.go method Tooltip (line 13) | func (e *Engine) Tooltip(tip string) string { method handleToolTipAction (line 70) | func (e *Engine) handleToolTipAction(text string, length int) (string, i... FILE: src/regex/regex.go constant LINK (line 16) | LINK = `(?P\x1b]8;;(.+)\x1b\\(?P.+)\x1b]8;;\x1b\\)` function GetCompiledRegex (line 19) | func GetCompiledRegex(pattern string) (*regexp.Regexp, error) { function FindNamedRegexMatch (line 43) | func FindNamedRegexMatch(pattern, text string) map[string]string { function FindAllNamedRegexMatch (line 66) | func FindAllNamedRegexMatch(pattern, text string) []map[string]string { function ReplaceAllString (line 95) | func ReplaceAllString(pattern, text, replaceText string) string { function MatchString (line 104) | func MatchString(pattern, text string) bool { function FindStringMatch (line 113) | func FindStringMatch(pattern, text string, index int) (string, bool) { FILE: src/regex/regex_test.go function TestFindStringMatch (line 9) | func TestFindStringMatch(t *testing.T) { FILE: src/runtime/battery/battery.go type Info (line 23) | type Info struct type NoBatteryError (line 28) | type NoBatteryError struct method Error (line 30) | func (m *NoBatteryError) Error() string { type State (line 35) | type State method String (line 46) | func (s State) String() string { constant Unknown (line 54) | Unknown State = iota constant Empty (line 55) | Empty constant Full (line 56) | Full constant Charging (line 57) | Charging constant Discharging (line 58) | Discharging constant NotCharging (line 59) | NotCharging FILE: src/runtime/battery/battery_darwin.go function mapMostLogicalState (line 12) | func mapMostLogicalState(state string) State { function parseBatteryOutput (line 31) | func parseBatteryOutput(output string) (*Info, error) { function Get (line 58) | func Get() (*Info, error) { FILE: src/runtime/battery/battery_darwin_test.go function TestParseBatteryOutput (line 9) | func TestParseBatteryOutput(t *testing.T) { FILE: src/runtime/battery/battery_linux.go constant sysfs (line 33) | sysfs = "/sys/class/power_supply" function newState (line 35) | func newState(name string) (State, error) { function readFloat (line 45) | func readFloat(path, filename string) (float64, error) { function readAmp (line 63) | func readAmp(path, filename string, volts float64) (float64, error) { function isBattery (line 72) | func isBattery(path string) bool { function getBatteryFiles (line 77) | func getBatteryFiles() ([]string, error) { function getByPath (line 98) | func getByPath(path string) (*battery, error) { function systemGetAll (line 137) | func systemGetAll() ([]*battery, error) { FILE: src/runtime/battery/battery_netbsd.go function Get (line 11) | func Get() (*Info, error) { FILE: src/runtime/battery/battery_openandfreebsd.go function mapMostLogicalState (line 14) | func mapMostLogicalState(state string) State { function parseBatteryOutput (line 27) | func parseBatteryOutput(apm_percentage string, apm_status string) (*Info... function Get (line 46) | func Get() (*Info, error) { FILE: src/runtime/battery/battery_openandfreebsd_test.go function TestParseBatteryOutput (line 11) | func TestParseBatteryOutput(t *testing.T) { FILE: src/runtime/battery/battery_windows.go type batteryQueryInformation (line 32) | type batteryQueryInformation struct type batteryInformation (line 38) | type batteryInformation struct type batteryWaitStatus (line 51) | type batteryWaitStatus struct type batteryStatus (line 59) | type batteryStatus struct type guid (line 66) | type guid struct type spDeviceInterfaceData (line 73) | type spDeviceInterfaceData struct function uint32ToFloat64 (line 87) | func uint32ToFloat64(num uint32) (float64, error) { function setupDiSetup (line 94) | func setupDiSetup(proc *windows.LazyProc, args ...uintptr) (uintptr, err... function setupDiCall (line 105) | func setupDiCall(proc *windows.LazyProc, args ...uintptr) syscall.Errno { function readState (line 122) | func readState(powerState uint32) State { function systemGet (line 137) | func systemGet(idx int) (*battery, error) { function systemGetAll (line 312) | func systemGetAll() ([]*battery, error) { FILE: src/runtime/battery/battery_windows_nix.go type battery (line 10) | type battery struct function mapMostLogicalState (line 21) | func mapMostLogicalState(currentState, newState State) State { function Get (line 44) | func Get() (*Info, error) { FILE: src/runtime/battery/battery_windows_nix_test.go function TestMapBatteriesState (line 32) | func TestMapBatteriesState(t *testing.T) { FILE: src/runtime/battery/errors.go type Errors (line 28) | type Errors method Error (line 30) | func (e Errors) Error() string { FILE: src/runtime/battery/errors_test.go function TestErrors (line 29) | func TestErrors(t *testing.T) { FILE: src/runtime/cmd/run.go function Run (line 16) | func Run(command string, args ...string) (string, error) { FILE: src/runtime/cmd/run_test.go function TestCurrentGID (line 9) | func TestCurrentGID(t *testing.T) { FILE: src/runtime/environment.go constant UNKNOWN (line 14) | UNKNOWN = "unknown" constant WINDOWS (line 15) | WINDOWS = "windows" constant DARWIN (line 16) | DARWIN = "darwin" constant LINUX (line 17) | LINUX = "linux" constant FREEBSD (line 18) | FREEBSD = "freebsd" constant CMD (line 19) | CMD = "cmd" constant ANDROID (line 20) | ANDROID = "android" constant PRIMARY (line 22) | PRIMARY = "primary" type Environment (line 25) | type Environment interface type Flags (line 70) | type Flags struct type CommandError (line 102) | type CommandError struct method Error (line 107) | func (e *CommandError) Error() string { type FileInfo (line 111) | type FileInfo struct type WindowsRegistryValueType (line 117) | type WindowsRegistryValueType constant DWORD (line 120) | DWORD = "DWORD" constant QWORD (line 121) | QWORD = "QWORD" constant BINARY (line 122) | BINARY = "BINARY" constant STRING (line 123) | STRING = "STRING" type WindowsRegistryValue (line 126) | type WindowsRegistryValue struct type NotImplemented (line 133) | type NotImplemented struct method Error (line 135) | func (n *NotImplemented) Error() string { type ConnectionType (line 139) | type ConnectionType constant ETHERNET (line 142) | ETHERNET ConnectionType = "ethernet" constant WIFI (line 143) | WIFI ConnectionType = "wifi" constant CELLULAR (line 144) | CELLULAR ConnectionType = "cellular" constant BLUETOOTH (line 145) | BLUETOOTH ConnectionType = "bluetooth" type Connection (line 148) | type Connection struct type Memory (line 156) | type Memory struct type SystemInfo (line 166) | type SystemInfo struct FILE: src/runtime/http/connection.go function IsConnected (line 12) | func IsConnected() bool { FILE: src/runtime/http/download.go function Download (line 16) | func Download(url string, isCacheEnabled bool) ([]byte, error) { function etagKey (line 86) | func etagKey(url string) string { function dataKey (line 90) | func dataKey(url string) string { FILE: src/runtime/http/http.go type httpClient (line 12) | type httpClient interface type Error (line 29) | type Error struct method Error (line 33) | func (e *Error) Error() string { FILE: src/runtime/http/oauth.go constant Timeout (line 14) | Timeout = "timeout" constant InvalidRefreshToken (line 15) | InvalidRefreshToken = "invalid refresh token" constant TokenRefreshFailed (line 16) | TokenRefreshFailed = "token refresh error" constant DefaultRefreshToken (line 17) | DefaultRefreshToken = "111111111111111111111111111111" type tokenExchange (line 20) | type tokenExchange struct type OAuthError (line 26) | type OAuthError struct method Error (line 30) | func (a *OAuthError) Error() string { type OAuthRequest (line 34) | type OAuthRequest struct method getAccessToken (line 43) | func (o *OAuthRequest) getAccessToken() (string, error) { method refreshToken (line 70) | func (o *OAuthRequest) refreshToken(refreshToken string) (string, erro... function OauthResult (line 98) | func OauthResult[a any](o *OAuthRequest, url string, body io.Reader, req... FILE: src/runtime/http/oauth_test.go type data (line 12) | type data struct function TestOauthResult (line 16) | func TestOauthResult(t *testing.T) { FILE: src/runtime/http/request.go type RequestModifier (line 12) | type RequestModifier type Request (line 14) | type Request struct type Environment (line 19) | type Environment interface function Do (line 23) | func Do[a any](r *Request, url string, body io.Reader, requestModifiers ... FILE: src/runtime/http/request_test.go type MockedEnvironment (line 13) | type MockedEnvironment struct method HTTPRequest (line 17) | func (env *MockedEnvironment) HTTPRequest(url string, _ io.Reader, _ i... function TestRequestResult (line 22) | func TestRequestResult(t *testing.T) { FILE: src/runtime/jobs/jobs_common.go function CurrentGID (line 12) | func CurrentGID() uint64 { FILE: src/runtime/jobs/jobs_other.go function CreateJobForGoroutine (line 18) | func CreateJobForGoroutine(_ string) error { return nil } function AssignPidToGoroutineJob (line 19) | func AssignPidToGoroutineJob(_ int) error { return nil } function SetProcessGroup (line 23) | func SetProcessGroup(cmd *exec.Cmd) { function RegisterProcess (line 29) | func RegisterProcess(pid int) { function UnregisterProcess (line 41) | func UnregisterProcess(pid int) { function KillGoroutineChildren (line 56) | func KillGoroutineChildren(gid uint64) error { FILE: src/runtime/jobs/jobs_windows.go function CreateJobForGoroutine (line 30) | func CreateJobForGoroutine(label string) error { function RegisterProcess (line 63) | func RegisterProcess(pid int) { function UnregisterProcess (line 104) | func UnregisterProcess(pid int) { function KillGoroutineChildren (line 120) | func KillGoroutineChildren(gid uint64) error { function SetProcessGroup (line 169) | func SetProcessGroup(cmd *exec.Cmd) { FILE: src/runtime/mock/environment.go type Environment (line 14) | type Environment struct method Getenv (line 18) | func (env *Environment) Getenv(key string) string { method Pwd (line 23) | func (env *Environment) Pwd() string { method Home (line 28) | func (env *Environment) Home() string { method HasFiles (line 33) | func (env *Environment) HasFiles(pattern string) bool { method HasFilesInDir (line 38) | func (env *Environment) HasFilesInDir(dir, pattern string) bool { method HasFolder (line 43) | func (env *Environment) HasFolder(folder string) bool { method ResolveSymlink (line 48) | func (env *Environment) ResolveSymlink(input string) (string, error) { method FileContent (line 53) | func (env *Environment) FileContent(file string) string { method LsDir (line 58) | func (env *Environment) LsDir(input string) []fs.DirEntry { method User (line 63) | func (env *Environment) User() string { method Host (line 68) | func (env *Environment) Host() (string, error) { method GOOS (line 73) | func (env *Environment) GOOS() string { method Platform (line 78) | func (env *Environment) Platform() string { method CommandPath (line 83) | func (env *Environment) CommandPath(command string) string { method HasCommand (line 88) | func (env *Environment) HasCommand(command string) bool { method RunCommand (line 93) | func (env *Environment) RunCommand(command string, args ...string) (st... method RunShellCommand (line 98) | func (env *Environment) RunShellCommand(shell, command string) string { method StatusCodes (line 103) | func (env *Environment) StatusCodes() (int, string) { method ExecutionTime (line 108) | func (env *Environment) ExecutionTime() float64 { method Root (line 113) | func (env *Environment) Root() bool { method Flags (line 118) | func (env *Environment) Flags() *runtime.Flags { method BatteryState (line 123) | func (env *Environment) BatteryState() (*battery.Info, error) { method Shell (line 128) | func (env *Environment) Shell() string { method QueryWindowTitles (line 133) | func (env *Environment) QueryWindowTitles(processName, windowTitleRege... method WindowsRegistryKeyValue (line 138) | func (env *Environment) WindowsRegistryKeyValue(path string) (*runtime... method HTTPRequest (line 143) | func (env *Environment) HTTPRequest(url string, _ io.Reader, _ int, _ ... method HasParentFilePath (line 148) | func (env *Environment) HasParentFilePath(parent string, followSymlink... method StackCount (line 153) | func (env *Environment) StackCount() int { method IsWsl (line 158) | func (env *Environment) IsWsl() bool { method IsWsl2 (line 163) | func (env *Environment) IsWsl2() bool { method IsCygwin (line 168) | func (env *Environment) IsCygwin() bool { method TerminalWidth (line 173) | func (env *Environment) TerminalWidth() (int, error) { method CachePath (line 178) | func (env *Environment) CachePath() string { method Close (line 183) | func (env *Environment) Close() { method Logs (line 187) | func (env *Environment) Logs() string { method InWSLSharedDrive (line 192) | func (env *Environment) InWSLSharedDrive() bool { method ConvertToWindowsPath (line 197) | func (env *Environment) ConvertToWindowsPath(input string) string { method ConvertToLinuxPath (line 202) | func (env *Environment) ConvertToLinuxPath(_ string) string { method Connection (line 207) | func (env *Environment) Connection(connectionType runtime.ConnectionTy... method MockGitCommand (line 212) | func (env *Environment) MockGitCommand(dir, returnValue string, args .... method MockHgCommand (line 217) | func (env *Environment) MockHgCommand(dir, returnValue string, args ..... method MockJjCommand (line 222) | func (env *Environment) MockJjCommand(dir, returnValue string, args ..... method MockSvnCommand (line 227) | func (env *Environment) MockSvnCommand(dir, returnValue string, args .... method HasFileInParentDirs (line 232) | func (env *Environment) HasFileInParentDirs(pattern string, depth uint... method DirMatchesOneOf (line 237) | func (env *Environment) DirMatchesOneOf(dir string, regexes []string) ... method DirIsWritable (line 242) | func (env *Environment) DirIsWritable(path string) bool { method CursorPosition (line 247) | func (env *Environment) CursorPosition() (int, int) { method SystemInfo (line 252) | func (env *Environment) SystemInfo() (*runtime.SystemInfo, error) { method Unset (line 257) | func (env *Environment) Unset(name string) { FILE: src/runtime/networks_windows.go type MIN_IF_TABLE2 (line 22) | type MIN_IF_TABLE2 struct constant IF_MAX_STRING_SIZE (line 28) | IF_MAX_STRING_SIZE uint64 = 256 constant IF_MAX_PHYS_ADDRESS_LENGTH (line 29) | IF_MAX_PHYS_ADDRESS_LENGTH uint64 = 32 type MIB_IF_ROW2 (line 32) | type MIB_IF_ROW2 struct type WLAN_INTERFACE_INFO_LIST (line 91) | type WLAN_INTERFACE_INFO_LIST struct type WLAN_INTERFACE_INFO (line 97) | type WLAN_INTERFACE_INFO struct constant WLAN_MAX_NAME_LENGTH (line 104) | WLAN_MAX_NAME_LENGTH int64 = 256 constant DOT11_SSID_MAX_LENGTH (line 105) | DOT11_SSID_MAX_LENGTH int64 = 32 type WLAN_CONNECTION_ATTRIBUTES (line 109) | type WLAN_CONNECTION_ATTRIBUTES struct type WLAN_ASSOCIATION_ATTRIBUTES (line 118) | type WLAN_ASSOCIATION_ATTRIBUTES struct type WLAN_SECURITY_ATTRIBUTES (line 130) | type WLAN_SECURITY_ATTRIBUTES struct type DOT11_SSID (line 137) | type DOT11_SSID struct method getConnections (line 142) | func (term *Terminal) getConnections() []*Connection { method wifiNetwork (line 202) | func (term *Terminal) wifiNetwork() (*Connection, error) { method parseNetworkInterface (line 239) | func (term *Terminal) parseNetworkInterface(network *WLAN_INTERFACE_INFO... FILE: src/runtime/path/clean.go function Base (line 16) | func Base(input string) string { function Clean (line 51) | func Clean(input string) string { function ReplaceHomeDirPrefixWithTilde (line 102) | func ReplaceHomeDirPrefixWithTilde(path string) string { function ReplaceTildePrefixWithHomeDir (line 116) | func ReplaceTildePrefixWithHomeDir(path string) string { FILE: src/runtime/path/home.go function Home (line 9) | func Home() string { FILE: src/runtime/path/separator.go constant windows (line 11) | windows = "windows" function Separator (line 14) | func Separator() string { function IsSeparator (line 24) | func IsSeparator(c uint8) bool { FILE: src/runtime/terminal.go type Terminal (line 32) | type Terminal struct method Init (line 41) | func (term *Terminal) Init(flags *Flags) { method Getenv (line 61) | func (term *Terminal) Getenv(key string) string { method Pwd (line 68) | func (term *Terminal) Pwd() string { method setPwd (line 72) | func (term *Terminal) setPwd() { method HasFiles (line 105) | func (term *Terminal) HasFiles(pattern string) bool { method HasFilesInDir (line 109) | func (term *Terminal) HasFilesInDir(dir, pattern string) bool { method HasFileInParentDirs (line 155) | func (term *Terminal) HasFileInParentDirs(pattern string, depth uint) ... method HasFolder (line 176) | func (term *Terminal) HasFolder(folder string) bool { method ResolveSymlink (line 188) | func (term *Terminal) ResolveSymlink(input string) (string, error) { method FileContent (line 199) | func (term *Terminal) FileContent(file string) string { method LsDir (line 217) | func (term *Terminal) LsDir(input string) []fs.DirEntry { method User (line 230) | func (term *Terminal) User() string { method Host (line 240) | func (term *Terminal) Host() (string, error) { method GOOS (line 259) | func (term *Terminal) GOOS() string { method Home (line 264) | func (term *Terminal) Home() string { method RunCommand (line 268) | func (term *Terminal) RunCommand(command string, args ...string) (stri... method RunShellCommand (line 284) | func (term *Terminal) RunShellCommand(shell, command string) string { method CommandPath (line 294) | func (term *Terminal) CommandPath(command string) string { method HasCommand (line 312) | func (term *Terminal) HasCommand(command string) bool { method StatusCodes (line 322) | func (term *Terminal) StatusCodes() (int, string) { method ExecutionTime (line 336) | func (term *Terminal) ExecutionTime() float64 { method Flags (line 344) | func (term *Terminal) Flags() *Flags { method Shell (line 349) | func (term *Terminal) Shell() string { method unWrapError (line 373) | func (term *Terminal) unWrapError(err error) error { method HTTPRequest (line 386) | func (term *Terminal) HTTPRequest(targetURL string, body io.Reader, ti... method HasParentFilePath (line 434) | func (term *Terminal) HasParentFilePath(parent string, followSymlinks ... method StackCount (line 469) | func (term *Terminal) StackCount() int { method Logs (line 479) | func (term *Terminal) Logs() string { method DirMatchesOneOf (line 483) | func (term *Terminal) DirMatchesOneOf(dir string, regexes []string) (m... method setPromptCount (line 527) | func (term *Terminal) setPromptCount() { method CursorPosition (line 544) | func (term *Terminal) CursorPosition() (row, col int) { method SystemInfo (line 556) | func (term *Terminal) SystemInfo() (*SystemInfo, error) { function dirMatchesOneOf (line 497) | func dirMatchesOneOf(dir, home, goos string, regexes []string) bool { function cleanHostName (line 579) | func cleanHostName(hostName string) string { FILE: src/runtime/terminal_darwin.go function mapMostLogicalState (line 15) | func mapMostLogicalState(state string) battery.State { method parseBatteryOutput (line 34) | func (term *Terminal) parseBatteryOutput(output string) (*battery.Info, ... method BatteryState (line 53) | func (term *Terminal) BatteryState() (*battery.Info, error) { FILE: src/runtime/terminal_test.go function TestNormalHostName (line 9) | func TestNormalHostName(t *testing.T) { function TestHostNameWithLocal (line 14) | func TestHostNameWithLocal(t *testing.T) { function TestHostNameWithLan (line 19) | func TestHostNameWithLan(t *testing.T) { function TestDirMatchesOneOf (line 25) | func TestDirMatchesOneOf(t *testing.T) { function TestDirMatchesOneOfRegexInverted (line 56) | func TestDirMatchesOneOfRegexInverted(t *testing.T) { function TestDirMatchesOneOfRegexInvertedNonEscaped (line 67) | func TestDirMatchesOneOfRegexInvertedNonEscaped(t *testing.T) { FILE: src/runtime/terminal_unix.go method Root (line 19) | func (term *Terminal) Root() bool { method QueryWindowTitles (line 24) | func (term *Terminal) QueryWindowTitles(_, _ string) (string, error) { method IsWsl (line 28) | func (term *Terminal) IsWsl() bool { method IsWsl2 (line 45) | func (term *Terminal) IsWsl2() bool { method IsCygwin (line 54) | func (term *Terminal) IsCygwin() bool { method TerminalWidth (line 59) | func (term *Terminal) TerminalWidth() (int, error) { method Platform (line 94) | func (term *Terminal) Platform() string { method getSpecialLinuxDistros (line 119) | func (term *Terminal) getSpecialLinuxDistros(platform string) string { method WindowsRegistryKeyValue (line 135) | func (term *Terminal) WindowsRegistryKeyValue(_ string) (*WindowsRegistr... method InWSLSharedDrive (line 139) | func (term *Terminal) InWSLSharedDrive() bool { method ConvertToWindowsPath (line 147) | func (term *Terminal) ConvertToWindowsPath(input string) string { method ConvertToLinuxPath (line 155) | func (term *Terminal) ConvertToLinuxPath(input string) string { method DirIsWritable (line 162) | func (term *Terminal) DirIsWritable(input string) bool { method Connection (line 167) | func (term *Terminal) Connection(_ ConnectionType) (*Connection, error) { method Memory (line 176) | func (term *Terminal) Memory() (*Memory, error) { FILE: src/runtime/terminal_unix_test.go function TestMemoryPercentageCalculation (line 11) | func TestMemoryPercentageCalculation(t *testing.T) { FILE: src/runtime/terminal_windows.go method Root (line 17) | func (term *Terminal) Root() bool { method QueryWindowTitles (line 54) | func (term *Terminal) QueryWindowTitles(processName, windowTitleRegex st... method IsWsl (line 63) | func (term *Terminal) IsWsl() bool { method IsWsl2 (line 68) | func (term *Terminal) IsWsl2() bool { method IsCygwin (line 73) | func (term *Terminal) IsCygwin() bool { method TerminalWidth (line 78) | func (term *Terminal) TerminalWidth() (int, error) { method Platform (line 110) | func (term *Terminal) Platform() string { method WindowsRegistryKeyValue (line 123) | func (term *Terminal) WindowsRegistryKeyValue(input string) (*WindowsReg... method InWSLSharedDrive (line 209) | func (term *Terminal) InWSLSharedDrive() bool { method ConvertToWindowsPath (line 213) | func (term *Terminal) ConvertToWindowsPath(input string) string { method ConvertToLinuxPath (line 217) | func (term *Terminal) ConvertToLinuxPath(input string) string { method DirIsWritable (line 221) | func (term *Terminal) DirIsWritable(input string) bool { method Connection (line 226) | func (term *Terminal) Connection(connectionType ConnectionType) (*Connec... FILE: src/runtime/terminal_windows_nix.go method BatteryState (line 12) | func (term *Terminal) BatteryState() (*battery.Info, error) { FILE: src/runtime/win32_windows.go function enumWindows (line 35) | func enumWindows(enumFunc, lparam uintptr) (err error) { function getWindowText (line 49) | func getWindowText(hwnd syscall.Handle, str *uint16, maxCount int32) (le... function getWindowFileName (line 62) | func getWindowFileName(handle syscall.Handle) (string, error) { function queryWindowTitles (line 77) | func queryWindowTitles(processName, windowTitleRegex string) (string, er... constant ACCESS_DENIED_ACE_TYPE (line 125) | ACCESS_DENIED_ACE_TYPE = 1 type accessMask (line 128) | type accessMask method canWrite (line 130) | func (m accessMask) canWrite() bool { method permissions (line 140) | func (m accessMask) permissions() string { type AccessAllowedAce (line 178) | type AccessAllowedAce struct function getCurrentUser (line 186) | func getCurrentUser() (user *tokenUser, err error) { type tokenUser (line 205) | type tokenUser struct method isMemberOf (line 210) | func (u *tokenUser) isMemberOf(sid *windows.SID) bool { method isWriteable (line 222) | func (env *Terminal) isWriteable(folder string) bool { type memoryStatusEx (line 286) | type memoryStatusEx struct method Memory (line 298) | func (env *Terminal) Memory() (*Memory, error) { FILE: src/segments/angular.go type Angular (line 7) | type Angular struct method Template (line 11) | func (a *Angular) Template() string { method Enabled (line 15) | func (a *Angular) Enabled() bool { method getVersion (line 29) | func (a *Angular) getVersion() (string, error) { FILE: src/segments/argocd.go constant argocdOptsEnv (line 15) | argocdOptsEnv = "ARGOCD_OPTS" constant argocdInvalidYaml (line 16) | argocdInvalidYaml = "invalid yaml" constant argocdNoCurrent (line 17) | argocdNoCurrent = "no current context" constant NameTemplate (line 19) | NameTemplate = " {{ .Name }} " type ArgocdContext (line 22) | type ArgocdContext struct type ArgocdConfig (line 28) | type ArgocdConfig struct type Argocd (line 33) | type Argocd struct method Template (line 39) | func (a *Argocd) Template() string { method Enabled (line 43) | func (a *Argocd) Enabled() bool { method getConfigPath (line 54) | func (a *Argocd) getConfigPath() string { method getConfigFromOpts (line 63) | func (a *Argocd) getConfigFromOpts() string { method parseConfig (line 76) | func (a *Argocd) parseConfig(file string) (bool, error) { FILE: src/segments/argocd_test.go constant poshHome (line 15) | poshHome = "/Users/posh" function TestArgocdGetConfigFromOpts (line 18) | func TestArgocdGetConfigFromOpts(t *testing.T) { function TestArgocdGetConfigPath (line 49) | func TestArgocdGetConfigPath(t *testing.T) { function TestArgocdParseConfig (line 76) | func TestArgocdParseConfig(t *testing.T) { function TestArgocdSegment (line 181) | func TestArgocdSegment(t *testing.T) { FILE: src/segments/aurelia.go type Aurelia (line 3) | type Aurelia struct method Template (line 7) | func (a *Aurelia) Template() string { method Enabled (line 11) | func (a *Aurelia) Enabled() bool { method getVersion (line 29) | func (a *Aurelia) getVersion() (string, error) { FILE: src/segments/aws.go type Aws (line 11) | type Aws struct method Template (line 22) | func (a *Aws) Template() string { method Enabled (line 26) | func (a *Aws) Enabled() bool { method getConfigFileInfo (line 62) | func (a *Aws) getConfigFileInfo() { method RegionAlias (line 96) | func (a *Aws) RegionAlias() string { constant defaultUser (line 19) | defaultUser = "default" FILE: src/segments/aws_test.go function TestAWSSegment (line 13) | func TestAWSSegment(t *testing.T) { FILE: src/segments/az.go type Az (line 12) | type Az struct method Template (line 74) | func (a *Az) Template() string { method Enabled (line 78) | func (a *Az) Enabled() bool { method FileContentWithoutBom (line 104) | func (a *Az) FileContentWithoutBom(file string) string { method getCLISubscription (line 110) | func (a *Az) getCLISubscription() bool { method getModuleSubscription (line 133) | func (a *Az) getModuleSubscription() bool { method findConfig (line 161) | func (a *Az) findConfig(fileName string) (string, error) { constant Source (line 20) | Source options.Option = "source" constant Pwsh (line 22) | Pwsh = "pwsh" constant Cli (line 23) | Cli = "cli" constant FirstMatch (line 25) | FirstMatch = "cli|pwsh" constant azureEnv (line 26) | azureEnv = "POSH_AZURE_SUBSCRIPTION" type AzureConfig (line 29) | type AzureConfig struct type AzureSubscription (line 34) | type AzureSubscription struct type AzureUser (line 47) | type AzureUser struct type AzurePowerShellSubscription (line 52) | type AzurePowerShellSubscription struct FILE: src/segments/az_functions.go type AzFunc (line 3) | type AzFunc struct method Template (line 7) | func (az *AzFunc) Template() string { method Enabled (line 11) | func (az *AzFunc) Enabled() bool { FILE: src/segments/az_test.go function TestAzSegment (line 16) | func TestAzSegment(t *testing.T) { FILE: src/segments/azd.go type Azd (line 11) | type Azd struct method Template (line 21) | func (t *Azd) Template() string { method Enabled (line 25) | func (t *Azd) Enabled() bool { method TryReadConfigJSON (line 57) | func (t *Azd) TryReadConfigJSON(file string) bool { type AzdConfig (line 16) | type AzdConfig struct FILE: src/segments/azd_test.go function TestAzdSegment (line 15) | func TestAzdSegment(t *testing.T) { FILE: src/segments/base.go type Base (line 8) | type Base struct method Text (line 20) | func (b *Base) Text() string { method SetText (line 24) | func (b *Base) SetText(text string) { method SetIndex (line 28) | func (b *Base) SetIndex(index int) { method Init (line 32) | func (b *Base) Init(opts options.Provider, env runtime.Environment) { method CacheKey (line 38) | func (b *Base) CacheKey() (string, bool) { type Segment (line 15) | type Segment struct FILE: src/segments/battery.go type Battery (line 8) | type Battery struct method Template (line 26) | func (b *Battery) Template() string { method Enabled (line 30) | func (b *Battery) Enabled() bool { method enabledWhileError (line 64) | func (b *Battery) enabledWhileError(err error) bool { constant ChargingIcon (line 17) | ChargingIcon options.Option = "charging_icon" constant DischargingIcon (line 19) | DischargingIcon options.Option = "discharging_icon" constant ChargedIcon (line 21) | ChargedIcon options.Option = "charged_icon" constant NotChargingIcon (line 23) | NotChargingIcon options.Option = "not_charging_icon" FILE: src/segments/bazel.go type Bazel (line 5) | type Bazel struct method Template (line 15) | func (b *Bazel) Template() string { method Enabled (line 19) | func (b *Bazel) Enabled() bool { constant Icon (line 12) | Icon options.Option = "icon" FILE: src/segments/bazel_test.go function TestBazel (line 10) | func TestBazel(t *testing.T) { FILE: src/segments/brewfather.go type Brewfather (line 17) | type Brewfather struct method Template (line 87) | func (bf *Brewfather) Template() string { method Enabled (line 91) | func (bf *Brewfather) Enabled() bool { method getTrendIcon (line 138) | func (bf *Brewfather) getTrendIcon(trend float64) string { method getBatchStatusIcon (line 171) | func (bf *Brewfather) getBatchStatusIcon(batchStatus string) string { method getResult (line 190) | func (bf *Brewfather) getResult() (*Batch, error) { method DegCToF (line 261) | func (bf *Brewfather) DegCToF(degreesC float64) float64 { method DegCToKelvin (line 265) | func (bf *Brewfather) DegCToKelvin(degreesC float64) float64 { method SGToBrix (line 269) | func (bf *Brewfather) SGToBrix(sg float64) float64 { method SGToPlato (line 274) | func (bf *Brewfather) SGToPlato(sg float64) float64 { constant BFUserID (line 32) | BFUserID options.Option = "user_id" constant BFBatchID (line 33) | BFBatchID options.Option = "batch_id" constant BFDoubleUpIcon (line 35) | BFDoubleUpIcon options.Option = "doubleup_icon" constant BFSingleUpIcon (line 36) | BFSingleUpIcon options.Option = "singleup_icon" constant BFFortyFiveUpIcon (line 37) | BFFortyFiveUpIcon options.Option = "fortyfiveup_icon" constant BFFlatIcon (line 38) | BFFlatIcon options.Option = "flat_icon" constant BFFortyFiveDownIcon (line 39) | BFFortyFiveDownIcon options.Option = "fortyfivedown_icon" constant BFSingleDownIcon (line 40) | BFSingleDownIcon options.Option = "singledown_icon" constant BFDoubleDownIcon (line 41) | BFDoubleDownIcon options.Option = "doubledown_icon" constant BFPlanningStatusIcon (line 43) | BFPlanningStatusIcon options.Option = "planning_status_icon" constant BFBrewingStatusIcon (line 44) | BFBrewingStatusIcon options.Option = "brewing_status_icon" constant BFFermentingStatusIcon (line 45) | BFFermentingStatusIcon options.Option = "fermenting_status_icon" constant BFConditioningStatusIcon (line 46) | BFConditioningStatusIcon options.Option = "conditioning_status_icon" constant BFCompletedStatusIcon (line 47) | BFCompletedStatusIcon options.Option = "completed_status_icon" constant BFArchivedStatusIcon (line 48) | BFArchivedStatusIcon options.Option = "archived_status_icon" constant BFDayIcon (line 50) | BFDayIcon options.Option = "day_icon" constant BFStatusPlanning (line 52) | BFStatusPlanning string = "Planning" constant BFStatusBrewing (line 53) | BFStatusBrewing string = "Brewing" constant BFStatusFermenting (line 54) | BFStatusFermenting string = "Fermenting" constant BFStatusConditioning (line 55) | BFStatusConditioning string = "Conditioning" constant BFStatusCompleted (line 56) | BFStatusCompleted string = "Completed" constant BFStatusArchived (line 57) | BFStatusArchived string = "Archived" type BatchReading (line 61) | type BatchReading struct type Batch (line 70) | type Batch struct FILE: src/segments/brewfather_test.go constant BFFakeBatchID (line 16) | BFFakeBatchID = "FAKE" constant BFBatchURL (line 17) | BFBatchURL = "https://api.brewfather.app/v1/batches/" + BFFakeBa... constant BFCacheKey (line 18) | BFCacheKey = BFBatchURL constant BFBatchReadingsURL (line 19) | BFBatchReadingsURL = "https://api.brewfather.app/v1/batches/" + BFFakeBa... function createBatch (line 45) | func createBatch(status string) *Batch { function createReading (line 62) | func createReading(temp, gravity float64, millis int64) *BatchReading { function TestBrewfatherSegment (line 73) | func TestBrewfatherSegment(t *testing.T) { FILE: src/segments/buf.go type Buf (line 3) | type Buf struct method Template (line 7) | func (b *Buf) Template() string { method Enabled (line 11) | func (b *Buf) Enabled() bool { FILE: src/segments/buf_test.go function TestBuf (line 10) | func TestBuf(t *testing.T) { FILE: src/segments/bun.go type Bun (line 3) | type Bun struct method Template (line 7) | func (b *Bun) Template() string { method Enabled (line 11) | func (b *Bun) Enabled() bool { FILE: src/segments/bun_test.go function TestBun (line 10) | func TestBun(t *testing.T) { FILE: src/segments/carbon_intensity.go type CarbonIntensity (line 11) | type CarbonIntensity struct method Enabled (line 64) | func (d *CarbonIntensity) Enabled() bool { method Template (line 75) | func (d *CarbonIntensity) Template() string { method getResult (line 79) | func (d *CarbonIntensity) getResult() (*CarbonIntensityResponse, error) { method setStatus (line 98) | func (d *CarbonIntensity) setStatus() error { type CarbonIntensityResponse (line 19) | type CarbonIntensityResponse struct type CarbonIntensityPeriod (line 23) | type CarbonIntensityPeriod struct type CarbonIntensityData (line 29) | type CarbonIntensityData struct type Number (line 35) | type Number method String (line 37) | func (n Number) String() string { type Index (line 45) | type Index method Icon (line 47) | func (i Index) Icon() string { FILE: src/segments/carbon_intensity_test.go constant CARBONINTENSITYURL (line 16) | CARBONINTENSITYURL = "https://api.carbonintensity.org.uk/intensity" function TestCarbonIntensitySegmentSingle (line 19) | func TestCarbonIntensitySegmentSingle(t *testing.T) { FILE: src/segments/cds.go type Cds (line 3) | type Cds struct method Template (line 8) | func (c *Cds) Template() string { method Enabled (line 12) | func (c *Cds) Enabled() bool { method loadContext (line 29) | func (c *Cds) loadContext() { method inContext (line 37) | func (c *Cds) inContext() bool { FILE: src/segments/cds_test.go function TestCdsSegment (line 10) | func TestCdsSegment(t *testing.T) { FILE: src/segments/cf.go type Cf (line 3) | type Cf struct method Template (line 7) | func (c *Cf) Template() string { method Enabled (line 11) | func (c *Cf) Enabled() bool { FILE: src/segments/cf_target.go type CfTarget (line 10) | type CfTarget struct method Template (line 23) | func (c *CfTarget) Template() string { method Enabled (line 27) | func (c *CfTarget) Enabled() bool { method setCFTargetStatus (line 50) | func (c *CfTarget) setCFTargetStatus() bool { method getCFTargetCommandOutput (line 79) | func (c *CfTarget) getCFTargetCommandOutput() (string, error) { type CfTargetDetails (line 16) | type CfTargetDetails struct FILE: src/segments/cf_target_test.go function TestCFTargetSegment (line 16) | func TestCFTargetSegment(t *testing.T) { FILE: src/segments/cf_test.go function TestCFSegment (line 10) | func TestCFSegment(t *testing.T) { FILE: src/segments/claude.go type Claude (line 12) | type Claude struct method Template (line 67) | func (c *Claude) Template() string { method Enabled (line 71) | func (c *Claude) Enabled() bool { method TokenUsagePercent (line 93) | func (c *Claude) TokenUsagePercent() text.Percentage { method FormattedCost (line 139) | func (c *Claude) FormattedCost() string { method FormattedTokens (line 150) | func (c *Claude) FormattedTokens() string { type ClaudeData (line 18) | type ClaudeData struct type ClaudeModel (line 27) | type ClaudeModel struct type ClaudeWorkspace (line 33) | type ClaudeWorkspace struct type ClaudeCost (line 39) | type ClaudeCost struct type ClaudeContextWindow (line 45) | type ClaudeContextWindow struct type ClaudeCurrentUsage (line 55) | type ClaudeCurrentUsage struct constant thousand (line 63) | thousand = 1000.0 constant million (line 64) | million = 1000000.0 FILE: src/segments/claude_test.go function TestClaudeSegment (line 14) | func TestClaudeSegment(t *testing.T) { function TestClaudeTokenUsagePercent (line 103) | func TestClaudeTokenUsagePercent(t *testing.T) { function TestClaudeFormattedCost (line 234) | func TestClaudeFormattedCost(t *testing.T) { function TestClaudeFormattedTokens (line 271) | func TestClaudeFormattedTokens(t *testing.T) { FILE: src/segments/clojure.go type Clojure (line 3) | type Clojure struct method Template (line 7) | func (c *Clojure) Template() string { method Enabled (line 11) | func (c *Clojure) Enabled() bool { method init (line 16) | func (c *Clojure) init() { FILE: src/segments/clojure_test.go function TestClojure (line 10) | func TestClojure(t *testing.T) { FILE: src/segments/cmake.go type Cmake (line 3) | type Cmake struct method Template (line 7) | func (c *Cmake) Template() string { method Enabled (line 11) | func (c *Cmake) Enabled() bool { FILE: src/segments/cmake_test.go function TestCmake (line 10) | func TestCmake(t *testing.T) { FILE: src/segments/connection.go type Connection (line 10) | type Connection struct method Template (line 20) | func (c *Connection) Template() string { method Enabled (line 24) | func (c *Connection) Enabled() bool { constant Type (line 17) | Type options.Option = "type" FILE: src/segments/connection_test.go function TestConnection (line 14) | func TestConnection(t *testing.T) { FILE: src/segments/copilot.go type CopilotUsage (line 15) | type CopilotUsage struct type Copilot (line 24) | type Copilot struct method Template (line 57) | func (c *Copilot) Template() string { method Enabled (line 61) | func (c *Copilot) Enabled() bool { method getAccessToken (line 71) | func (c *Copilot) getAccessToken() string { method getResult (line 80) | func (c *Copilot) getResult() (*copilotAPIResponse, error) { method setStatus (line 114) | func (c *Copilot) setStatus() error { method extractQuotaSnapshots (line 144) | func (c *Copilot) extractQuotaSnapshots(response *copilotAPIResponse) ... method calculateUsage (line 157) | func (c *Copilot) calculateUsage(snapshot copilotQuotaSnapshot) Copilo... method calculatePercent (line 181) | func (c *Copilot) calculatePercent(used, limit int) int { constant copilotAPIURL (line 33) | copilotAPIURL = "https://api.github.com/copilot_internal/user" type copilotQuotaSnapshot (line 37) | type copilotQuotaSnapshot struct type copilotQuotaSnapshots (line 44) | type copilotQuotaSnapshots struct type copilotAPIResponse (line 51) | type copilotAPIResponse struct type noQuotaDataError (line 196) | type noQuotaDataError struct method Error (line 198) | func (e *noQuotaDataError) Error() string { type noAccessTokenError (line 202) | type noAccessTokenError struct method Error (line 204) | func (e *noAccessTokenError) Error() string { FILE: src/segments/copilot_test.go constant copilotTestURL (line 17) | copilotTestURL = "https://api.github.com/copilot_internal/user" function TestCopilotSegment (line 20) | func TestCopilotSegment(t *testing.T) { function TestCopilotPercentageCalculation (line 211) | func TestCopilotPercentageCalculation(t *testing.T) { function TestCopilotRemainingPercentage (line 265) | func TestCopilotRemainingPercentage(t *testing.T) { function TestCopilotBillingCycleEnd (line 312) | func TestCopilotBillingCycleEnd(t *testing.T) { FILE: src/segments/crystal.go type Crystal (line 3) | type Crystal struct method Template (line 7) | func (c *Crystal) Template() string { method Enabled (line 11) | func (c *Crystal) Enabled() bool { FILE: src/segments/crystal_test.go function TestCrystal (line 10) | func TestCrystal(t *testing.T) { FILE: src/segments/dart.go type Dart (line 8) | type Dart struct method Template (line 12) | func (d *Dart) Template() string { method Enabled (line 16) | func (d *Dart) Enabled() bool { FILE: src/segments/dart_test.go function TestDart (line 10) | func TestDart(t *testing.T) { FILE: src/segments/deno.go type Deno (line 3) | type Deno struct method Template (line 7) | func (d *Deno) Template() string { method Enabled (line 11) | func (d *Deno) Enabled() bool { FILE: src/segments/deno_test.go function TestDeno (line 10) | func TestDeno(t *testing.T) { FILE: src/segments/docker.go constant FetchContext (line 14) | FetchContext options.Option = "fetch_context" type DockerConfig (line 17) | type DockerConfig struct type Docker (line 21) | type Docker struct method Template (line 27) | func (d *Docker) Template() string { method envVars (line 31) | func (d *Docker) envVars() []string { method configFiles (line 35) | func (d *Docker) configFiles() []string { method Enabled (line 48) | func (d *Docker) Enabled() bool { method fetchContext (line 79) | func (d *Docker) fetchContext() bool { FILE: src/segments/docker_test.go function TestDockerContext (line 13) | func TestDockerContext(t *testing.T) { function TestDockerFiles (line 63) | func TestDockerFiles(t *testing.T) { FILE: src/segments/dotnet.go type globalJSON (line 10) | type globalJSON struct constant FetchSDKVersion (line 18) | FetchSDKVersion options.Option = "fetch_sdk_version" type Dotnet (line 21) | type Dotnet struct method Template (line 27) | func (d *Dotnet) Template() string { method Enabled (line 31) | func (d *Dotnet) Enabled() bool { FILE: src/segments/dotnet_test.go function TestDotnetSegment (line 14) | func TestDotnetSegment(t *testing.T) { function TestDotnetSDKVersion (line 48) | func TestDotnetSDKVersion(t *testing.T) { FILE: src/segments/elixir.go type Elixir (line 3) | type Elixir struct method Template (line 7) | func (e *Elixir) Template() string { method Enabled (line 11) | func (e *Elixir) Enabled() bool { FILE: src/segments/elixir_test.go function TestElixir (line 11) | func TestElixir(t *testing.T) { FILE: src/segments/executiontime.go type Executiontime (line 12) | type Executiontime struct method Enabled (line 57) | func (t *Executiontime) Enabled() bool { method Template (line 70) | func (t *Executiontime) Template() string { method formatDuration (line 74) | func (t *Executiontime) formatDuration(style DurationStyle) string { method formatDurationAustin (line 103) | func (t *Executiontime) formatDurationAustin() string { method formatDurationRoundrock (line 123) | func (t *Executiontime) formatDurationRoundrock() string { method formatDurationDallas (line 140) | func (t *Executiontime) formatDurationDallas() string { method formatDurationGalveston (line 156) | func (t *Executiontime) formatDurationGalveston() string { method formatDurationGalvestonMs (line 161) | func (t *Executiontime) formatDurationGalvestonMs() string { method formatDurationHouston (line 167) | func (t *Executiontime) formatDurationHouston() string { method formatDurationAmarillo (line 182) | func (t *Executiontime) formatDurationAmarillo() string { method formatDurationRound (line 206) | func (t *Executiontime) formatDurationRound() string { method formatDurationLucky7 (line 231) | func (t *Executiontime) formatDurationLucky7() string { method formatDurationISO8601 (line 285) | func (t *Executiontime) formatDurationISO8601() string { method formatDurationISO8601Ms (line 322) | func (t *Executiontime) formatDurationISO8601Ms() string { type DurationStyle (line 20) | type DurationStyle constant ThresholdProperty (line 24) | ThresholdProperty options.Option = "threshold" constant Austin (line 26) | Austin DurationStyle = "austin" constant Roundrock (line 28) | Roundrock DurationStyle = "roundrock" constant Dallas (line 30) | Dallas DurationStyle = "dallas" constant Galveston (line 32) | Galveston DurationStyle = "galveston" constant GalvestonMs (line 34) | GalvestonMs DurationStyle = "galvestonms" constant Houston (line 36) | Houston DurationStyle = "houston" constant Amarillo (line 38) | Amarillo DurationStyle = "amarillo" constant Round (line 40) | Round DurationStyle = "round" constant Lucky7 (line 42) | Lucky7 = "lucky7" constant ISO8601 (line 44) | ISO8601 DurationStyle = "iso8601" constant ISO8601Ms (line 46) | ISO8601Ms DurationStyle = "iso8601ms" constant second (line 48) | second = 1000 constant minute (line 49) | minute = 60000 constant hour (line 50) | hour = 3600000 constant day (line 51) | day = 86400000 constant secondsPerMinute (line 52) | secondsPerMinute = 60 constant minutesPerHour (line 53) | minutesPerHour = 60 constant hoursPerDay (line 54) | hoursPerDay = 24 FILE: src/segments/executiontime_test.go function TestExecutionTimeWriterDefaultThresholdEnabled (line 14) | func TestExecutionTimeWriterDefaultThresholdEnabled(t *testing.T) { function TestExecutionTimeWriterDefaultThresholdDisabled (line 24) | func TestExecutionTimeWriterDefaultThresholdDisabled(t *testing.T) { function TestExecutionTimeWriterCustomThresholdEnabled (line 34) | func TestExecutionTimeWriterCustomThresholdEnabled(t *testing.T) { function TestExecutionTimeWriterCustomThresholdDisabled (line 47) | func TestExecutionTimeWriterCustomThresholdDisabled(t *testing.T) { function TestExecutionTimeWriterDuration (line 60) | func TestExecutionTimeWriterDuration(t *testing.T) { function TestExecutionTimeWriterDuration2 (line 73) | func TestExecutionTimeWriterDuration2(t *testing.T) { function TestExecutionTimeFormatDurationAustin (line 86) | func TestExecutionTimeFormatDurationAustin(t *testing.T) { function TestExecutionTimeFormatDurationRoundrock (line 112) | func TestExecutionTimeFormatDurationRoundrock(t *testing.T) { function TestExecutionTimeFormatDallas (line 138) | func TestExecutionTimeFormatDallas(t *testing.T) { function TestExecutionTimeFormatGalveston (line 164) | func TestExecutionTimeFormatGalveston(t *testing.T) { function TestExecutionTimeFormatGalvestonMs (line 190) | func TestExecutionTimeFormatGalvestonMs(t *testing.T) { function TestExecutionTimeFormatHouston (line 216) | func TestExecutionTimeFormatHouston(t *testing.T) { function TestExecutionTimeFormatAmarillo (line 242) | func TestExecutionTimeFormatAmarillo(t *testing.T) { function TestExecutionTimeFormatDurationRound (line 268) | func TestExecutionTimeFormatDurationRound(t *testing.T) { function TestExecutionTimeFormatDurationLucky7 (line 294) | func TestExecutionTimeFormatDurationLucky7(t *testing.T) { function TestExecutionTimeFormatISO8601 (line 366) | func TestExecutionTimeFormatISO8601(t *testing.T) { function TestExecutionTimeFormatISO8601Ms (line 395) | func TestExecutionTimeFormatISO8601Ms(t *testing.T) { FILE: src/segments/firebase.go constant FIREBASENOACTIVECONFIG (line 13) | FIREBASENOACTIVECONFIG = "NO ACTIVE CONFIG FOUND" type Firebase (line 16) | type Firebase struct method Template (line 26) | func (f *Firebase) Template() string { method Enabled (line 30) | func (f *Firebase) Enabled() bool { method getActiveConfig (line 59) | func (f *Firebase) getActiveConfig(cfgDir string) (string, error) { method getFirebaseData (line 68) | func (f *Firebase) getFirebaseData(configFile string) (*FirebaseData, ... type FirebaseData (line 22) | type FirebaseData struct FILE: src/segments/firebase_test.go function TestFirebaseSegment (line 12) | func TestFirebaseSegment(t *testing.T) { function TestGetFirebaseActiveConfig (line 74) | func TestGetFirebaseActiveConfig(t *testing.T) { FILE: src/segments/flutter.go type Flutter (line 3) | type Flutter struct method Template (line 7) | func (f *Flutter) Template() string { method Enabled (line 11) | func (f *Flutter) Enabled() bool { FILE: src/segments/flutter_test.go function TestFlutter (line 10) | func TestFlutter(t *testing.T) { FILE: src/segments/fortran.go type Fortran (line 3) | type Fortran struct method Template (line 7) | func (f *Fortran) Template() string { method Enabled (line 11) | func (f *Fortran) Enabled() bool { FILE: src/segments/fortran_test.go function TestFortran (line 10) | func TestFortran(t *testing.T) { FILE: src/segments/fossil.go type FossilStatus (line 6) | type FossilStatus struct method add (line 10) | func (s *FossilStatus) add(code string) { constant FOSSILCOMMAND (line 26) | FOSSILCOMMAND = "fossil" type Fossil (line 29) | type Fossil struct method Template (line 35) | func (f *Fossil) Template() string { method Enabled (line 39) | func (f *Fossil) Enabled() bool { FILE: src/segments/fossil_test.go function TestFossilStatus (line 14) | func TestFossilStatus(t *testing.T) { FILE: src/segments/gcp.go constant GCPNOACTIVECONFIG (line 14) | GCPNOACTIVECONFIG = "NO ACTIVE CONFIG FOUND" type Gcp (line 17) | type Gcp struct method Template (line 26) | func (g *Gcp) Template() string { method Enabled (line 30) | func (g *Gcp) Enabled() bool { method getActiveConfig (line 60) | func (g *Gcp) getActiveConfig(cfgDir string) (string, error) { method getConfigDirectory (line 75) | func (g *Gcp) getConfigDirectory() string { FILE: src/segments/gcp_test.go function TestGcpSegment (line 14) | func TestGcpSegment(t *testing.T) { function TestGetConfigDirectory (line 98) | func TestGetConfigDirectory(t *testing.T) { function TestGetActiveConfig (line 139) | func TestGetActiveConfig(t *testing.T) { FILE: src/segments/git.go type Commit (line 21) | type Commit struct type Refs (line 30) | type Refs struct type User (line 36) | type User struct type GitStatus (line 42) | type GitStatus struct method add (line 46) | func (s *GitStatus) add(code string) { constant FetchStatus (line 65) | FetchStatus options.Option = "fetch_status" constant FetchPushStatus (line 67) | FetchPushStatus options.Option = "fetch_push_status" constant IgnoreStatus (line 69) | IgnoreStatus options.Option = "ignore_status" constant FetchUpstreamIcon (line 71) | FetchUpstreamIcon options.Option = "fetch_upstream_icon" constant FetchBareInfo (line 73) | FetchBareInfo options.Option = "fetch_bare_info" constant FetchUser (line 75) | FetchUser options.Option = "fetch_user" constant UntrackedModes (line 77) | UntrackedModes options.Option = "untracked_modes" constant IgnoreSubmodules (line 79) | IgnoreSubmodules options.Option = "ignore_submodules" constant MappedBranches (line 81) | MappedBranches options.Option = "mapped_branches" constant DisableWithJJ (line 83) | DisableWithJJ options.Option = "disable_with_jj" constant BranchIcon (line 86) | BranchIcon options.Option = "branch_icon" constant BranchIdenticalIcon (line 88) | BranchIdenticalIcon options.Option = "branch_identical_icon" constant BranchAheadIcon (line 90) | BranchAheadIcon options.Option = "branch_ahead_icon" constant BranchBehindIcon (line 92) | BranchBehindIcon options.Option = "branch_behind_icon" constant BranchGoneIcon (line 94) | BranchGoneIcon options.Option = "branch_gone_icon" constant RebaseIcon (line 96) | RebaseIcon options.Option = "rebase_icon" constant CherryPickIcon (line 98) | CherryPickIcon options.Option = "cherry_pick_icon" constant RevertIcon (line 100) | RevertIcon options.Option = "revert_icon" constant CommitIcon (line 102) | CommitIcon options.Option = "commit_icon" constant NoCommitsIcon (line 104) | NoCommitsIcon options.Option = "no_commits_icon" constant TagIcon (line 106) | TagIcon options.Option = "tag_icon" constant MergeIcon (line 108) | MergeIcon options.Option = "merge_icon" constant UpstreamIcons (line 110) | UpstreamIcons options.Option = "upstream_icons" constant GithubIcon (line 112) | GithubIcon options.Option = "github_icon" constant BitbucketIcon (line 114) | BitbucketIcon options.Option = "bitbucket_icon" constant AzureDevOpsIcon (line 116) | AzureDevOpsIcon options.Option = "azure_devops_icon" constant CodeCommit (line 118) | CodeCommit options.Option = "codecommit_icon" constant CodebergIcon (line 120) | CodebergIcon options.Option = "codeberg_icon" constant GitlabIcon (line 122) | GitlabIcon options.Option = "gitlab_icon" constant GitIcon (line 124) | GitIcon options.Option = "git_icon" constant DETACHED (line 126) | DETACHED = "(detached)" constant BRANCHPREFIX (line 127) | BRANCHPREFIX = "ref: refs/heads/" constant GITCOMMAND (line 128) | GITCOMMAND = "git" constant trueStr (line 130) | trueStr = "true" constant origin (line 131) | origin = "origin" type Rebase (line 134) | type Rebase struct type Git (line 141) | type Git struct method Template (line 175) | func (g *Git) Template() string { method Enabled (line 179) | func (g *Git) Enabled() bool { method CacheKey (line 226) | func (g *Git) CacheKey() (string, bool) { method Commit (line 244) | func (g *Git) Commit() *Commit { method StashCount (line 305) | func (g *Git) StashCount() int { method Kraken (line 319) | func (g *Git) Kraken() string { method LatestTag (line 337) | func (g *Git) LatestTag() string { method shouldDisplay (line 341) | func (g *Git) shouldDisplay() bool { method isRepo (line 365) | func (g *Git) isRepo(gitdir *runtime.FileInfo) bool { method setUser (line 384) | func (g *Git) setUser() { method isBareRepo (line 389) | func (g *Git) isBareRepo(gitDir *runtime.FileInfo) bool { method getBareRepoInfo (line 417) | func (g *Git) getBareRepoInfo() { method setDir (line 432) | func (g *Git) setDir(dir string) { method hasWorktree (line 442) | func (g *Git) hasWorktree(gitdir *runtime.FileInfo) bool { method shouldIgnoreStatus (line 516) | func (g *Git) shouldIgnoreStatus() bool { method setBranchStatus (line 521) | func (g *Git) setBranchStatus() { method setPushStatus (line 543) | func (g *Git) setPushStatus() { method getPushRemote (line 568) | func (g *Git) getPushRemote() string { method getGitConfig (line 607) | func (g *Git) getGitConfig() (*ini.File, error) { method cleanUpstreamURL (line 629) | func (g *Git) cleanUpstreamURL(url string) string { method getUpstreamIcon (line 678) | func (g *Git) getUpstreamIcon() string { method setStatus (line 718) | func (g *Git) setStatus() { method getGitCommandOutput (line 808) | func (g *Git) getGitCommandOutput(args ...string) string { method setHEADStatus (line 822) | func (g *Git) setHEADStatus() { method formatSHA (line 963) | func (g *Git) formatSHA(sha string) string { method hasGitFile (line 970) | func (g *Git) hasGitFile(file string) bool { method getGitRefFileSymbolicName (line 974) | func (g *Git) getGitRefFileSymbolicName(refFile string) string { method updateHEADReference (line 979) | func (g *Git) updateHEADReference() { method resolveDetachedHEAD (line 1017) | func (g *Git) resolveDetachedHEAD() { method WorktreeCount (line 1043) | func (g *Git) WorktreeCount() int { method getRemoteURL (line 1065) | func (g *Git) getRemoteURL() string { method Remotes (line 1085) | func (g *Git) Remotes() map[string]string { method getUntrackedFilesMode (line 1107) | func (g *Git) getUntrackedFilesMode() string { method getIgnoreSubmodulesMode (line 1111) | func (g *Git) getIgnoreSubmodulesMode() string { method getSwitchMode (line 1115) | func (g *Git) getSwitchMode(property options.Option, gitSwitch, mode s... method repoName (line 1131) | func (g *Git) repoName() string { FILE: src/segments/git_test.go constant branchName (line 24) | branchName = "main" constant dotGit (line 25) | dotGit = "dev/.git" constant dotGitSubmodule (line 26) | dotGitSubmodule = "dev/.git/modules/submodule" function TestEnabledGitNotFound (line 29) | func TestEnabledGitNotFound(t *testing.T) { function TestEnabledInWorkingDirectory (line 42) | func TestEnabledInWorkingDirectory(t *testing.T) { function TestResolveEmptyGitPath (line 69) | func TestResolveEmptyGitPath(t *testing.T) { function TestEnabledInWorktree (line 74) | func TestEnabledInWorktree(t *testing.T) { function TestEnabledInBareRepo (line 162) | func TestEnabledInBareRepo(t *testing.T) { function TestGetGitOutputForCommand (line 210) | func TestGetGitOutputForCommand(t *testing.T) { function TestSetGitHEADContextClean (line 230) | func TestSetGitHEADContextClean(t *testing.T) { function TestSetPrettyHEADName (line 390) | func TestSetPrettyHEADName(t *testing.T) { function TestSetGitStatus (line 442) | func TestSetGitStatus(t *testing.T) { function TestGetStashContextZeroEntries (line 650) | func TestGetStashContextZeroEntries(t *testing.T) { function TestGitCleanSSHURL (line 675) | func TestGitCleanSSHURL(t *testing.T) { function TestGitUpstream (line 704) | func TestGitUpstream(t *testing.T) { function TestGetBranchStatus (line 762) | func TestGetBranchStatus(t *testing.T) { function TestGitTemplateString (line 803) | func TestGitTemplateString(t *testing.T) { function TestGitUntrackedMode (line 938) | func TestGitUntrackedMode(t *testing.T) { function TestGitIgnoreSubmodules (line 989) | func TestGitIgnoreSubmodules(t *testing.T) { function TestGitCommit (line 1034) | func TestGitCommit(t *testing.T) { function TestGitRemotes (line 1166) | func TestGitRemotes(t *testing.T) { function TestGitRepoName (line 1261) | func TestGitRepoName(t *testing.T) { function TestDisableWithJJEnabled (line 1308) | func TestDisableWithJJEnabled(t *testing.T) { function TestDisableWithJJDisabled (line 1325) | func TestDisableWithJJDisabled(t *testing.T) { function TestDisableWithJJNoJJDirectory (line 1356) | func TestDisableWithJJNoJJDirectory(t *testing.T) { function TestPushStatusAheadAndBehind (line 1387) | func TestPushStatusAheadAndBehind(t *testing.T) { FILE: src/segments/git_unix.go function resolveGitPath (line 8) | func resolveGitPath(base, path string) string { FILE: src/segments/git_unix_test.go constant TestRootPath (line 11) | TestRootPath = "/" function TestResolveGitPath (line 13) | func TestResolveGitPath(t *testing.T) { FILE: src/segments/git_windows.go function resolveGitPath (line 6) | func resolveGitPath(base, path string) string { FILE: src/segments/git_windows_test.go constant TestRootPath (line 11) | TestRootPath = "C:/" function TestResolveGitPath (line 13) | func TestResolveGitPath(t *testing.T) { FILE: src/segments/gitversion.go type GitVersionInfo (line 7) | type GitVersionInfo struct type GitVersion (line 43) | type GitVersion struct method Template (line 49) | func (n *GitVersion) Template() string { method Enabled (line 53) | func (n *GitVersion) Enabled() bool { FILE: src/segments/gitversion_test.go function TestGitversion (line 13) | func TestGitversion(t *testing.T) { FILE: src/segments/golang.go type Golang (line 9) | type Golang struct method Template (line 18) | func (g *Golang) Template() string { method Enabled (line 22) | func (g *Golang) Enabled() bool { method getVersion (line 45) | func (g *Golang) getVersion() (string, error) { method parseModFile (line 57) | func (g *Golang) parseModFile() (string, error) { method parseWorkFile (line 77) | func (g *Golang) parseWorkFile() (string, error) { constant ParseModFile (line 14) | ParseModFile options.Option = "parse_mod_file" constant ParseWorkFile (line 15) | ParseWorkFile options.Option = "parse_work_file" FILE: src/segments/golang_test.go function TestGolang (line 13) | func TestGolang(t *testing.T) { FILE: src/segments/haskell.go type Haskell (line 5) | type Haskell struct method Template (line 15) | func (h *Haskell) Template() string { method Enabled (line 19) | func (h *Haskell) Enabled() bool { constant StackGhcMode (line 12) | StackGhcMode options.Option = "stack_ghc_mode" FILE: src/segments/haskell_test.go function TestHaskell (line 12) | func TestHaskell(t *testing.T) { FILE: src/segments/helm.go type Helm (line 3) | type Helm struct method Enabled (line 9) | func (h *Helm) Enabled() bool { method Template (line 27) | func (h *Helm) Template() string { method getVersion (line 31) | func (h *Helm) getVersion() bool { FILE: src/segments/helm_test.go function TestHelmSegment (line 15) | func TestHelmSegment(t *testing.T) { FILE: src/segments/http.go type HTTP (line 12) | type HTTP struct method Template (line 22) | func (h *HTTP) Template() string { method Enabled (line 26) | func (h *HTTP) Enabled() bool { method getResult (line 47) | func (h *HTTP) getResult(url, method string) (map[string]any, error) { constant METHOD (line 19) | METHOD options.Option = "method" FILE: src/segments/http_test.go function TestHTTPSegmentEnabled (line 14) | func TestHTTPSegmentEnabled(t *testing.T) { function TestHTTPSegmentCache (line 81) | func TestHTTPSegmentCache(t *testing.T) { FILE: src/segments/ipify.go type ipData (line 11) | type ipData struct type IPAPI (line 15) | type IPAPI interface type ipAPI (line 19) | type ipAPI struct method Get (line 23) | func (i *ipAPI) Get() (*ipData, error) { type IPify (line 28) | type IPify struct method Template (line 39) | func (i *IPify) Template() string { method Enabled (line 43) | func (i *IPify) Enabled() bool { method getResult (line 66) | func (i *IPify) getResult() (string, error) { method initAPI (line 79) | func (i *IPify) initAPI() { constant OFFLINE (line 36) | OFFLINE = "OFFLINE" FILE: src/segments/ipify_test.go type mockedipAPI (line 16) | type mockedipAPI struct method Get (line 20) | func (s *mockedipAPI) Get() (*ipData, error) { function TestIpifySegment (line 25) | func TestIpifySegment(t *testing.T) { FILE: src/segments/java.go type Java (line 7) | type Java struct method Template (line 11) | func (j *Java) Template() string { method Enabled (line 15) | func (j *Java) Enabled() bool { method init (line 21) | func (j *Java) init() { FILE: src/segments/java_test.go function TestJava (line 10) | func TestJava(t *testing.T) { FILE: src/segments/jujutsu.go constant JUJUTSUCOMMAND (line 15) | JUJUTSUCOMMAND = "jj" constant IgnoreWorkingCopy (line 17) | IgnoreWorkingCopy options.Option = "ignore_working_copy" constant ChangeIDMinLen (line 18) | ChangeIDMinLen options.Option = "change_id_min_len" constant FetchAhead (line 19) | FetchAhead options.Option = "fetch_ahead_counter" constant AheadIcon (line 20) | AheadIcon options.Option = "ahead_icon" type JujutsuStatus (line 23) | type JujutsuStatus struct method add (line 27) | func (s *JujutsuStatus) add(code byte) { type Jujutsu (line 40) | type Jujutsu struct method Template (line 46) | func (jj *Jujutsu) Template() string { method Enabled (line 50) | func (jj *Jujutsu) Enabled() bool { method CacheKey (line 67) | func (jj *Jujutsu) CacheKey() (string, bool) { method ClosestBookmarks (line 76) | func (jj *Jujutsu) ClosestBookmarks() string { method shouldDisplay (line 124) | func (jj *Jujutsu) shouldDisplay(displayStatus bool) bool { method setDir (line 146) | func (jj *Jujutsu) setDir(dir string) { method setJujutsuStatus (line 156) | func (jj *Jujutsu) setJujutsuStatus() { method logTemplate (line 172) | func (jj *Jujutsu) logTemplate() string { method getJujutsuCommandOutput (line 177) | func (jj *Jujutsu) getJujutsuCommandOutput(command string, args ...str... FILE: src/segments/jujutsu_test.go function TestJujutsuEnabledToolNotFound (line 13) | func TestJujutsuEnabledToolNotFound(t *testing.T) { function TestJujutsuEnabledInWorkingDirectory (line 26) | func TestJujutsuEnabledInWorkingDirectory(t *testing.T) { function TestJujutsuGetIdInfo (line 46) | func TestJujutsuGetIdInfo(t *testing.T) { FILE: src/segments/julia.go type Julia (line 3) | type Julia struct method Template (line 7) | func (j *Julia) Template() string { method Enabled (line 11) | func (j *Julia) Enabled() bool { FILE: src/segments/julia_test.go function TestJulia (line 10) | func TestJulia(t *testing.T) { FILE: src/segments/kotlin.go type Kotlin (line 3) | type Kotlin struct method Template (line 7) | func (k *Kotlin) Template() string { method Enabled (line 11) | func (k *Kotlin) Enabled() bool { FILE: src/segments/kotlin_test.go function TestKotlin (line 10) | func TestKotlin(t *testing.T) { FILE: src/segments/kubectl.go constant ParseKubeConfig (line 13) | ParseKubeConfig options.Option = "parse_kubeconfig" constant ContextAliases (line 14) | ContextAliases options.Option = "context_aliases" constant ClusterAliases (line 15) | ClusterAliases options.Option = "cluster_aliases" type Kubectl (line 18) | type Kubectl struct method Template (line 40) | func (k *Kubectl) Template() string { method Enabled (line 44) | func (k *Kubectl) Enabled() bool { method doParseKubeConfig (line 54) | func (k *Kubectl) doParseKubeConfig() bool { method doCallKubectl (line 112) | func (k *Kubectl) doCallKubectl() bool { method setError (line 147) | func (k *Kubectl) setError(message string) { method SetContextAlias (line 157) | func (k *Kubectl) SetContextAlias() { method SetClusterAlias (line 164) | func (k *Kubectl) SetClusterAlias() { type KubeConfig (line 26) | type KubeConfig struct type KubeContext (line 34) | type KubeContext struct FILE: src/segments/kubectl_test.go constant testKubectlAllInfoTemplate (line 17) | testKubectlAllInfoTemplate = "{{.Context}} :: {{.Namespace}} :: {{.User}... constant contextMarker (line 18) | contextMarker = "currentcontextmarker" function TestKubectlSegment (line 21) | func TestKubectlSegment(t *testing.T) { FILE: src/segments/language.go constant languageTemplate (line 21) | languageTemplate = " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ ... constant noVersion (line 22) | noVersion = "NO VERSION" type loadContext (line 25) | type loadContext type inContext (line 27) | type inContext type getVersion (line 29) | type getVersion type matchesVersionFile (line 30) | type matchesVersionFile type Version (line 32) | type Version struct type cmd (line 44) | type cmd struct method parse (line 52) | func (c *cmd) parse(versionInfo string) (*Version, error) { type Language (line 69) | type Language struct method getName (line 115) | func (l *Language) getName() string { method Enabled (line 121) | func (l *Language) Enabled() bool { method loadTooling (line 189) | func (l *Language) loadTooling() { method hasLanguageFiles (line 205) | func (l *Language) hasLanguageFiles() bool { method hasProjectFiles (line 209) | func (l *Language) hasProjectFiles() bool { method hasLanguageFolders (line 220) | func (l *Language) hasLanguageFolders() bool { method setVersion (line 225) | func (l *Language) setVersion() error { method runCommand (line 271) | func (l *Language) runCommand(command *cmd) (string, error) { method loadLanguageContext (line 298) | func (l *Language) loadLanguageContext() { method inLanguageContext (line 305) | func (l *Language) inLanguageContext() bool { method buildVersionURL (line 312) | func (l *Language) buildVersionURL() { method hasNodePackage (line 326) | func (l *Language) hasNodePackage(name string) bool { method nodePackageVersion (line 346) | func (l *Language) nodePackageVersion(name string) (string, error) { constant DisplayMode (line 94) | DisplayMode options.Option = "display_mode" constant DisplayModeAlways (line 96) | DisplayModeAlways string = "always" constant DisplayModeFiles (line 98) | DisplayModeFiles string = "files" constant DisplayModeEnvironment (line 100) | DisplayModeEnvironment string = "environment" constant DisplayModeContext (line 102) | DisplayModeContext string = "context" constant MissingCommandText (line 104) | MissingCommandText options.Option = "missing_command_text" constant HomeEnabled (line 106) | HomeEnabled options.Option = "home_enabled" constant LanguageExtensions (line 108) | LanguageExtensions options.Option = "extensions" constant LanguageFolders (line 110) | LanguageFolders options.Option = "folders" constant Tooling (line 112) | Tooling options.Option = "tooling" FILE: src/segments/language_test.go constant universion (line 16) | universion = "1.3.307" constant uni (line 17) | uni = "*.uni" constant corn (line 18) | corn = "*.corn" type languageArgs (line 21) | type languageArgs struct method hasvalue (line 34) | func (l *languageArgs) hasvalue(value string, list []string) bool { function bootStrapLanguageTest (line 38) | func bootStrapLanguageTest(args *languageArgs) *Language { function TestLanguageFilesFoundButNoCommandAndVersionAndDisplayVersion (line 74) | func TestLanguageFilesFoundButNoCommandAndVersionAndDisplayVersion(t *te... function TestLanguageFilesFoundButNoCommandAndVersionAndDontDisplayVersion (line 90) | func TestLanguageFilesFoundButNoCommandAndVersionAndDontDisplayVersion(t... function TestLanguageFilesFoundButNoCommandAndNoVersion (line 109) | func TestLanguageFilesFoundButNoCommandAndNoVersion(t *testing.T) { function TestLanguageDisabledNoFiles (line 124) | func TestLanguageDisabledNoFiles(t *testing.T) { function TestLanguageEnabledOneExtensionFound (line 140) | func TestLanguageEnabledOneExtensionFound(t *testing.T) { function TestLanguageEnabledMismatch (line 160) | func TestLanguageEnabledMismatch(t *testing.T) { function TestLanguageDisabledInHome (line 185) | func TestLanguageDisabledInHome(t *testing.T) { function TestLanguageEnabledSecondExtensionFound (line 204) | func TestLanguageEnabledSecondExtensionFound(t *testing.T) { function TestLanguageEnabledSecondCommand (line 224) | func TestLanguageEnabledSecondCommand(t *testing.T) { function TestLanguageEnabledAllExtensionsFound (line 249) | func TestLanguageEnabledAllExtensionsFound(t *testing.T) { function TestLanguageEnabledNoVersion (line 269) | func TestLanguageEnabledNoVersion(t *testing.T) { function TestLanguageEnabledMissingCommand (line 293) | func TestLanguageEnabledMissingCommand(t *testing.T) { function TestLanguageEnabledNoVersionData (line 311) | func TestLanguageEnabledNoVersionData(t *testing.T) { function TestLanguageEnabledMissingCommandCustomText (line 335) | func TestLanguageEnabledMissingCommandCustomText(t *testing.T) { function TestLanguageEnabledMissingCommandCustomTextHideError (line 353) | func TestLanguageEnabledMissingCommandCustomTextHideError(t *testing.T) { function TestLanguageEnabledCommandExitCode (line 368) | func TestLanguageEnabledCommandExitCode(t *testing.T) { function TestLanguageHyperlinkEnabled (line 390) | func TestLanguageHyperlinkEnabled(t *testing.T) { function TestLanguageHyperlinkEnabledWrongRegex (line 416) | func TestLanguageHyperlinkEnabledWrongRegex(t *testing.T) { function TestLanguageEnabledInHome (line 442) | func TestLanguageEnabledInHome(t *testing.T) { function TestLanguageInnerHyperlink (line 475) | func TestLanguageInnerHyperlink(t *testing.T) { function TestLanguageHyperlinkTemplatePropertyTakesPriority (line 503) | func TestLanguageHyperlinkTemplatePropertyTakesPriority(t *testing.T) { function TestLanguageTooling (line 526) | func TestLanguageTooling(t *testing.T) { type mockedLanguageParams (line 618) | type mockedLanguageParams struct function getMockedLanguageEnv (line 625) | func getMockedLanguageEnv(params *mockedLanguageParams) (*mock.Environme... function TestNodePackageVersion (line 640) | func TestNodePackageVersion(t *testing.T) { FILE: src/segments/lastfm.go type LastFM (line 12) | type LastFM struct method Enabled (line 54) | func (d *LastFM) Enabled() bool { method Template (line 65) | func (d *LastFM) Template() string { method getResult (line 69) | func (d *LastFM) getResult() (*lfmDataResponse, error) { method setStatus (line 91) | func (d *LastFM) setStatus() error { constant Username (line 24) | Username options.Option = "username" type lmfDate (line 27) | type lmfDate struct type lfmTrackInfo (line 31) | type lfmTrackInfo struct type Artist (line 35) | type Artist struct type lfmTrack (line 39) | type lfmTrack struct type tracks (line 46) | type tracks struct type lfmDataResponse (line 50) | type lfmDataResponse struct FILE: src/segments/lastfm_test.go constant LFMAPIURL (line 14) | LFMAPIURL = "https://ws.audioscrobbler.com/2.0/?method=user.getrecenttra... function TestLFMSegmentSingle (line 17) | func TestLFMSegmentSingle(t *testing.T) { FILE: src/segments/lua.go type Lua (line 3) | type Lua struct method Template (line 7) | func (l *Lua) Template() string { method Enabled (line 11) | func (l *Lua) Enabled() bool { FILE: src/segments/lua_test.go function TestLua (line 12) | func TestLua(t *testing.T) { FILE: src/segments/mercurial.go constant MERCURIALCOMMAND (line 11) | MERCURIALCOMMAND = "hg" constant hgLogTemplate (line 13) | hgLogTemplate = "{rev}|{node}|{branch}|{tags}|{bookmarks}" type MercurialStatus (line 16) | type MercurialStatus struct method add (line 20) | func (s *MercurialStatus) add(code string) { type Mercurial (line 33) | type Mercurial struct method Template (line 45) | func (hg *Mercurial) Template() string { method Enabled (line 49) | func (hg *Mercurial) Enabled() bool { method CacheKey (line 65) | func (hg *Mercurial) CacheKey() (string, bool) { method shouldDisplay (line 74) | func (hg *Mercurial) shouldDisplay() bool { method setDir (line 93) | func (hg *Mercurial) setDir(dir string) { method setMercurialStatus (line 102) | func (hg *Mercurial) setMercurialStatus() { method getHgCommandOutput (line 167) | func (hg *Mercurial) getHgCommandOutput(command string, args ...string... function doSplit (line 153) | func doSplit(s string) []string { function RemoveAtIndex (line 161) | func RemoveAtIndex(s []string, index int) []string { FILE: src/segments/mercurial_test.go function TestMercurialEnabledToolNotFound (line 12) | func TestMercurialEnabledToolNotFound(t *testing.T) { function TestMercurialEnabledInWorkingDirectory (line 25) | func TestMercurialEnabledInWorkingDirectory(t *testing.T) { function TestMercurialGetIdInfo (line 49) | func TestMercurialGetIdInfo(t *testing.T) { FILE: src/segments/mojo.go type Mojo (line 9) | type Mojo struct method Template (line 14) | func (m *Mojo) Template() string { method Enabled (line 18) | func (m *Mojo) Enabled() bool { method loadContext (line 35) | func (m *Mojo) loadContext() { method inContext (line 48) | func (m *Mojo) inContext() bool { method canUseVenvName (line 52) | func (m *Mojo) canUseVenvName(name string) bool { FILE: src/segments/mojo_test.go function TestMojoTemplate (line 10) | func TestMojoTemplate(t *testing.T) { FILE: src/segments/mvn.go type Mvn (line 3) | type Mvn struct method Enabled (line 7) | func (m *Mvn) Enabled() bool { method Template (line 27) | func (m *Mvn) Template() string { FILE: src/segments/mvn_test.go function TestMvn (line 13) | func TestMvn(t *testing.T) { FILE: src/segments/nba.go type Nba (line 14) | type Nba struct method Template (line 139) | func (nba *Nba) Template() string { method Enabled (line 143) | func (nba *Nba) Enabled() bool { method findGameScoreByTeamTricode (line 155) | func (nba *Nba) findGameScoreByTeamTricode(games []Game, teamTricode s... method findGameSchedulebyTeamTricode (line 166) | func (nba *Nba) findGameSchedulebyTeamTricode(games []ScheduledGame, t... method parseTimetoUTC (line 177) | func (nba *Nba) parseTimetoUTC(timeEST, date string) string { method retrieveScoreData (line 188) | func (nba *Nba) retrieveScoreData(teamName string, httpTimeout int) (*... method retrieveScheduleData (line 222) | func (nba *Nba) retrieveScheduleData(teamName string, httpTimeout int)... method getAvailableGameData (line 275) | func (nba *Nba) getAvailableGameData(teamName string, httpTimeout int)... method getResult (line 291) | func (nba *Nba) getResult() (*NBAData, error) { type NBAData (line 21) | type NBAData struct method HasStats (line 36) | func (nba *NBAData) HasStats() bool { method Started (line 40) | func (nba *NBAData) Started() bool { constant NBASeason (line 45) | NBASeason options.Option = "season" constant TeamName (line 46) | TeamName options.Option = "team" constant DaysOffset (line 47) | DaysOffset options.Option = "days_offset" constant ScheduledTemplate (line 49) | ScheduledTemplate options.Option = "scheduled_template" constant InProgressTemplate (line 50) | InProgressTemplate options.Option = "in_progress_template" constant FinishedTemplate (line 51) | FinishedTemplate options.Option = "finished_template" constant NBAScoreURL (line 53) | NBAScoreURL string = "https://cdn.nba.com/static/json/liveData/scoreb... constant NBAScheduleURL (line 54) | NBAScheduleURL string = "https://stats.nba.com/stats/internationalbroadc... constant UNKNOWN (line 56) | UNKNOWN = "unknown" constant currentNBASeason (line 58) | currentNBASeason = "2023" constant NBADateFormat (line 59) | NBADateFormat = "02/01/2006" type GameStatus (line 63) | type GameStatus method Int (line 75) | func (gs GameStatus) Int() int { method Valid (line 79) | func (gs GameStatus) Valid() bool { method String (line 83) | func (gs GameStatus) String() string { constant Scheduled (line 67) | Scheduled GameStatus = 1 constant InProgress (line 68) | InProgress GameStatus = 2 constant Finished (line 69) | Finished GameStatus = 3 constant NotFound (line 70) | NotFound GameStatus = 4 type ScoreboardResponse (line 99) | type ScoreboardResponse struct type Scoreboard (line 103) | type Scoreboard struct type Game (line 108) | type Game struct type Team (line 116) | type Team struct type ScheduleResponse (line 124) | type ScheduleResponse struct type ResultSet (line 128) | type ResultSet struct type ScheduledGame (line 132) | type ScheduledGame struct FILE: src/segments/nba_test.go function getTestData (line 15) | func getTestData(file string) string { function TestNBASegment (line 21) | func TestNBASegment(t *testing.T) { FILE: src/segments/nbgv.go type Nbgv (line 7) | type Nbgv struct method Template (line 24) | func (n *Nbgv) Template() string { method Enabled (line 28) | func (n *Nbgv) Enabled() bool { type VersionInfo (line 13) | type VersionInfo struct FILE: src/segments/nbgv_test.go function TestNbgv (line 13) | func TestNbgv(t *testing.T) { FILE: src/segments/nightscout.go type Nightscout (line 14) | type Nightscout struct method Template (line 82) | func (ns *Nightscout) Template() string { method Enabled (line 86) | func (ns *Nightscout) Enabled() bool { method getTrendIcon (line 97) | func (ns *Nightscout) getTrendIcon() string { method getResult (line 118) | func (ns *Nightscout) getResult() (*NightscoutData, error) { constant URL (line 23) | URL options.Option = "url" constant Headers (line 24) | Headers options.Option = "headers" constant DoubleUpIcon (line 26) | DoubleUpIcon options.Option = "doubleup_icon" constant SingleUpIcon (line 27) | SingleUpIcon options.Option = "singleup_icon" constant FortyFiveUpIcon (line 28) | FortyFiveUpIcon options.Option = "fortyfiveup_icon" constant FlatIcon (line 29) | FlatIcon options.Option = "flat_icon" constant FortyFiveDownIcon (line 30) | FortyFiveDownIcon options.Option = "fortyfivedown_icon" constant SingleDownIcon (line 31) | SingleDownIcon options.Option = "singledown_icon" constant DoubleDownIcon (line 32) | DoubleDownIcon options.Option = "doubledown_icon" type NightscoutData (line 36) | type NightscoutData struct method UnmarshalJSON (line 52) | func (n *NightscoutData) UnmarshalJSON(data []byte) error { FILE: src/segments/nightscout_test.go constant FAKEAPIURL (line 16) | FAKEAPIURL = "FAKE" function TestNSSegment (line 19) | func TestNSSegment(t *testing.T) { function TestNightscoutDataUnmarshalJSON (line 148) | func TestNightscoutDataUnmarshalJSON(t *testing.T) { FILE: src/segments/nim.go type Nim (line 3) | type Nim struct method Template (line 7) | func (n *Nim) Template() string { method Enabled (line 11) | func (n *Nim) Enabled() bool { FILE: src/segments/nim_test.go function TestNim (line 10) | func TestNim(t *testing.T) { FILE: src/segments/nixshell.go constant NONE (line 9) | NONE = "none" type NixShell (line 12) | type NixShell struct method Template (line 18) | func (n *NixShell) Template() string { method DetectType (line 22) | func (n *NixShell) DetectType() string { method InNewNixShell (line 40) | func (n *NixShell) InNewNixShell() bool { method Enabled (line 52) | func (n *NixShell) Enabled() bool { FILE: src/segments/nixshell_test.go constant nixPath (line 13) | nixPath = "/nix/store/zznw8fnzss1vaqfg5hmv3y79s3hkqczi-devshell-dir/... constant defaultPath (line 14) | defaultPath = "/users/xyz/testing" constant fullNixPath (line 15) | fullNixPath = defaultPath + ":" + nixPath function TestNixShellSegment (line 18) | func TestNixShellSegment(t *testing.T) { FILE: src/segments/node.go type Node (line 11) | type Node struct method Template (line 31) | func (n *Node) Template() string { method Enabled (line 35) | func (n *Node) Enabled() bool { method loadContext (line 52) | func (n *Node) loadContext() { method matchesVersionFile (line 110) | func (n *Node) matchesVersionFile() (string, bool) { constant PnpmIcon (line 20) | PnpmIcon options.Option = "pnpm_icon" constant YarnIcon (line 22) | YarnIcon options.Option = "yarn_icon" constant NPMIcon (line 24) | NPMIcon options.Option = "npm_icon" constant BunIcon (line 26) | BunIcon options.Option = "bun_icon" constant FetchPackageManager (line 28) | FetchPackageManager options.Option = "fetch_package_manager" FILE: src/segments/node_test.go function TestNodeMatchesVersionFile (line 12) | func TestNodeMatchesVersionFile(t *testing.T) { function TestNodeInContext (line 56) | func TestNodeInContext(t *testing.T) { FILE: src/segments/npm.go type Npm (line 3) | type Npm struct method Enabled (line 7) | func (n *Npm) Enabled() bool { method Template (line 22) | func (n *Npm) Template() string { FILE: src/segments/npm_test.go function TestNpm (line 10) | func TestNpm(t *testing.T) { FILE: src/segments/nx.go type Nx (line 3) | type Nx struct method Template (line 7) | func (a *Nx) Template() string { method Enabled (line 11) | func (a *Nx) Enabled() bool { method getVersion (line 25) | func (a *Nx) getVersion() (string, error) { FILE: src/segments/ocaml.go type OCaml (line 3) | type OCaml struct method Template (line 7) | func (o *OCaml) Template() string { method Enabled (line 11) | func (o *OCaml) Enabled() bool { FILE: src/segments/ocaml_test.go function TestOCaml (line 10) | func TestOCaml(t *testing.T) { FILE: src/segments/options/map.go function init (line 14) | func init() { type Provider (line 31) | type Provider interface type Option (line 44) | type Option constant Style (line 49) | Style Option = "style" constant FetchVersion (line 51) | FetchVersion Option = "fetch_version" constant AlwaysEnabled (line 53) | AlwaysEnabled Option = "always_enabled" constant VersionURLTemplate (line 55) | VersionURLTemplate Option = "version_url_template" constant DisplayError (line 57) | DisplayError Option = "display_error" constant DisplayDefault (line 59) | DisplayDefault Option = "display_default" constant AccessToken (line 61) | AccessToken Option = "access_token" constant RefreshToken (line 63) | RefreshToken Option = "refresh_token" constant HTTPTimeout (line 65) | HTTPTimeout Option = "http_timeout" constant DefaultHTTPTimeout (line 67) | DefaultHTTPTimeout = 20 constant Files (line 69) | Files Option = "files" constant CacheDuration (line 71) | CacheDuration Option = "cache_duration" type Map (line 74) | type Map method String (line 76) | func (m Map) String(option Option, defaultValue string) string { method Template (line 90) | func (m Map) Template(option Option, defaultValue string, context any)... method Color (line 106) | func (m Map) Color(option Option, defaultValue color.Ansi) color.Ansi { method Bool (line 130) | func (m Map) Bool(option Option, defaultValue bool) bool { method Float64 (line 145) | func (m Map) Float64(option Option, defaultValue float64) float64 { method Int (line 175) | func (m Map) Int(option Option, defaultValue int) int { method KeyValueMap (line 205) | func (m Map) KeyValueMap(option Option, defaultValue map[string]string... method StringArray (line 217) | func (m Map) StringArray(option Option, defaultValue []string) []string { method Any (line 229) | func (m Map) Any(option Option, defaultValue any) any { function ParseStringArray (line 240) | func ParseStringArray(param any) []string { function parseKeyValueArray (line 244) | func parseKeyValueArray(param any) map[string]string { type Value (line 289) | type Value interface function OneOf (line 293) | func OneOf[T Value](options Provider, defaultValue T, props ...Option) T { FILE: src/segments/options/map_test.go constant expected (line 14) | expected = "expected" constant expectedColor (line 15) | expectedColor = color.Ansi("#768954") constant Foo (line 17) | Foo Option = "color" function TestGetString (line 20) | func TestGetString(t *testing.T) { function TestGetStringNoEntry (line 26) | func TestGetStringNoEntry(t *testing.T) { function TestGetStringNoTextEntry (line 32) | func TestGetStringNoTextEntry(t *testing.T) { function TestGetHexColor (line 38) | func TestGetHexColor(t *testing.T) { function TestGetColor (line 45) | func TestGetColor(t *testing.T) { function TestDefaultColorWithInvalidColorCode (line 52) | func TestDefaultColorWithInvalidColorCode(t *testing.T) { function TestDefaultColorWithUnavailableProperty (line 59) | func TestDefaultColorWithUnavailableProperty(t *testing.T) { function TestGetPaletteColor (line 66) | func TestGetPaletteColor(t *testing.T) { function TestGetBool (line 73) | func TestGetBool(t *testing.T) { function TestGetBoolPropertyNotInMap (line 80) | func TestGetBoolPropertyNotInMap(t *testing.T) { function TestGetBoolInvalidProperty (line 86) | func TestGetBoolInvalidProperty(t *testing.T) { function TestGetFloat64 (line 92) | func TestGetFloat64(t *testing.T) { function TestGetFloat64PropertyNotInMap (line 112) | func TestGetFloat64PropertyNotInMap(t *testing.T) { function TestOneOf (line 119) | func TestOneOf(t *testing.T) { function TestTemplate (line 173) | func TestTemplate(t *testing.T) { FILE: src/segments/os.go type Os (line 8) | type Os struct method Template (line 27) | func (oi *Os) Template() string { method Enabled (line 31) | func (oi *Os) Enabled() bool { method getDistroIcon (line 54) | func (oi *Os) getDistroIcon(distro string) string { constant MacOS (line 16) | MacOS options.Option = "macos" constant Linux (line 18) | Linux options.Option = "linux" constant Windows (line 20) | Windows options.Option = "windows" constant Android (line 22) | Android options.Option = "android" constant DisplayDistroName (line 24) | DisplayDistroName options.Option = "display_distro_name" FILE: src/segments/os_test.go function TestOSInfo (line 14) | func TestOSInfo(t *testing.T) { FILE: src/segments/owm.go type Owm (line 14) | type Owm struct method Enabled (line 51) | func (d *Owm) Enabled() bool { method Template (line 62) | func (d *Owm) Template() string { method getResult (line 66) | func (d *Owm) getResult() (*owmDataResponse, error) { method setStatus (line 99) | func (d *Owm) setStatus() error { constant APIKey (line 26) | APIKey options.Option = "api_key" constant Location (line 28) | Location options.Option = "location" constant Units (line 30) | Units options.Option = "units" constant CacheKeyResponse (line 32) | CacheKeyResponse string = "owm_response" constant CacheKeyURL (line 34) | CacheKeyURL string = "owm_url" type weather (line 37) | type weather struct type temperature (line 42) | type temperature struct type owmDataResponse (line 46) | type owmDataResponse struct FILE: src/segments/owm_test.go constant OWMWEATHERAPIURL (line 16) | OWMWEATHERAPIURL = "https://api.openweathermap.org/data/2.5/weather?q=%s... function TestOWMSegmentSingle (line 19) | func TestOWMSegmentSingle(t *testing.T) { function TestOWMSegmentIcons (line 101) | func TestOWMSegmentIcons(t *testing.T) { FILE: src/segments/path.go constant regexPrefix (line 22) | regexPrefix = "re:" type Folder (line 25) | type Folder struct type Folders (line 31) | type Folders method List (line 33) | func (f Folders) List() []string { method Last (line 43) | func (f Folders) Last() *Folder { type Path (line 47) | type Path struct method Template (line 137) | func (pt *Path) Template() string { method Enabled (line 141) | func (pt *Path) Enabled() bool { method setPaths (line 160) | func (pt *Path) setPaths() { method Parent (line 195) | func (pt *Path) Parent() string { method Format (line 223) | func (pt *Path) Format(inputPath string) string { method setStyle (line 238) | func (pt *Path) setStyle() { method getMaxWidth (line 286) | func (pt *Path) getMaxWidth() int { method getFolderSeparator (line 307) | func (pt *Path) getFolderSeparator() string { method getMixedPath (line 331) | func (pt *Path) getMixedPath() string { method getAgnosterPath (line 352) | func (pt *Path) getAgnosterPath(maxWidth int) string { method getAgnosterLeftPath (line 375) | func (pt *Path) getAgnosterLeftPath() string { method findFirstLetterOrNumber (line 398) | func (pt *Path) findFirstLetterOrNumber(txt string) (letter string, in... method getRelevantLetter (line 408) | func (pt *Path) getRelevantLetter(folder *Folder) string { method getLetterPath (line 422) | func (pt *Path) getLetterPath() string { method getFishPath (line 441) | func (pt *Path) getFishPath() string { method getUniqueLettersPath (line 472) | func (pt *Path) getUniqueLettersPath(maxWidth int) string { method getAgnosterMaxWidth (line 537) | func (pt *Path) getAgnosterMaxWidth(maxWidth int) string { method getAgnosterFullPath (line 574) | func (pt *Path) getAgnosterFullPath() string { method getAgnosterShortPath (line 580) | func (pt *Path) getAgnosterShortPath() string { method getFullPath (line 607) | func (pt *Path) getFullPath() string { method getFolderPath (line 611) | func (pt *Path) getFolderPath() string { method join (line 616) | func (pt *Path) join(root, relative string) string { method setMappedLocations (line 629) | func (pt *Path) setMappedLocations() { method replaceMappedLocations (line 675) | func (pt *Path) replaceMappedLocations(inputPath string) (string, stri... method parsePath (line 769) | func (pt *Path) parsePath(inputPath string) (string, string) { method getPaths (line 814) | func (pt *Path) getPaths() (string, Folders) { method endWithSeparator (line 835) | func (pt *Path) endWithSeparator(inputPath string) bool { method normalize (line 843) | func (pt *Path) normalize(inputPath string) string { method colorizePath (line 863) | func (pt *Path) colorizePath(root string, elements []string) string { method splitPath (line 935) | func (pt *Path) splitPath() Folders { method makeFolderFormatMap (line 970) | func (pt *Path) makeFolderFormatMap() map[string]string { constant FolderSeparatorIcon (line 67) | FolderSeparatorIcon options.Option = "folder_separator_icon" constant FolderSeparatorTemplate (line 69) | FolderSeparatorTemplate options.Option = "folder_separator_template" constant HomeIcon (line 71) | HomeIcon options.Option = "home_icon" constant FolderIcon (line 73) | FolderIcon options.Option = "folder_icon" constant WindowsRegistryIcon (line 75) | WindowsRegistryIcon options.Option = "windows_registry_icon" constant Agnoster (line 77) | Agnoster string = "agnoster" constant AgnosterFull (line 79) | AgnosterFull string = "agnoster_full" constant AgnosterShort (line 81) | AgnosterShort string = "agnoster_short" constant Short (line 83) | Short string = "short" constant Full (line 85) | Full string = "full" constant FolderType (line 87) | FolderType string = "folder" constant Mixed (line 89) | Mixed string = "mixed" constant Letter (line 91) | Letter string = "letter" constant Unique (line 93) | Unique string = "unique" constant AgnosterLeft (line 95) | AgnosterLeft string = "agnoster_left" constant Powerlevel (line 98) | Powerlevel string = "powerlevel" constant MixedThreshold (line 100) | MixedThreshold options.Option = "mixed_threshold" constant MappedLocations (line 102) | MappedLocations options.Option = "mapped_locations" constant MappedLocationsEnabled (line 104) | MappedLocationsEnabled options.Option = "mapped_locations_enabled" constant MaxDepth (line 106) | MaxDepth options.Option = "max_depth" constant MaxWidth (line 108) | MaxWidth options.Option = "max_width" constant HideRootLocation (line 110) | HideRootLocation options.Option = "hide_root_location" constant Cycle (line 112) | Cycle options.Option = "cycle" constant CycleFolderSeparator (line 114) | CycleFolderSeparator options.Option = "cycle_folder_separator" constant FolderFormat (line 116) | FolderFormat options.Option = "folder_format" constant EdgeFormat (line 118) | EdgeFormat options.Option = "edge_format" constant LeftFormat (line 120) | LeftFormat options.Option = "left_format" constant RightFormat (line 122) | RightFormat options.Option = "right_format" constant GitDirFormat (line 124) | GitDirFormat options.Option = "gitdir_format" constant DisplayCygpath (line 126) | DisplayCygpath options.Option = "display_cygpath" constant DisplayRoot (line 128) | DisplayRoot options.Option = "display_root" constant Fish (line 130) | Fish string = "fish" constant DirLength (line 132) | DirLength options.Option = "dir_length" constant FullLengthDirs (line 134) | FullLengthDirs options.Option = "full_length_dirs" FILE: src/segments/path_test.go constant homeDir (line 19) | homeDir = "/home/someone" constant homeDirWindows (line 20) | homeDirWindows = "C:\\Users\\someone" function renderTemplateNoTrimSpace (line 23) | func renderTemplateNoTrimSpace(env *mock.Environment, segmentTemplate st... function renderTemplate (line 39) | func renderTemplate(env *mock.Environment, segmentTemplate string, conte... type testParentCase (line 43) | type testParentCase struct function TestParent (line 53) | func TestParent(t *testing.T) { type testAgnosterPathStyleCase (line 77) | type testAgnosterPathStyleCase struct function TestAgnosterPathStyles (line 97) | func TestAgnosterPathStyles(t *testing.T) { type testFullAndFolderPathCase (line 143) | type testFullAndFolderPathCase struct function TestFullAndFolderPath (line 157) | func TestFullAndFolderPath(t *testing.T) { type testFullPathCustomMappedLocationsCase (line 203) | type testFullPathCustomMappedLocationsCase struct function TestFullPathCustomMappedLocations (line 211) | func TestFullPathCustomMappedLocations(t *testing.T) { type testAgnosterPathCase (line 256) | type testAgnosterPathCase struct function TestAgnosterPath (line 267) | func TestAgnosterPath(t *testing.T) { type testAgnosterLeftPathCase (line 299) | type testAgnosterLeftPathCase struct function TestAgnosterLeftPath (line 308) | func TestAgnosterLeftPath(t *testing.T) { function TestGetFolderSeparator (line 338) | func TestGetFolderSeparator(t *testing.T) { type testNormalizePathCase (line 383) | type testNormalizePathCase struct function TestNormalizePath (line 393) | func TestNormalizePath(t *testing.T) { type testSplitPathCase (line 413) | type testSplitPathCase struct function TestSplitPath (line 423) | func TestSplitPath(t *testing.T) { function TestGetMaxWidth (line 448) | func TestGetMaxWidth(t *testing.T) { function TestAgnosterMaxWidth (line 495) | func TestAgnosterMaxWidth(t *testing.T) { function TestFishPath (line 664) | func TestFishPath(t *testing.T) { FILE: src/segments/path_unix_test.go constant abc (line 18) | abc = "/abc" constant abcd (line 19) | abcd = "/a/b/c/d" constant cdefg (line 20) | cdefg = "/c/d/e/f/g" function TestFolderPathCustomMappedLocations (line 702) | func TestFolderPathCustomMappedLocations(t *testing.T) { function TestReplaceMappedLocations (line 735) | func TestReplaceMappedLocations(t *testing.T) { function TestGetPwd (line 783) | func TestGetPwd(t *testing.T) { FILE: src/segments/path_windows_test.go constant fooBarMan (line 11) | fooBarMan = "\\foo\\bar\\man" FILE: src/segments/perl.go type Perl (line 3) | type Perl struct method Template (line 7) | func (p *Perl) Template() string { method Enabled (line 11) | func (p *Perl) Enabled() bool { FILE: src/segments/perl_test.go function TestPerl (line 10) | func TestPerl(t *testing.T) { FILE: src/segments/php.go type Php (line 3) | type Php struct method Template (line 7) | func (p *Php) Template() string { method Enabled (line 11) | func (p *Php) Enabled() bool { FILE: src/segments/php_test.go function TestPhp (line 10) | func TestPhp(t *testing.T) { FILE: src/segments/plastic.go type PlasticStatus (line 13) | type PlasticStatus struct method add (line 17) | func (s *PlasticStatus) add(code string) { type Plastic (line 30) | type Plastic struct method Init (line 39) | func (p *Plastic) Init(props options.Provider, env runtime.Environment) { method Template (line 44) | func (p *Plastic) Template() string { method Enabled (line 48) | func (p *Plastic) Enabled() bool { method CacheKey (line 71) | func (p *Plastic) CacheKey() (string, bool) { method setPlasticStatus (line 80) | func (p *Plastic) setPlasticStatus() { method parseFilesStatus (line 96) | func (p *Plastic) parseFilesStatus(output []string) { method parseStringPattern (line 117) | func (p *Plastic) parseStringPattern(output, pattern, name string) str... method parseIntPattern (line 125) | func (p *Plastic) parseIntPattern(output, pattern, name string, defVal... method parseStatusChangeset (line 134) | func (p *Plastic) parseStatusChangeset(status string) int { method getHeadChangeset (line 138) | func (p *Plastic) getHeadChangeset() int { method setSelector (line 143) | func (p *Plastic) setSelector() { method parseChangesetSelector (line 170) | func (p *Plastic) parseChangesetSelector(selector string) string { method parseLabelSelector (line 174) | func (p *Plastic) parseLabelSelector(selector string) string { method parseBranchSelector (line 178) | func (p *Plastic) parseBranchSelector(selector string) string { method getCmCommandOutput (line 182) | func (p *Plastic) getCmCommandOutput(args ...string) string { FILE: src/segments/plastic_test.go function TestPlasticEnabledNotFound (line 13) | func TestPlasticEnabledNotFound(t *testing.T) { function TestPlasticEnabledInWorkspaceDirectory (line 25) | func TestPlasticEnabledInWorkspaceDirectory(t *testing.T) { function setupCmStatusEnv (line 45) | func setupCmStatusEnv(status, headStatus string) *Plastic { function TestPlasticGetCmOutputForCommand (line 56) | func TestPlasticGetCmOutputForCommand(t *testing.T) { function TestPlasticStatusBehind (line 63) | func TestPlasticStatusBehind(t *testing.T) { function TestPlasticStatusChanged (line 91) | func TestPlasticStatusChanged(t *testing.T) { function TestPlasticStatusCounts (line 141) | func TestPlasticStatusCounts(t *testing.T) { function TestPlasticMergePending (line 158) | func TestPlasticMergePending(t *testing.T) { function TestPlasticParseIntPattern (line 182) | func TestPlasticParseIntPattern(t *testing.T) { function TestPlasticParseStatusChangeset (line 224) | func TestPlasticParseStatusChangeset(t *testing.T) { function TestPlasticGetHeadChangeset (line 230) | func TestPlasticGetHeadChangeset(t *testing.T) { function TestPlasticParseChangesetSelector (line 237) | func TestPlasticParseChangesetSelector(t *testing.T) { function TestPlasticParseLabelSelector (line 244) | func TestPlasticParseLabelSelector(t *testing.T) { function TestPlasticParseBranchSelector (line 251) | func TestPlasticParseBranchSelector(t *testing.T) { function TestPlasticParseSmartbranchSelector (line 258) | func TestPlasticParseSmartbranchSelector(t *testing.T) { function TestPlasticStatus (line 265) | func TestPlasticStatus(t *testing.T) { function TestPlasticTemplateString (line 282) | func TestPlasticTemplateString(t *testing.T) { FILE: src/segments/pnpm.go type Pnpm (line 3) | type Pnpm struct method Enabled (line 7) | func (n *Pnpm) Enabled() bool { method Template (line 22) | func (n *Pnpm) Template() string { FILE: src/segments/pnpm_test.go function TestPnpm (line 10) | func TestPnpm(t *testing.T) { FILE: src/segments/posh_git.go constant poshGitEnv (line 12) | poshGitEnv = "POSH_GIT_STATUS" type poshGit (line 15) | type poshGit struct type poshGitStatus (line 30) | type poshGitStatus struct method parsePoshGitStatus (line 37) | func (s *GitStatus) parsePoshGitStatus(p *poshGitStatus) { method hasPoshGitStatus (line 48) | func (g *Git) hasPoshGitStatus() bool { method parsePoshGitHEAD (line 84) | func (g *Git) parsePoshGitHEAD(head string) string { FILE: src/segments/posh_git_test.go function TestPoshGitSegment (line 15) | func TestPoshGitSegment(t *testing.T) { function TestParsePoshGitHEAD (line 221) | func TestParsePoshGitHEAD(t *testing.T) { FILE: src/segments/project.go type ProjectItem (line 20) | type ProjectItem struct type ProjectData (line 26) | type ProjectData struct type CargoTOML (line 34) | type CargoTOML struct type PyProjectTOML (line 39) | type PyProjectTOML struct type PyProjectToolTOML (line 44) | type PyProjectToolTOML struct type NuSpec (line 48) | type NuSpec struct type Project (line 56) | type Project struct method Enabled (line 64) | func (n *Project) Enabled() bool { method Template (line 150) | func (n *Project) Template() string { method hasProjectFile (line 154) | func (n *Project) hasProjectFile(p *ProjectItem) bool { method getNodePackage (line 158) | func (n *Project) getNodePackage(item ProjectItem) *ProjectData { method getDenoPackage (line 162) | func (n *Project) getDenoPackage(item ProjectItem) *ProjectData { method getJsrPackage (line 191) | func (n *Project) getJsrPackage(item ProjectItem) *ProjectData { method getCargoPackage (line 195) | func (n *Project) getCargoPackage(item ProjectItem) *ProjectData { method getPythonPackage (line 211) | func (n *Project) getPythonPackage(item ProjectItem) *ProjectData { method getDartPackage (line 233) | func (n *Project) getDartPackage(item ProjectItem) *ProjectData { method getNuSpecPackage (line 245) | func (n *Project) getNuSpecPackage(_ ProjectItem) *ProjectData { method getDotnetProject (line 269) | func (n *Project) getDotnetProject(item ProjectItem) *ProjectData { method getPowerShellModuleData (line 312) | func (n *Project) getPowerShellModuleData(_ ProjectItem) *ProjectData { method getProjectData (line 351) | func (n *Project) getProjectData(item ProjectItem) *ProjectData { method getJSONPackage (line 364) | func (n *Project) getJSONPackage(item ProjectItem, allowJSONC bool) *P... method firstExistingFile (line 379) | func (n *Project) firstExistingFile(files []string) string { method parseJSONPackage (line 390) | func (n *Project) parseJSONPackage(file string, allowJSONC bool) (*Pro... FILE: src/segments/project_test.go constant hasFiles (line 18) | hasFiles = "HasFiles" type MockDirEntry (line 21) | type MockDirEntry struct method Name (line 29) | func (m *MockDirEntry) Name() string { method IsDir (line 33) | func (m *MockDirEntry) IsDir() bool { method Type (line 37) | func (m *MockDirEntry) Type() fs.FileMode { method Info (line 41) | func (m *MockDirEntry) Info() (fs.FileInfo, error) { function TestPackage (line 45) | func TestPackage(t *testing.T) { function TestDenoProjectUsesJsrMetadata (line 453) | func TestDenoProjectUsesJsrMetadata(t *testing.T) { function TestNuspecPackage (line 470) | func TestNuspecPackage(t *testing.T) { function TestDotnetProject (line 535) | func TestDotnetProject(t *testing.T) { function TestPowerShellModuleProject (line 608) | func TestPowerShellModuleProject(t *testing.T) { FILE: src/segments/pulumi.go constant FetchStack (line 18) | FetchStack options.Option = "fetch_stack" constant FetchAbout (line 19) | FetchAbout options.Option = "fetch_about" constant JSON (line 21) | JSON string = "json" constant YAML (line 22) | YAML string = "yaml" constant pulumiJSON (line 24) | pulumiJSON string = "Pulumi.json" constant pulumiYAML (line 25) | pulumiYAML string = "Pulumi.yaml" type Pulumi (line 28) | type Pulumi struct method Template (line 52) | func (p *Pulumi) Template() string { method Enabled (line 56) | func (p *Pulumi) Enabled() bool { method getPulumiStackName (line 78) | func (p *Pulumi) getPulumiStackName() { method getProjectName (line 107) | func (p *Pulumi) getProjectName() error { method sha1HexString (line 146) | func (p *Pulumi) sha1HexString(s string) string { method getPulumiAbout (line 158) | func (p *Pulumi) getPulumiAbout() { type Backend (line 39) | type Backend struct type pulumiFileSpec (line 44) | type pulumiFileSpec struct type pulumiWorkSpaceFileSpec (line 48) | type pulumiWorkSpaceFileSpec struct FILE: src/segments/pulumi_test.go function TestPulumi (line 15) | func TestPulumi(t *testing.T) { FILE: src/segments/python.go type Python (line 15) | type Python struct method Template (line 28) | func (p *Python) Template() string { method Enabled (line 32) | func (p *Python) Enabled() bool { method loadContext (line 75) | func (p *Python) loadContext() { method inContext (line 118) | func (p *Python) inContext() bool { method canUseVenvName (line 122) | func (p *Python) canUseVenvName(name string) bool { method pyenvVersion (line 138) | func (p *Python) pyenvVersion() (string, error) { method pyvenvCfgPrompt (line 188) | func (p *Python) pyvenvCfgPrompt() string { constant FetchVirtualEnv (line 22) | FetchVirtualEnv options.Option = "fetch_virtual_env" constant UsePythonVersionFile (line 23) | UsePythonVersionFile options.Option = "use_python_version_file" constant FolderNameFallback (line 24) | FolderNameFallback options.Option = "folder_name_fallback" constant DefaultVenvNames (line 25) | DefaultVenvNames options.Option = "default_venv_names" FILE: src/segments/python_test.go function TestPythonTemplate (line 18) | func TestPythonTemplate(t *testing.T) { function TestPythonPythonInContext (line 126) | func TestPythonPythonInContext(t *testing.T) { function TestPythonVirtualEnvIgnoreDefaultVenvNames (line 153) | func TestPythonVirtualEnvIgnoreDefaultVenvNames(t *testing.T) { function TestPythonVirtualEnvIgnoreCustomVenvNames (line 204) | func TestPythonVirtualEnvIgnoreCustomVenvNames(t *testing.T) { function TestPythonUVTooling (line 249) | func TestPythonUVTooling(t *testing.T) { FILE: src/segments/quasar.go constant FetchDependencies (line 11) | FetchDependencies options.Option = "fetch_dependencies" type Package (line 14) | type Package struct type Quasar (line 19) | type Quasar struct method Enabled (line 26) | func (q *Quasar) Enabled() bool { method Template (line 49) | func (q *Quasar) Template() string { method fetchDependencies (line 53) | func (q *Quasar) fetchDependencies() { FILE: src/segments/quasar_test.go function TestQuasar (line 12) | func TestQuasar(t *testing.T) { FILE: src/segments/r.go type R (line 3) | type R struct method Template (line 7) | func (r *R) Template() string { method Enabled (line 11) | func (r *R) Enabled() bool { FILE: src/segments/r_test.go function TestR (line 10) | func TestR(t *testing.T) { FILE: src/segments/ramadan.go type Ramadan (line 20) | type Ramadan struct method Template (line 78) | func (r *Ramadan) Template() string { method Enabled (line 82) | func (r *Ramadan) Enabled() bool { method setData (line 94) | func (r *Ramadan) setData() error { method computeNextEvent (line 171) | func (r *Ramadan) computeNextEvent(now, fajrTime, iftarTime, tomorrowF... method fetchFajrTime (line 192) | func (r *Ramadan) fetchFajrTime(date time.Time) (time.Time, error) { method buildURL (line 217) | func (r *Ramadan) buildURL(date string) (string, error) { method resolveRamadanDay (line 250) | func (r *Ramadan) resolveRamadanDay(now time.Time, data ramadanData, f... constant RamadanLatitude (line 33) | RamadanLatitude options.Option = "latitude" constant RamadanLongitude (line 35) | RamadanLongitude options.Option = "longitude" constant RamadanCity (line 37) | RamadanCity options.Option = "city" constant RamadanCountry (line 39) | RamadanCountry options.Option = "country" constant RamadanMethod (line 41) | RamadanMethod options.Option = "method" constant RamadanSchool (line 43) | RamadanSchool options.Option = "school" constant RamadanHideOutside (line 45) | RamadanHideOutside options.Option = "hide_outside_ramadan" constant RamadanFirstRozaDate (line 47) | RamadanFirstRozaDate options.Option = "first_roza_date" type ramadanTimings (line 50) | type ramadanTimings struct type ramadanHijriMonth (line 56) | type ramadanHijriMonth struct type ramadanHijriDate (line 60) | type ramadanHijriDate struct type ramadanDate (line 65) | type ramadanDate struct type ramadanData (line 69) | type ramadanData struct type ramadanResponse (line 74) | type ramadanResponse struct function parseEventTime (line 283) | func parseEventTime(now time.Time, hhmm string) (time.Time, error) { function formatDuration (line 299) | func formatDuration(d time.Duration) string { FILE: src/segments/ramadan_test.go constant ramadanTestResponse (line 14) | ramadanTestResponse = `{ constant ramadanNonRamadanResponse (line 32) | ramadanNonRamadanResponse = `{ function TestRamadanSegment (line 50) | func TestRamadanSegment(t *testing.T) { function TestComputeNextEvent (line 175) | func TestComputeNextEvent(t *testing.T) { function TestFormatDuration (line 203) | func TestFormatDuration(t *testing.T) { function TestParseEventTime (line 221) | func TestParseEventTime(t *testing.T) { function TestResolveRamadanDay (line 244) | func TestResolveRamadanDay(t *testing.T) { function TestRamadanComputeNextEvent (line 285) | func TestRamadanComputeNextEvent(t *testing.T) { FILE: src/segments/react.go type React (line 3) | type React struct method Template (line 7) | func (r *React) Template() string { method Enabled (line 11) | func (r *React) Enabled() bool { method getVersion (line 29) | func (r *React) getVersion() (string, error) { FILE: src/segments/root.go type Root (line 3) | type Root struct method Template (line 7) | func (rt *Root) Template() string { method Enabled (line 11) | func (rt *Root) Enabled() bool { FILE: src/segments/ruby.go type Ruby (line 3) | type Ruby struct method Template (line 7) | func (r *Ruby) Template() string { method Enabled (line 11) | func (r *Ruby) Enabled() bool { FILE: src/segments/ruby_test.go function TestRuby (line 11) | func TestRuby(t *testing.T) { FILE: src/segments/rust.go type Rust (line 3) | type Rust struct method Template (line 7) | func (r *Rust) Template() string { method Enabled (line 11) | func (r *Rust) Enabled() bool { FILE: src/segments/rust_test.go function TestRust (line 10) | func TestRust(t *testing.T) { FILE: src/segments/sapling.go type SaplingStatus (line 11) | type SaplingStatus struct method add (line 15) | func (s *SaplingStatus) add(code string) { constant SAPLINGCOMMAND (line 43) | SAPLINGCOMMAND = "sl" constant SLCOMMITTEMPLATE (line 44) | SLCOMMITTEMPLATE = "no:{node}\nns:{sl_node}\nnd:{sl_date}\nun:{sl_user}\... type Sapling (line 47) | type Sapling struct method Template (line 59) | func (sl *Sapling) Template() string { method Enabled (line 63) | func (sl *Sapling) Enabled() bool { method shouldDisplay (line 73) | func (sl *Sapling) shouldDisplay() bool { method CacheKey (line 95) | func (sl *Sapling) CacheKey() (string, bool) { method setDir (line 104) | func (sl *Sapling) setDir(dir string) { method setHeadContext (line 115) | func (sl *Sapling) setHeadContext() { method setCommitContext (line 141) | func (sl *Sapling) setCommitContext() { method getSaplingCommandOutput (line 172) | func (sl *Sapling) getSaplingCommandOutput(command string, args ...str... FILE: src/segments/sapling_test.go function TestSetDir (line 13) | func TestSetDir(t *testing.T) { function TestSetCommitContext (line 50) | func TestSetCommitContext(t *testing.T) { function TestShouldDisplay (line 110) | func TestShouldDisplay(t *testing.T) { function TestSetHeadContext (line 162) | func TestSetHeadContext(t *testing.T) { FILE: src/segments/scm.go constant NativeFallback (line 18) | NativeFallback options.Option = "native_fallback" constant StatusFormats (line 20) | StatusFormats options.Option = "status_formats" type ScmStatus (line 24) | type ScmStatus struct method Changed (line 38) | func (s *ScmStatus) Changed() bool { method String (line 51) | func (s *ScmStatus) String() string { type Scm (line 86) | type Scm struct method RelativeDir (line 106) | func (s *Scm) RelativeDir() string { method formatBranch (line 127) | func (s *Scm) formatBranch(branch string) string { method fileContent (line 174) | func (s *Scm) fileContent(folder, file string) string { method convertToWindowsPath (line 178) | func (s *Scm) convertToWindowsPath(path string) string { method convertToLinuxPath (line 187) | func (s *Scm) convertToLinuxPath(path string) string { method hasCommand (line 195) | func (s *Scm) hasCommand(command string) bool { constant BranchTemplate (line 103) | BranchTemplate options.Option = "branch_template" FILE: src/segments/scm_test.go function TestScmStatusChanged (line 16) | func TestScmStatusChanged(t *testing.T) { function TestScmStatusString (line 69) | func TestScmStatusString(t *testing.T) { function TestHasCommand (line 111) | func TestHasCommand(t *testing.T) { function TestFormatBranch (line 149) | func TestFormatBranch(t *testing.T) { FILE: src/segments/session.go type Session (line 8) | type Session struct method Enabled (line 14) | func (s *Session) Enabled() bool { method Template (line 19) | func (s *Session) Template() string { method activeSSHSession (line 23) | func (s *Session) activeSSHSession() bool { FILE: src/segments/session_test.go function TestSessionSegmentTemplate (line 16) | func TestSessionSegmentTemplate(t *testing.T) { FILE: src/segments/shell.go type Shell (line 9) | type Shell struct method Template (line 21) | func (s *Shell) Template() string { method Enabled (line 25) | func (s *Shell) Enabled() bool { constant MappedShellNames (line 18) | MappedShellNames options.Option = "mapped_shell_names" FILE: src/segments/shell_test.go function TestWriteCurrentShell (line 13) | func TestWriteCurrentShell(t *testing.T) { function TestUseMappedShellNames (line 26) | func TestUseMappedShellNames(t *testing.T) { FILE: src/segments/sitecore.go constant sitecoreFileName (line 12) | sitecoreFileName = "sitecore.json" constant sitecoreFolderName (line 13) | sitecoreFolderName = ".sitecore" constant userFileName (line 14) | userFileName = "user.json" constant defaultEndpointName (line 15) | defaultEndpointName = "default" type Sitecore (line 18) | type Sitecore struct method Enabled (line 34) | func (s *Sitecore) Enabled() bool { method Template (line 63) | func (s *Sitecore) Template() string { type EndpointConfig (line 25) | type EndpointConfig struct type UserConfig (line 29) | type UserConfig struct method getDefaultEndpoint (line 78) | func (u *UserConfig) getDefaultEndpoint() string { method getEndpoint (line 86) | func (u *UserConfig) getEndpoint(name string) *EndpointConfig { function getUserConfig (line 67) | func getUserConfig(s *Sitecore) (*UserConfig, error) { FILE: src/segments/sitecore_test.go function TestSitecoreSegment (line 13) | func TestSitecoreSegment(t *testing.T) { FILE: src/segments/spotify.go type Spotify (line 5) | type Spotify struct method Template (line 33) | func (s *Spotify) Template() string { method resolveIcon (line 37) | func (s *Spotify) resolveIcon() { type MusicPlayer (line 11) | type MusicPlayer struct constant PlayingIcon (line 20) | PlayingIcon options.Option = "playing_icon" constant PausedIcon (line 22) | PausedIcon options.Option = "paused_icon" constant StoppedIcon (line 24) | StoppedIcon options.Option = "stopped_icon" constant AdIcon (line 26) | AdIcon options.Option = "ad_icon" constant playing (line 28) | playing = "playing" constant stopped (line 29) | stopped = "stopped" constant paused (line 30) | paused = "paused" FILE: src/segments/spotify_darwin.go method Enabled (line 7) | func (s *Spotify) Enabled() bool { method runAppleScriptCommand (line 55) | func (s *Spotify) runAppleScriptCommand(command string) string { FILE: src/segments/spotify_darwin_test.go function TestSpotifyDarwinEnabledAndSpotifyPlaying (line 15) | func TestSpotifyDarwinEnabledAndSpotifyPlaying(t *testing.T) { FILE: src/segments/spotify_linux.go method Enabled (line 11) | func (s *Spotify) Enabled() bool { method runLinuxScriptCommand (line 42) | func (s *Spotify) runLinuxScriptCommand(command string) string { method enabledWsl (line 48) | func (s *Spotify) enabledWsl() bool { FILE: src/segments/spotify_linux_test.go function TestSpotifyLinux (line 16) | func TestSpotifyLinux(t *testing.T) { function TestSpotifyWSL (line 51) | func TestSpotifyWSL(t *testing.T) { FILE: src/segments/spotify_noop.go method Enabled (line 5) | func (s *Spotify) Enabled() bool { FILE: src/segments/spotify_test.go function TestSpotifyStringPlayingSong (line 12) | func TestSpotifyStringPlayingSong(t *testing.T) { function TestSpotifyStringStoppedSong (line 29) | func TestSpotifyStringStoppedSong(t *testing.T) { FILE: src/segments/spotify_windows.go method Enabled (line 9) | func (s *Spotify) Enabled() bool { method parseNativeTitle (line 23) | func (s *Spotify) parseNativeTitle(windowTitle string) bool { method parseWebTitle (line 39) | func (s *Spotify) parseWebTitle(windowTitle string) bool { FILE: src/segments/spotify_windows_test.go function TestSpotifyWindowsNative (line 15) | func TestSpotifyWindowsNative(t *testing.T) { function TestSpotifyWindowsPWA (line 56) | func TestSpotifyWindowsPWA(t *testing.T) { FILE: src/segments/status.go constant StatusTemplate (line 13) | StatusTemplate options.Option = "status_template" constant StatusSeparator (line 14) | StatusSeparator options.Option = "status_separator" type Status (line 17) | type Status struct method Template (line 25) | func (s *Status) Template() string { method Enabled (line 29) | func (s *Status) Enabled() bool { method formatStatus (line 43) | func (s *Status) formatStatus(status int, pipeStatus string) string { FILE: src/segments/status_test.go function TestStatusWriterEnabled (line 15) | func TestStatusWriterEnabled(t *testing.T) { function TestFormatStatus (line 51) | func TestFormatStatus(t *testing.T) { FILE: src/segments/strava.go type StravaAPI (line 13) | type StravaAPI interface type stravaAPI (line 17) | type stravaAPI struct method GetActivities (line 21) | func (s *stravaAPI) GetActivities() ([]*StravaData, error) { type Strava (line 27) | type Strava struct method Template (line 69) | func (s *Strava) Template() string { method Enabled (line 73) | func (s *Strava) Enabled() bool { method initAPI (line 96) | func (s *Strava) initAPI() { method getHours (line 118) | func (s *Strava) getHours() int { method getAgo (line 123) | func (s *Strava) getAgo() string { method getActivityIcon (line 131) | func (s *Strava) getActivityIcon() string { constant RideIcon (line 41) | RideIcon options.Option = "ride_icon" constant RunIcon (line 42) | RunIcon options.Option = "run_icon" constant SkiingIcon (line 43) | SkiingIcon options.Option = "skiing_icon" constant WorkOutIcon (line 44) | WorkOutIcon options.Option = "workout_icon" constant UnknownActivityIcon (line 45) | UnknownActivityIcon options.Option = "unknown_activity_icon" constant StravaAccessTokenKey (line 47) | StravaAccessTokenKey = "strava_access_token" constant StravaRefreshTokenKey (line 48) | StravaRefreshTokenKey = "strava_refresh_token" constant noActivitiesFound (line 50) | noActivitiesFound = "No activities found" type StravaData (line 54) | type StravaData struct FILE: src/segments/strava_test.go type mockedStravaAPI (line 16) | type mockedStravaAPI struct method GetActivities (line 20) | func (s *mockedStravaAPI) GetActivities() ([]*StravaData, error) { function TestStravaSegment (line 25) | func TestStravaSegment(t *testing.T) { FILE: src/segments/svelte.go type Svelte (line 3) | type Svelte struct method Template (line 7) | func (s *Svelte) Template() string { method Enabled (line 11) | func (s *Svelte) Enabled() bool { method getVersion (line 25) | func (s *Svelte) getVersion() (string, error) { FILE: src/segments/svn.go type SvnStatus (line 12) | type SvnStatus struct method add (line 16) | func (s *SvnStatus) add(code string) { method HasConflicts (line 33) | func (s *SvnStatus) HasConflicts() bool { constant SVNCOMMAND (line 38) | SVNCOMMAND = "svn" type Svn (line 41) | type Svn struct method Template (line 48) | func (s *Svn) Template() string { method Enabled (line 52) | func (s *Svn) Enabled() bool { method CacheKey (line 62) | func (s *Svn) CacheKey() (string, bool) { method shouldDisplay (line 71) | func (s *Svn) shouldDisplay() bool { method setSvnStatus (line 101) | func (s *Svn) setSvnStatus() { method Repo (line 131) | func (s *Svn) Repo() string { method getSvnCommandOutput (line 143) | func (s *Svn) getSvnCommandOutput(command string, args ...string) stri... FILE: src/segments/svn_test.go function TestSvnEnabledToolNotFound (line 13) | func TestSvnEnabledToolNotFound(t *testing.T) { function TestSvnEnabledInWorkingDirectory (line 26) | func TestSvnEnabledInWorkingDirectory(t *testing.T) { function TestSvnTemplateString (line 51) | func TestSvnTemplateString(t *testing.T) { function TestSetSvnStatus (line 163) | func TestSetSvnStatus(t *testing.T) { function TestRepo (line 264) | func TestRepo(t *testing.T) { FILE: src/segments/swift.go type Swift (line 3) | type Swift struct method Template (line 7) | func (s *Swift) Template() string { method Enabled (line 11) | func (s *Swift) Enabled() bool { FILE: src/segments/swift_test.go function TestSwift (line 10) | func TestSwift(t *testing.T) { FILE: src/segments/sysinfo.go type SystemInfo (line 8) | type SystemInfo struct method Template (line 20) | func (s *SystemInfo) Template() string { method Enabled (line 24) | func (s *SystemInfo) Enabled() bool { constant Precision (line 17) | Precision options.Option = "precision" FILE: src/segments/sysinfo_test.go function TestSysInfo (line 14) | func TestSysInfo(t *testing.T) { FILE: src/segments/talosctl.go type TalosCTL (line 11) | type TalosCTL struct method Template (line 17) | func (t *TalosCTL) Template() string { method Enabled (line 21) | func (t *TalosCTL) Enabled() bool { method getActiveConfig (line 42) | func (t *TalosCTL) getActiveConfig(cfgDir string) (string, error) { FILE: src/segments/talosctl_test.go function TestTalosctlSegment (line 12) | func TestTalosctlSegment(t *testing.T) { function TestGetTalosctlActiveConfig (line 58) | func TestGetTalosctlActiveConfig(t *testing.T) { FILE: src/segments/taskwarrior.go constant TaskwarriorCommand (line 15) | TaskwarriorCommand options.Option = "command" constant TaskwarriorCommands (line 16) | TaskwarriorCommands options.Option = "commands" type Taskwarrior (line 23) | type Taskwarrior struct method Template (line 31) | func (t *Taskwarrior) Template() string { method Enabled (line 35) | func (t *Taskwarrior) Enabled() bool { method runCommand (line 61) | func (t *Taskwarrior) runCommand(cmd, args string) string { FILE: src/segments/taskwarrior_test.go function TestTaskwarrior (line 14) | func TestTaskwarrior(t *testing.T) { function splitTaskArgs (line 182) | func splitTaskArgs(s string) []string { FILE: src/segments/tauri.go type Tauri (line 7) | type Tauri struct method Template (line 11) | func (t *Tauri) Template() string { method Enabled (line 15) | func (t *Tauri) Enabled() bool { method getVersion (line 30) | func (t *Tauri) getVersion() (string, error) { FILE: src/segments/terraform.go constant Command (line 15) | Command options.Option = "command" type Terraform (line 18) | type Terraform struct method Template (line 25) | func (tf *Terraform) Template() string { method Enabled (line 37) | func (tf *Terraform) Enabled() bool { method inContext (line 58) | func (tf *Terraform) inContext(fetchVersion bool) bool { method setVersionFromTfFiles (line 78) | func (tf *Terraform) setVersionFromTfFiles() error { method setVersionFromTfStateFile (line 104) | func (tf *Terraform) setVersionFromTfStateFile() { type TerraFormConfig (line 29) | type TerraFormConfig struct type TerraformBlock (line 33) | type TerraformBlock struct FILE: src/segments/terraform_test.go function TestTerraform (line 13) | func TestTerraform(t *testing.T) { FILE: src/segments/text.go type Text (line 3) | type Text struct method Template (line 7) | func (t *Text) Template() string { method Enabled (line 11) | func (t *Text) Enabled() bool { FILE: src/segments/text_test.go function TestTextSegment (line 14) | func TestTextSegment(t *testing.T) { FILE: src/segments/time.go type Time (line 9) | type Time struct method Template (line 21) | func (t *Time) Template() string { method Enabled (line 25) | func (t *Time) Enabled() bool { method getTimeFormat (line 61) | func (t *Time) getTimeFormat(format string) string { constant TimeFormat (line 18) | TimeFormat options.Option = "time_format" FILE: src/segments/time_test.go function TestTimeSegmentTemplate (line 14) | func TestTimeSegmentTemplate(t *testing.T) { FILE: src/segments/todoist.go type Todoist (line 11) | type Todoist struct method Enabled (line 25) | func (t *Todoist) Enabled() bool { method Template (line 34) | func (t *Todoist) Template() string { method GetData (line 38) | func (t *Todoist) GetData() error { type TasksResponse (line 17) | type TasksResponse struct type Task (line 21) | type Task struct FILE: src/segments/todoist_test.go constant TodoistTestURL (line 13) | TodoistTestURL = "https://api.todoist.com/api/v1/tasks/filter?query=due ... function TestTodoistSegment (line 15) | func TestTodoistSegment(t *testing.T) { function TestTodoistTemplate (line 84) | func TestTodoistTemplate(t *testing.T) { function TestTodoistTemplateRendering (line 89) | func TestTodoistTemplateRendering(t *testing.T) { FILE: src/segments/ui5tooling.go constant UI5ToolingYamlPattern (line 3) | UI5ToolingYamlPattern = "*ui5*.y*ml" type UI5Tooling (line 5) | type UI5Tooling struct method Template (line 10) | func (u *UI5Tooling) Template() string { method Enabled (line 14) | func (u *UI5Tooling) Enabled() bool { method loadContext (line 32) | func (u *UI5Tooling) loadContext() { method inContext (line 37) | func (u *UI5Tooling) inContext() bool { FILE: src/segments/ui5tooling_test.go constant WorkingDirRoot (line 16) | WorkingDirRoot = "/home/user/dev/my-app" type testCase (line 19) | type testCase struct function TestUI5Tooling (line 29) | func TestUI5Tooling(t *testing.T) { function mockFilePresence (line 106) | func mockFilePresence(tc *testCase, env *mock.Environment) error { FILE: src/segments/umbraco.go type Umbraco (line 11) | type Umbraco struct method Enabled (line 32) | func (u *Umbraco) Enabled() bool { method Template (line 83) | func (u *Umbraco) Template() string { method TryFindModernUmbraco (line 87) | func (u *Umbraco) TryFindModernUmbraco(configPath string) bool { method TryFindLegacyUmbraco (line 123) | func (u *Umbraco) TryFindLegacyUmbraco(configPath string) bool { type CSProj (line 18) | type CSProj struct type WebConfig (line 25) | type WebConfig struct FILE: src/segments/umbraco_test.go function TestUmbracoSegment (line 17) | func TestUmbracoSegment(t *testing.T) { FILE: src/segments/unity.go type Unity (line 14) | type Unity struct method Template (line 21) | func (u *Unity) Template() string { method Enabled (line 25) | func (u *Unity) Enabled() bool { method GetUnityVersion (line 45) | func (u *Unity) GetUnityVersion() (string, error) { method GetCSharpVersion (line 81) | func (u *Unity) GetCSharpVersion() (version string, err error) { method GetCSharpVersionFromWeb (line 122) | func (u *Unity) GetCSharpVersionFromWeb(shortUnityVersion string) (ver... FILE: src/segments/unity_test.go type HTTPResponse (line 15) | type HTTPResponse struct function TestUnitySegment (line 20) | func TestUnitySegment(t *testing.T) { function TestUnitySegmentCSharpWebRequest (line 100) | func TestUnitySegmentCSharpWebRequest(t *testing.T) { FILE: src/segments/upgrade.go type UpgradeCache (line 12) | type UpgradeCache struct type Upgrade (line 17) | type Upgrade struct method Template (line 30) | func (u *Upgrade) Template() string { method Enabled (line 34) | func (u *Upgrade) Enabled() bool { method upgradeCache (line 50) | func (u *Upgrade) upgradeCache() (*UpgradeCache, error) { method checkUpdate (line 59) | func (u *Upgrade) checkUpdate(current string) (*UpgradeCache, error) { constant UPGRADECACHEKEY (line 27) | UPGRADECACHEKEY = "upgrade_segment" FILE: src/segments/upgrade_test.go function TestUpgrade (line 15) | func TestUpgrade(t *testing.T) { FILE: src/segments/v.go type V (line 3) | type V struct method Template (line 7) | func (v *V) Template() string { method Enabled (line 11) | func (v *V) Enabled() bool { FILE: src/segments/v_test.go function TestV (line 10) | func TestV(t *testing.T) { FILE: src/segments/vala.go type Vala (line 3) | type Vala struct method Template (line 7) | func (v *Vala) Template() string { method Enabled (line 11) | func (v *Vala) Enabled() bool { FILE: src/segments/vala_test.go function TestVala (line 10) | func TestVala(t *testing.T) { FILE: src/segments/wakatime.go type Wakatime (line 9) | type Wakatime struct method Template (line 26) | func (w *Wakatime) Template() string { method Enabled (line 30) | func (w *Wakatime) Enabled() bool { method setAPIData (line 35) | func (w *Wakatime) setAPIData() error { type wtTotals (line 15) | type wtTotals struct type WtData (line 20) | type WtData struct FILE: src/segments/wakatime_test.go function TestWTTrackedTime (line 14) | func TestWTTrackedTime(t *testing.T) { FILE: src/segments/winget.go type WinGet (line 10) | type WinGet struct method Template (line 24) | func (w *WinGet) Template() string { method Enabled (line 28) | func (w *WinGet) Enabled() bool { method parseWinGetOutput (line 48) | func (w *WinGet) parseWinGetOutput(output string) []WinGetPackage { type WinGetPackage (line 17) | type WinGetPackage struct function findColumnIndices (line 128) | func findColumnIndices(headerLine string) []int { function extractField (line 157) | func extractField(line string, startIndex, endIndex int) string { FILE: src/segments/winget_test.go function TestWinGet (line 13) | func TestWinGet(t *testing.T) { function TestWinGetParseOutput (line 113) | func TestWinGetParseOutput(t *testing.T) { FILE: src/segments/winreg.go type WindowsRegistry (line 8) | type WindowsRegistry struct method Template (line 21) | func (wr *WindowsRegistry) Template() string { method Enabled (line 25) | func (wr *WindowsRegistry) Enabled() bool { constant RegistryPath (line 16) | RegistryPath options.Option = "path" constant Fallback (line 18) | Fallback options.Option = "fallback" FILE: src/segments/winreg_test.go function TestWinReg (line 14) | func TestWinReg(t *testing.T) { FILE: src/segments/withings.go type WithingsData (line 19) | type WithingsData struct type Body (line 24) | type Body struct type MeasureGroup (line 30) | type MeasureGroup struct type Measure (line 35) | type Measure struct type Series (line 41) | type Series struct type Activity (line 46) | type Activity struct type WithingsAPI (line 72) | type WithingsAPI interface type withingsAPI (line 78) | type withingsAPI struct method GetMeasures (line 82) | func (w *withingsAPI) GetMeasures(meastypes string) (*WithingsData, er... method GetActivities (line 93) | func (w *withingsAPI) GetActivities(activities string) (*WithingsData,... method GetSleep (line 106) | func (w *withingsAPI) GetSleep() (*WithingsData, error) { method getWithingsData (line 121) | func (w *withingsAPI) getWithingsData(endpoint string, formData url.Va... type Withings (line 137) | type Withings struct method Template (line 151) | func (w *Withings) Template() string { method Enabled (line 155) | func (w *Withings) Enabled() bool { method initAPI (line 171) | func (w *Withings) initAPI() { method getMeasures (line 193) | func (w *Withings) getMeasures() bool { method getActivities (line 208) | func (w *Withings) getActivities() bool { method getSleep (line 224) | func (w *Withings) getSleep() bool { constant WithingsAccessTokenKey (line 147) | WithingsAccessTokenKey = "withings_access_token" constant WithingsRefreshTokenKey (line 148) | WithingsRefreshTokenKey = "withings_refresh_token" FILE: src/segments/withings_test.go type mockedWithingsAPI (line 15) | type mockedWithingsAPI struct method GetMeasures (line 19) | func (s *mockedWithingsAPI) GetMeasures(meastypes string) (*WithingsDa... method GetActivities (line 24) | func (s *mockedWithingsAPI) GetActivities(activities string) (*Withing... method GetSleep (line 29) | func (s *mockedWithingsAPI) GetSleep() (*WithingsData, error) { function TestWithingsSegment (line 34) | func TestWithingsSegment(t *testing.T) { FILE: src/segments/xmake.go type XMake (line 3) | type XMake struct method Template (line 7) | func (x *XMake) Template() string { method Enabled (line 11) | func (x *XMake) Enabled() bool { FILE: src/segments/xmake_test.go function TestXMake (line 10) | func TestXMake(t *testing.T) { FILE: src/segments/yarn.go type Yarn (line 3) | type Yarn struct method Template (line 7) | func (n *Yarn) Template() string { method Enabled (line 11) | func (n *Yarn) Enabled() bool { FILE: src/segments/yarn_test.go function TestYarn (line 10) | func TestYarn(t *testing.T) { FILE: src/segments/ytm.go constant ytmdaStatusURL (line 15) | ytmdaStatusURL = auth.YTMDABASEURL + "/state" type Ytm (line 18) | type Ytm struct method Template (line 24) | func (y *Ytm) Template() string { method Enabled (line 28) | func (y *Ytm) Enabled() bool { method setStatus (line 48) | func (y *Ytm) setStatus() error { method requestStatus (line 82) | func (y *Ytm) requestStatus(token string) (*ytmdaStatusResponse, error) { type ytmdaStatusResponse (line 37) | type ytmdaStatusResponse struct FILE: src/segments/ytm_test.go function TestYTM (line 14) | func TestYTM(t *testing.T) { FILE: src/segments/zig.go type Zig (line 3) | type Zig struct method Template (line 7) | func (zig *Zig) Template() string { method Enabled (line 11) | func (zig *Zig) Enabled() bool { method InProjectDir (line 28) | func (zig *Zig) InProjectDir() bool { FILE: src/segments/zig_test.go function TestZig (line 11) | func TestZig(t *testing.T) { FILE: src/shell/bash.go method Bash (line 12) | func (f Features) Bash() Code { function QuotePosixStr (line 59) | func QuotePosixStr(str string) string { FILE: src/shell/bash_test.go function TestBashFeatures (line 10) | func TestBashFeatures(t *testing.T) { function TestBashFeaturesWithBLE (line 22) | func TestBashFeaturesWithBLE(t *testing.T) { function TestQuotePosixStr (line 58) | func TestQuotePosixStr(t *testing.T) { FILE: src/shell/cmd.go method Cmd (line 11) | func (f Features) Cmd() Code { function escapeLuaStr (line 32) | func escapeLuaStr(str string) string { FILE: src/shell/cmd_test.go function TestCmdFeatures (line 10) | func TestCmdFeatures(t *testing.T) { function TestEscapeLuaStr (line 24) | func TestEscapeLuaStr(t *testing.T) { FILE: src/shell/code.go type Code (line 9) | type Code method Indent (line 18) | func (c Code) Indent(spaces int) Code { constant unixFTCSMarks (line 12) | unixFTCSMarks Code = "_omp_ftcs_marks=1" constant unixCursorPositioning (line 13) | unixCursorPositioning Code = "_omp_cursor_positioning=1" constant unixUpgrade (line 14) | unixUpgrade Code = `"$_omp_executable" upgrade --auto` constant unixNotice (line 15) | unixNotice Code = `"$_omp_executable" notice` type Lines (line 22) | type Lines method String (line 24) | func (l Lines) String(script string) string { FILE: src/shell/constants.go constant ZSH (line 4) | ZSH = "zsh" constant BASH (line 5) | BASH = "bash" constant PWSH (line 6) | PWSH = "pwsh" constant FISH (line 7) | FISH = "fish" constant CMD (line 8) | CMD = "cmd" constant NU (line 9) | NU = "nu" constant GENERIC (line 10) | GENERIC = "shell" constant ELVISH (line 11) | ELVISH = "elvish" constant XONSH (line 12) | XONSH = "xonsh" constant CLAUDE (line 13) | CLAUDE = "claude" FILE: src/shell/dsc.go function init (line 17) | func init() { constant initCommandRegex (line 22) | initCommandRegex = `oh-my-posh(?:\.exe)?\s+init` function DSC (line 25) | func DSC() *dsc.Resource[*Shell] { type Shell (line 29) | type Shell struct method Equal (line 34) | func (s *Shell) Equal(shell *Shell) bool { method Resolve (line 42) | func (s *Shell) Resolve() (*Shell, bool) { method Apply (line 46) | func (s *Shell) Apply() error { method getShellConfigPath (line 79) | func (s *Shell) getShellConfigPath() (string, error) { method validateShellConfigPath (line 111) | func (s *Shell) validateShellConfigPath(configPath string) error { method updateShellConfig (line 138) | func (s *Shell) updateShellConfig(content string) (string, bool) { method addInitLine (line 164) | func (s *Shell) addInitLine(content string) string { method getLastInitLinePosition (line 176) | func (s *Shell) getLastInitLinePosition(lines []string) int { method shellCommand (line 187) | func (s *Shell) shellCommand() string { function whitespacePrefix (line 204) | func whitespacePrefix(s string) string { FILE: src/shell/dsc_test.go function TestWhitespacePrefix (line 9) | func TestWhitespacePrefix(t *testing.T) { function TestUpdateShellConfig (line 120) | func TestUpdateShellConfig(t *testing.T) { function TestGetInitLinePosition (line 279) | func TestGetInitLinePosition(t *testing.T) { function TestShellCommand (line 362) | func TestShellCommand(t *testing.T) { function TestAddInitLine (line 442) | func TestAddInitLine(t *testing.T) { FILE: src/shell/elvish.go method Elvish (line 10) | func (f Features) Elvish() Code { FILE: src/shell/elvish_test.go function TestElvishFeatures (line 9) | func TestElvishFeatures(t *testing.T) { FILE: src/shell/features.go type Features (line 5) | type Features method Lines (line 47) | func (f Features) Lines(shell string) Lines { method String (line 88) | func (f Features) String() string { constant Jobs (line 8) | Jobs Features = 1 << iota constant Azure (line 9) | Azure constant PoshGit (line 10) | PoshGit constant LineError (line 11) | LineError constant Tooltips (line 12) | Tooltips constant Transient (line 13) | Transient constant FTCSMarks (line 14) | FTCSMarks constant Upgrade (line 15) | Upgrade constant Notice (line 16) | Notice constant PromptMark (line 17) | PromptMark constant RPrompt (line 18) | RPrompt constant CursorPositioning (line 19) | CursorPositioning constant Async (line 20) | Async constant Streaming (line 21) | Streaming constant KeyHandlers (line 22) | KeyHandlers function getAllFeatures (line 26) | func getAllFeatures() []Features { FILE: src/shell/filesystem.go function hasScript (line 18) | func hasScript(env runtime.Environment) (string, bool) { function writeScript (line 46) | func writeScript(env runtime.Environment, script string) (string, error) { function cacheKey (line 64) | func cacheKey(sh string) string { function cacheValue (line 68) | func cacheValue(env runtime.Environment) string { function InitScriptName (line 72) | func InitScriptName(flags *runtime.Flags) string { function scriptPath (line 98) | func scriptPath(env runtime.Environment) (string, error) { FILE: src/shell/fish.go method Fish (line 12) | func (f Features) Fish() Code { function quoteFishStr (line 35) | func quoteFishStr(str string) string { FILE: src/shell/fish_test.go function TestFishFeatures (line 10) | func TestFishFeatures(t *testing.T) { function TestQuoteFishStr (line 25) | func TestQuoteFishStr(t *testing.T) { FILE: src/shell/formats.go type Formats (line 3) | type Formats struct function GetFormats (line 30) | func GetFormats(shell string) *Formats { FILE: src/shell/init.go constant noExe (line 17) | noExe = "echo \"Unable to find Oh My Posh executable\"" function getExecutablePath (line 25) | func getExecutablePath(env runtime.Environment) (string, error) { function Init (line 51) | func Init(env runtime.Environment, feats Features) string { function Script (line 72) | func Script(env runtime.Environment, feats Features) string { function Debug (line 79) | func Debug(env runtime.Environment, feats Features, startTime *time.Time... function recurseInitCommand (line 93) | func recurseInitCommand(env runtime.Environment) string { function generateAndSourceScript (line 125) | func generateAndSourceScript(env runtime.Environment, feats Features) st... function initNu (line 146) | func initNu(env runtime.Environment, feats Features) string { function generateScript (line 160) | func generateScript(env runtime.Environment, feats Features) string { function generateNuScript (line 211) | func generateNuScript(env runtime.Environment, feats Features) string { function sourceCommand (line 228) | func sourceCommand(env runtime.Environment, scriptPath string, async boo... function sourceCommandAsync (line 265) | func sourceCommandAsync(shell, scriptPath string) string { function printDebugInfo (line 281) | func printDebugInfo(env runtime.Environment, startTime *time.Time) string { function sessionScript (line 292) | func sessionScript(shell string) string { FILE: src/shell/nu.go method Nu (line 12) | func (f Features) Nu() Code { function quoteNuStr (line 27) | func quoteNuStr(str string) string { FILE: src/shell/nu_test.go function TestNuFeatures (line 10) | func TestNuFeatures(t *testing.T) { function TestQuoteNuStr (line 21) | func TestQuoteNuStr(t *testing.T) { FILE: src/shell/pwsh.go method Pwsh (line 12) | func (f Features) Pwsh() Code { function quotePwshOrElvishStr (line 43) | func quotePwshOrElvishStr(str string) string { FILE: src/shell/pwsh_test.go function TestPwshFeatures (line 12) | func TestPwshFeatures(t *testing.T) { function TestQuotePwshOrElvishStr (line 31) | func TestQuotePwshOrElvishStr(t *testing.T) { FILE: src/shell/xonsh.go method Xonsh (line 12) | func (f Features) Xonsh() Code { function quotePythonStr (line 25) | func quotePythonStr(str string) string { FILE: src/shell/xonsh_test.go function TestXonshFeatures (line 10) | func TestXonshFeatures(t *testing.T) { function TestQuotePythonStr (line 20) | func TestQuotePythonStr(t *testing.T) { FILE: src/shell/zsh.go method Zsh (line 10) | func (f Features) Zsh() Code { FILE: src/shell/zsh_test.go function TestZshFeatures (line 9) | func TestZshFeatures(t *testing.T) { FILE: src/template/cache.go function loadCache (line 20) | func loadCache(vars maps.Simple[any], aliases *maps.Config) { function restoreCache (line 78) | func restoreCache() bool { function SaveCache (line 93) | func SaveCache() { FILE: src/template/compare.go function toIntOrZero (line 5) | func toIntOrZero(e any) int { function toInt (line 13) | func toInt(integer any) (int, error) { function toFloat64 (line 17) | func toFloat64(e any) float64 { function gt (line 24) | func gt(e1, e2 any) bool { function lt (line 37) | func lt(e1, e2 any) bool { FILE: src/template/compare_test.go function TestGt (line 9) | func TestGt(t *testing.T) { function TestLt (line 32) | func TestLt(t *testing.T) { FILE: src/template/files.go function glob (line 11) | func glob(pattern string) (bool, error) { function readFile (line 19) | func readFile(path string) string { function stat (line 24) | func stat(path string) string { FILE: src/template/files_test.go function TestGlob (line 12) | func TestGlob(t *testing.T) { FILE: src/template/func_map.go function funcMap (line 10) | func funcMap() template.FuncMap { FILE: src/template/init.go constant InvalidTemplate (line 14) | InvalidTemplate = "invalid template text" constant IncorrectTemplate (line 15) | IncorrectTemplate = "unable to create text based on template" constant globalRef (line 17) | globalRef = ".$" constant elvish (line 19) | elvish = "elvish" constant xonsh (line 20) | xonsh = "xonsh" function Init (line 30) | func Init(environment runtime.Environment, vars maps.Simple[any], aliase... FILE: src/template/link.go function url (line 10) | func url(text, url string) (string, error) { function filePath (line 26) | func filePath(text, path string) (string, error) { FILE: src/template/link_test.go function TestUrl (line 12) | func TestUrl(t *testing.T) { function TestPath (line 41) | func TestPath(t *testing.T) { FILE: src/template/list.go type Logic (line 9) | type Logic constant FirstMatch (line 12) | FirstMatch Logic = "first_match" constant Join (line 13) | Join Logic = "join" type List (line 16) | type List method Empty (line 18) | func (l List) Empty() bool { method Resolve (line 22) | func (l List) Resolve(context any, defaultValue string, logic Logic) s... method Join (line 37) | func (l List) Join(context any) string { method FirstMatch (line 56) | func (l List) FirstMatch(context any, defaultValue string) string { FILE: src/template/numbers.go function hresult (line 5) | func hresult(number int) string { FILE: src/template/numbers_test.go function TestHResult (line 9) | func TestHResult(t *testing.T) { FILE: src/template/pool_test.go function TestTextPool (line 12) | func TestTextPool(t *testing.T) { FILE: src/template/random.go function random (line 10) | func random(list any) (string, error) { FILE: src/template/random_test.go function TestRandom (line 10) | func TestRandom(t *testing.T) { FILE: src/template/reason.go function GetReasonFromStatus (line 5) | func GetReasonFromStatus(code int) string { //nolint: gocyclo FILE: src/template/regex.go function matchP (line 5) | func matchP(pattern, text string) bool { function replaceP (line 9) | func replaceP(pattern, text, replaceText string) string { function findP (line 13) | func findP(pattern, text string, index int) string { FILE: src/template/render.go type Data (line 14) | type Data type context (line 16) | type context struct method init (line 22) | func (c *context) init(t *Text) { type renderer (line 32) | type renderer struct method release (line 38) | func (t *renderer) release() { method execute (line 45) | func (t *renderer) execute(text *Text) (string, error) { FILE: src/template/round.go function secondsRound (line 10) | func secondsRound(seconds any) string { FILE: src/template/round_test.go function TestRoundSeconds (line 9) | func TestRoundSeconds(t *testing.T) { FILE: src/template/strings.go function trunc (line 9) | func trunc(length any, s string) string { function TruncE (line 27) | func TruncE(length any, s string) string { FILE: src/template/strings_test.go function TestTrunc (line 9) | func TestTrunc(t *testing.T) { function TestTruncE (line 35) | func TestTruncE(t *testing.T) { FILE: src/template/text.go type Text (line 13) | type Text struct method release (line 49) | func (t *Text) release() { method patchTemplate (line 58) | func (t *Text) patchTemplate() { function get (line 19) | func get(template string, context any) *Text { function Render (line 32) | func Render(template string, context any) (string, error) { type fields (line 152) | type fields struct method init (line 157) | func (f *fields) init(data any) { method append (line 217) | func (f *fields) append(values any) { method add (line 240) | func (f *fields) add(field string) { method hasField (line 256) | func (f *fields) hasField(field string) bool { FILE: src/template/text_test.go function TestRenderTemplate (line 13) | func TestRenderTemplate(t *testing.T) { function TestRenderTemplateEnvVar (line 176) | func TestRenderTemplateEnvVar(t *testing.T) { function TestPatchTemplate (line 263) | func TestPatchTemplate(t *testing.T) { type Foo (line 361) | type Foo struct method Hello (line 363) | func (f *Foo) Hello() string { function TestPatchTemplateStruct (line 367) | func TestPatchTemplateStruct(t *testing.T) { function TestSegmentContains (line 382) | func TestSegmentContains(t *testing.T) { FILE: src/terminal/iterm.go function init (line 12) | func init() { type iTermFeature (line 16) | type iTermFeature constant PromptMark (line 19) | PromptMark iTermFeature = "prompt_mark" constant CurrentDir (line 20) | CurrentDir iTermFeature = "current_dir" constant RemoteHost (line 21) | RemoteHost iTermFeature = "remote_host" type ITermFeatures (line 24) | type ITermFeatures method Contains (line 26) | func (f ITermFeatures) Contains(feature iTermFeature) bool { function RenderItermFeatures (line 30) | func RenderItermFeatures(features ITermFeatures, sh, pwd, user, host str... FILE: src/terminal/writer.go function init (line 16) | func init() { type style (line 20) | type style struct constant AnchorRegex (line 69) | AnchorRegex = `^(?P<(?P[^,<>]+)?,?(?P[^<>]+)?>)` constant colorise (line 70) | colorise = "\x1b[%sm" constant transparentStart (line 71) | transparentStart = "\x1b[0m\x1b[%s;49m\x1b[7m" constant transparentEnd (line 72) | transparentEnd = "\x1b[27m" constant backgroundEnd (line 73) | backgroundEnd = "\x1b[49m" constant AnsiRegex (line 75) | AnsiRegex = "[\u001B\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\... constant OSC99 (line 77) | OSC99 = "osc99" constant OSC7 (line 78) | OSC7 = "osc7" constant OSC51 (line 79) | OSC51 = "osc51" constant ANCHOR (line 81) | ANCHOR = "ANCHOR" constant BG (line 82) | BG = "BG" constant FG (line 83) | FG = "FG" constant hyperLinkStart (line 85) | hyperLinkStart = "" constant hyperLinkEnd (line 86) | hyperLinkEnd = "" constant hyperLinkText (line 87) | hyperLinkText = "" constant hyperLinkTextEnd (line 88) | hyperLinkTextEnd = "" constant empty (line 90) | empty = "<>" constant startProgress (line 92) | startProgress = "\x1b]9;4;3;0\x07" constant setProgress (line 93) | setProgress = "\x1b]9;4;4;%d\x07" constant endProgress (line 94) | endProgress = "\x1b]9;4;0;0\x07" constant WindowsTerminal (line 96) | WindowsTerminal = "Windows Terminal" constant Warp (line 97) | Warp = "WarpTerminal" constant ITerm (line 98) | ITerm = "iTerm.app" constant AppleTerminal (line 99) | AppleTerminal = "Apple_Terminal" constant Unknown (line 100) | Unknown = "Unknown" function Init (line 103) | func Init(sh string) { function getTerminalName (line 115) | func getTerminalName() string { function SetColors (line 129) | func SetColors(background, foreground color.Ansi) { function SetParentColors (line 136) | func SetParentColors(background, foreground color.Ansi) { function ChangeLine (line 147) | func ChangeLine(numberOfLines int) string { function Pwd (line 162) | func Pwd(pwdType, userName, hostName, pwd string) string { function ClearAfter (line 179) | func ClearAfter() string { function FormatTitle (line 187) | func FormatTitle(title string) string { function EscapeText (line 214) | func EscapeText(txt string) string { function SaveCursorPosition (line 218) | func SaveCursorPosition() string { function RestoreCursorPosition (line 222) | func RestoreCursorPosition() string { function PromptStart (line 226) | func PromptStart() string { function CommandStart (line 230) | func CommandStart() string { function CommandFinished (line 234) | func CommandFinished(code int, ignore bool) string { function LineBreak (line 244) | func LineBreak() string { function StartProgress (line 250) | func StartProgress() string { function SetProgress (line 258) | func SetProgress(percentage int) string { function StopProgress (line 266) | func StopProgress() string { function Write (line 274) | func Write(background, foreground color.Ansi, txt string) { function Len (line 372) | func Len() int { function String (line 376) | func String() (string, int) { function writeEscapedAnsiString (line 388) | func writeEscapedAnsiString(txt string) { function write (line 400) | func write(s rune) { function writeSegmentColors (line 425) | func writeSegmentColors() { function writeAnchorOverride (line 464) | func writeAnchorOverride(match map[string]string, background color.Ansi,... function endColorOverride (line 538) | func endColorOverride(position int) int { function asAnsiColors (line 608) | func asAnsiColors(background, foreground color.Ansi) (color.Ansi, color.... function trimAnsi (line 636) | func trimAnsi(txt string) string { FILE: src/terminal/writer_hyperlink_test.go function TestGenerateHyperlinkNoUrl (line 12) | func TestGenerateHyperlinkNoUrl(t *testing.T) { function TestGenerateHyperlinkWithUrl (line 35) | func TestGenerateHyperlinkWithUrl(t *testing.T) { function TestGenerateFileLink (line 109) | func TestGenerateFileLink(t *testing.T) { FILE: src/terminal/writer_test.go function TestWriteANSIColors (line 12) | func TestWriteANSIColors(t *testing.T) { function TestWriteLength (line 239) | func TestWriteLength(t *testing.T) { FILE: src/text/builder.go type StringBuilder (line 11) | type StringBuilder method release (line 24) | func (sb *StringBuilder) release() { method String (line 35) | func (sb *StringBuilder) String() string { method Len (line 42) | func (sb *StringBuilder) Len() int { method Cap (line 49) | func (sb *StringBuilder) Cap() int { method Reset (line 54) | func (sb *StringBuilder) Reset() { method Grow (line 61) | func (sb *StringBuilder) Grow(n int) { method WriteRune (line 66) | func (sb *StringBuilder) WriteRune(r rune) { method WriteString (line 71) | func (sb *StringBuilder) WriteString(s string) { function init (line 13) | func init() { function NewBuilder (line 20) | func NewBuilder() *StringBuilder { FILE: src/text/percentage.go type Percentage (line 9) | type Percentage method clamp (line 12) | func (p Percentage) clamp() int { method Gauge (line 18) | func (p Percentage) Gauge() string { method GaugeUsed (line 34) | func (p Percentage) GaugeUsed() string { method String (line 46) | func (p Percentage) String() string { FILE: src/text/percentage_test.go function TestPercentageGauge (line 10) | func TestPercentageGauge(t *testing.T) { function TestPercentageGaugeUsed (line 72) | func TestPercentageGaugeUsed(t *testing.T) { function TestPercentageString (line 133) | func TestPercentageString(t *testing.T) { FILE: website/api/auth/index.js function toBase64 (line 48) | function toBase64(str) { function redirect (line 52) | function redirect(context, segment, tokens, error) { FILE: website/api/mcp/validate-server.js function downloadSchema (line 13) | function downloadSchema() { function validateServer (line 32) | async function validateServer() { FILE: website/api/shared/strava.js function getToken (line 3) | async function getToken(code) { function refreshToken (line 19) | async function refreshToken(refresh_token) { FILE: website/api/shared/validator.js constant SCHEMA_GITHUB_URL (line 10) | const SCHEMA_GITHUB_URL = 'https://raw.githubusercontent.com/JanDeDobbel... constant SCHEMA_FETCH_TIMEOUT (line 11) | const SCHEMA_FETCH_TIMEOUT = 10000; function loadSchema (line 21) | async function loadSchema() { function getValidator (line 93) | async function getValidator() { function detectFormat (line 117) | function detectFormat(content) { function parseConfig (line 140) | function parseConfig(content, format) { function formatErrors (line 172) | function formatErrors(errors) { function validateConfig (line 216) | async function validateConfig(content, format = 'auto') { function validateSegment (line 297) | async function validateSegment(content, format = 'auto') { FILE: website/api/shared/withings.js function getToken (line 3) | async function getToken(code) { function refreshToken (line 26) | async function refreshToken(refresh_token) { FILE: website/export_themes.mjs constant CONFIG (line 12) | const CONFIG = { constant THEME_CONFIG_OVERRIDES (line 25) | const THEME_CONFIG_OVERRIDES = new Map([ function createThemeConfig (line 49) | function createThemeConfig(author = '', bgColor = CONFIG.DEFAULT_BG_COLO... function isValidTheme (line 58) | function isValidTheme(fileName) { function getThemeNameFromFile (line 67) | function getThemeNameFromFile(fileName) { function buildPoshCommand (line 80) | function buildPoshCommand(configPath, outputImage, config) { function generateThemeMarkdown (line 101) | function generateThemeMarkdown(themeName, themeFile) { function consume (line 122) | async function consume() { function exportTheme (line 149) | async function exportTheme(themeFile) { function ensureDirectories (line 184) | async function ensureDirectories() { function main (line 195) | async function main() { FILE: website/plugins/appinsights/analytics.js method onRouteUpdate (line 16) | onRouteUpdate({ location }) { FILE: website/plugins/appinsights/index.js method getClientModules (line 36) | getClientModules() { method injectHtmlTags (line 40) | injectHtmlTags() { FILE: website/src/components/Auth.js function Auth (line 5) | function Auth() { FILE: website/src/components/Config.js function Config (line 8) | function Config(props) { FILE: website/src/pages/index.js function Feature (line 41) | function Feature({ imageUrl, title, description }) { function Home (line 56) | function Home() {