MCPcopy Create free account

hub / github.com/Immelancholy/Zarumet / functions

Functions359 in github.com/Immelancholy/Zarumet

↓ 1 callersMethodcontains
Check if a path is cached (without updating LRU or stats)
src/app/ui/cache/cover_cache.rs:68
↓ 1 callersMethodcould_start_sequence
Check if a key could start a sequential binding
src/app/binds_handler.rs:241
↓ 1 callersMethodempty
Get the empty portion of the volume bar
src/app/ui/cache/render_cache.rs:241
↓ 1 callersMethodensure_albums_by_genre_built
(&mut self)
src/app/song/library.rs:153
↓ 1 callersMethodensure_albums_by_year_built
(&mut self)
src/app/song/library.rs:146
↓ 1 callersMethodensure_albums_sorted
Ensure all_albums is sorted before access. This is a lazy sort: only sorts when needed.
src/app/song/library.rs:287
↓ 1 callersFunctionensure_log_directory
Ensure log directory exists
src/app/logging.rs:108
↓ 1 callersMethodexecute
Execute the action on the MPD client Uses the cached status when available to avoid extra MPD round-trips.
src/app/mpd/mpd_handler.rs:154
↓ 1 callersMethodexecute_inner
( &self, client: &mpd_client::Client, app: &mut crate::App, )
src/app/mpd/mpd_handler.rs:174
↓ 1 callersMethodfilled
Get the filled portion of the volume bar
src/app/ui/cache/render_cache.rs:233
↓ 1 callersFunctionget_allowed_rates_from_api
Read allowed-rates from PipeWire API (fallback method)
src/app/audio/pipewire.rs:271
↓ 1 callersFunctionget_allowed_rates_from_pw_metadata
Read allowed-rates from pw-metadata command output
src/app/audio/pipewire.rs:236
↓ 1 callersMethodget_current_sequence
Get current key sequence for UI display
src/app/binds_handler.rs:248
↓ 1 callersFunctionget_key_sequence_text
Get the current key sequence as displayable text
src/app/ui/rendering/renderer.rs:66
↓ 1 callersMethodget_or_compute
Get cached display list or compute and cache it Returns references to the cached data
src/app/ui/rendering/utils.rs:133
↓ 1 callersFunctionget_prefetch_targets
Determine which queue items should be prefetched based on current position
src/app/ui/cache/cover_cache.rs:155
↓ 1 callersFunctionget_status_message_text
(msg: &crate::app::StatusMessage)
src/app/ui/rendering/renderer.rs:47
↓ 1 callersFunctionget_supported_rates_inner
()
src/app/audio/pipewire.rs:212
↓ 1 callersMethodget_uppercase
Get the uppercase version of a file extension
src/app/ui/cache/render_cache.rs:141
↓ 1 callersMethodhandle_add_album_in_album_view
Handle adding an entire album to queue in Albums mode (A/Enter key in albums pane)
src/app/navigation/albums_nav.rs:38
↓ 1 callersMethodhandle_add_to_queue_context_aware
Handle adding to queue in Artists mode - context-aware based on what's selected If on a song, add the song; if on an album, add the album
src/app/navigation/expand_nav.rs:168
↓ 1 callersMethodhandle_add_to_queue_genres_context_aware
Handle adding to queue in Genres mode - context-aware based on panel focus and selection If on GenreAlbums panel and on a song, add the song; if on Ge
src/app/navigation/expand_nav.rs:291
↓ 1 callersMethodhandle_add_to_queue_years_context_aware
Handle adding to queue in Years mode - context-aware based on panel focus and selection If on YearAlbums panel and on a song, add the song; if on Year
src/app/navigation/expand_nav.rs:227
↓ 1 callersMethodhandle_album_toggle
Handle album expansion toggle for Artists mode
src/app/navigation/expand_nav.rs:63
↓ 1 callersMethodhandle_genre_album_toggle
(&mut self, client: &Client)
src/app/navigation/expand_nav.rs:132
↓ 1 callersMethodhandle_go_to_edge
Handle jumping to the top or bottom of the current list
src/app/navigation/scrolling.rs:453
↓ 1 callersMethodhandle_panel_navigation
Handle panel-specific navigation
src/app/navigation/panel_nav.rs:14
↓ 1 callersMethodhandle_scroll
Handle scrolling by 15 items at a time
src/app/navigation/scrolling.rs:14
↓ 1 callersMethodhandle_sequential_input
Handle input when in the middle of a sequential key sequence
src/app/binds_handler.rs:187
↓ 1 callersMethodhandle_year_album_toggle
Handle album expansion toggle for Years mode
src/app/navigation/expand_nav.rs:98
↓ 1 callersFunctioninit_logger
Initialize the logger for the application
src/app/logging.rs:7
↓ 1 callersFunctioninit_terminal
Initialize the terminal for the application
src/app/terminal.rs:8
↓ 1 callersFunctioninitialize_supported_rates
Initialize the supported rates cache. Should be called once when the program starts.
src/app/audio/pipewire.rs:190
↓ 1 callersMethodis_mpd_command
Returns true if this action sends commands to MPD
src/app/mpd/mpd_handler.rs:130
↓ 1 callersMethodis_stale
(&self, ttl: Duration)
src/app/ui/cache/width_cache.rs:48
↓ 1 callersFunctionlevenshtein_distance
Calculate Levenshtein distance between two strings
src/app/config/format.rs:24
↓ 1 callersFunctionload_bit_perfect_state
Load bit-perfect state from state file
src/app/constructor.rs:30
↓ 1 callersFunctionlog_config_loading
Log configuration loading
src/app/logging.rs:166
↓ 1 callersFunctionlog_shutdown_info
Log application shutdown information
src/app/logging.rs:127
↓ 1 callersFunctionlog_startup_info
Log application startup information
src/app/logging.rs:118
↓ 1 callersFunctionlog_user_interaction
Log user interactions for debugging
src/app/logging.rs:158
↓ 1 callersMethodmark_cover_art
(&self)
src/app/ui/cache/dirty.rs:105
↓ 1 callersMethodmark_current_song
(&self)
src/app/ui/cache/dirty.rs:87
↓ 1 callersMethodmark_full_redraw
(&self)
src/app/ui/cache/dirty.rs:129
↓ 1 callersMethodmaybe_cleanup
Perform cleanup if conditions are met (time elapsed or too many entries)
src/app/ui/cache/width_cache.rs:191
↓ 1 callersMethodmode_color
(&self)
src/app/config/colors.rs:218
↓ 1 callersFunctionnew_shared_cache
Create a new shared cover cache
src/app/ui/cache/cover_cache.rs:150
↓ 1 callersMethodon_key_event
Handles the key events and updates the state of [`App`].
src/app/event_handlers.rs:33
↓ 1 callersMethodparse_binding_string
Parse a binding string that may contain space-separated sequential keys Returns a vector of parsed key tuples
src/app/config/binds.rs:311
↓ 1 callersMethodparse_keybinding
( &self, key_str: &str, )
src/app/config/binds.rs:232
↓ 1 callersMethodpeek_width
Peek at cached width without updating access time or triggering cache miss Returns None if the string is not in cache
src/app/ui/cache/width_cache.rs:123
↓ 1 callersMethodpercent
Get the percentage string
src/app/ui/cache/render_cache.rs:250
↓ 1 callersMethodpreload_all_albums
Preload all albums for the Albums view. Uses a fast bulk approach: fetches all songs at once instead of per-artist.
src/app/song/library.rs:316
↓ 1 callersMethodprogress_empty_color
(&self)
src/app/config/colors.rs:122
↓ 1 callersMethodprogress_filled_color
(&self)
src/app/config/colors.rs:116
↓ 1 callersMethodqueue_album_color
(&self)
src/app/config/colors.rs:152
↓ 1 callersMethodqueue_artist_color
(&self)
src/app/config/colors.rs:158
↓ 1 callersMethodqueue_duration_color
(&self)
src/app/config/colors.rs:194
↓ 1 callersMethodqueue_position_color
(&self)
src/app/config/colors.rs:188
↓ 1 callersMethodqueue_song_playing_color
(&self)
src/app/config/colors.rs:170
↓ 1 callersMethodqueue_song_title_color
(&self)
src/app/config/colors.rs:164
↓ 1 callersFunctionrender
( frame: &mut Frame<'_>, protocol: &mut Protocol, current_song: &Option<SongInfo>, queue: &[So
src/app/ui/rendering/renderer.rs:254
↓ 1 callersFunctionrender_albums_mode
( frame: &mut Frame<'_>, protocol: &mut crate::app::ui::Protocol, area: Rect, format: &Option<
src/app/ui/views/albums.rs:19
↓ 1 callersFunctionrender_artists_mode
( frame: &mut Frame<'_>, protocol: &mut Protocol, area: Rect, format: &Option<String>, cur
src/app/ui/views/artists.rs:24
↓ 1 callersFunctionrender_config_warnings_popup
Render config warnings popup centered on screen
src/app/ui/rendering/renderer.rs:160
↓ 1 callersFunctionrender_genres_mode
( frame: &mut Frame<'_>, protocol: &mut Protocol, area: Rect, format: &Option<String>, cur
src/app/ui/views/genres.rs:24
↓ 1 callersFunctionrender_queue_mode
( frame: &mut Frame<'_>, protocol: &mut Protocol, area: Rect, format: &Option<String>, cur
src/app/ui/views/queue.rs:19
↓ 1 callersFunctionrender_top_right_status
Render status 0n top-right corner (key sequence or status message) Returns true if something was rendered (so loading indicator can skip)
src/app/ui/rendering/renderer.rs:23
↓ 1 callersFunctionrender_years_mode
( frame: &mut Frame<'_>, protocol: &mut Protocol, area: Rect, format: &Option<String>, cur
src/app/ui/views/years.rs:24
↓ 1 callersFunctionrestore_terminal
Restore the terminal to its original state
src/app/terminal.rs:20
↓ 1 callersMethodrun
Run the application's main loop.
src/app/main_loop/mloop.rs:49
↓ 1 callersMethodrun_optimized_updates
Run optimized updates - only fetch what we need
src/app/mpd/mpd_updates.rs:31
↓ 1 callersMethodrun_updates
Run update functions concurrently with optimized result processing
src/app/mpd/mpd_updates.rs:25
↓ 1 callersFunctionsave_bit_perfect_state
Save bit-perfect state to state file
src/app/constructor.rs:55
↓ 1 callersFunctionset_sample_rate_inner
(rate: u32)
src/app/audio/pipewire.rs:78
↓ 1 callersMethodtime_duration
(&self)
src/app/config/colors.rs:80
↓ 1 callersMethodtime_elapsed
(&self)
src/app/config/colors.rs:74
↓ 1 callersMethodtime_separator
(&self)
src/app/config/colors.rs:86
↓ 1 callersMethodto_artist
Convert to a regular Artist (returns empty albums if not loaded)
src/app/song/artist.rs:46
↓ 1 callersMethodtotal_accesses
Get total number of cache accesses
src/app/ui/cache/width_cache.rs:155
↓ 1 callersMethodtouch
(&mut self)
src/app/ui/cache/width_cache.rs:43
↓ 1 callersMethodupdate
Update method to handle timeouts (call this regularly)
src/app/binds_handler.rs:261
↓ 1 callersMethodupdate_playback_info
(&mut self, play_state: Option<PlayState>, progress: Option<f64>)
src/app/song/song_info.rs:128
↓ 1 callersMethodupdate_queue_selection
Update queue selection to stay within bounds
src/app/mpd/mpd_updates.rs:109
↓ 1 callersMethodupdate_time_info
( &mut self, elapsed: Option<std::time::Duration>, duration: Option<std::time::Duratio
src/app/song/song_info.rs:133
↓ 1 callersMethodvolume_color
(&self)
src/app/config/colors.rs:206
↓ 1 callersMethodvolume_empty_color
(&self)
src/app/config/colors.rs:212
Functionbench_truncation_performance
Performance benchmarks are non-deterministic; run with --ignored
src/app/ui/cache/width_cache.rs:366
Functionbench_uncached_vs_cached
Performance benchmarks are non-deterministic; run with --ignored
src/app/ui/cache/width_cache.rs:306
Functioncheck_song_change
Check if the song changed and trigger cover art loading if needed
src/app/main_loop/state.rs:20
Methodcheck_unknown_fields
Check for unknown fields in the config file and return warnings
src/app/config/format.rs:156
Methodclear
(&mut self)
src/app/ui/cache/width_cache.rs:184
Methodclear
(&mut self)
src/app/ui/cache/cover_cache.rs:133
Methodclear_progress
(&self)
src/app/ui/cache/dirty.rs:257
Methodcompute_album_genre
(tracks: &[SongInfo])
src/app/song/album.rs:34
Methodcompute_album_year
(tracks: &[SongInfo])
src/app/song/album.rs:30
Methodcompute_total_duration
Compute total duration from tracks (used during construction)
src/app/song/album.rs:46
Functioncreate_now_playing_widget
( current_song: &'a Option<SongInfo>, config: &'a Config, )
src/app/ui/widgets/song.rs:11
Functioncreate_progress_bar
( play_state: &Option<mpd_client::responses::PlayState>, progress: Option<f64>, elapsed: Option<st
src/app/ui/widgets/progress.rs:10
Functioncreate_queue_widget
( queue: &[SongInfo], queue_list_state: &ListState, current_song: &Option<SongInfo>, config: &
src/app/ui/widgets/queue.rs:12
← previousnext →101–200 of 359, ranked by callers