Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SimonTeixidor/davis
/ functions
Functions
63 in github.com/SimonTeixidor/davis
⨍
Functions
63
◇
Types & classes
17
↓ 12 callers
Method
get
(&'a self, tag: &'a str)
src/tags.rs:24
↓ 10 callers
Function
table_row
Table row with bold key and normal value
src/status.rs:58
↓ 9 callers
Function
next_arg
(name: &str, parser: &mut lexopt::Parser)
src/cli.rs:32
↓ 8 callers
Method
context
(self, context: &'static str)
src/error.rs:35
↓ 6 callers
Method
style
(self, style: Style)
src/ansi.rs:20
↓ 4 callers
Function
bool_on_off
(b: bool)
src/status.rs:65
↓ 4 callers
Method
joined
(&self, keys: &[&str], sep: &str)
src/tags.rs:43
↓ 3 callers
Method
get_option_joined
(&'a self, tag: &'a str)
src/tags.rs:34
↓ 3 callers
Function
trim_path
(path: &str)
src/main.rs:157
↓ 2 callers
Function
is_dumb_terminal
()
src/ansi.rs:54
↓ 2 callers
Function
lookup_mpd_host
(host: &str, conf: &config::Config)
src/main.rs:143
↓ 2 callers
Function
print_help
()
src/cli.rs:287
↓ 2 callers
Function
print_table
(rows: &[QueueRow])
src/queue.rs:41
↓ 2 callers
Function
tag_filter
(vals: &'a [(String, String)], tag: &'a str)
src/tags.rs:51
↓ 2 callers
Method
to_mpd_query
(&self)
src/cli.rs:256
↓ 1 callers
Function
classical_work_description
(tags: &Tags)
src/now_playing.rs:54
↓ 1 callers
Function
complete
(client: &mut mpdrs::Client, search_path: &str)
src/tab.rs:4
↓ 1 callers
Method
default_mpd_host
(&self)
src/config.rs:25
↓ 1 callers
Function
fetch
(client: &mut Client, song_path: Option<&str>, output: &str)
src/albumart.rs:7
↓ 1 callers
Function
find_subcommand
(name: &ffi::OsStr)
src/subcommands.rs:8
↓ 1 callers
Function
get
()
src/config.rs:67
↓ 1 callers
Function
header
(song: &Song)
src/queue.rs:12
↓ 1 callers
Method
init
(self)
src/logger.rs:23
↓ 1 callers
Function
is_executable
(file: &fs::DirEntry)
src/subcommands.rs:37
↓ 1 callers
Function
lexopt_parse_args
()
src/cli.rs:43
↓ 1 callers
Function
mpd_host
(opts: &cli::Opts, conf: &config::Config)
src/main.rs:131
↓ 1 callers
Function
mpd_host_env_var
()
src/config.rs:135
↓ 1 callers
Function
now_playing
(client: &mut mpdrs::Client, conf: &Config)
src/now_playing.rs:8
↓ 1 callers
Function
parse_args
()
src/cli.rs:10
↓ 1 callers
Function
parse_config
(map: &HashMap<String, HashMap<String, Option<String>>>)
src/config.rs:98
↓ 1 callers
Function
parse_subcommand
( cmd: OsString, parser: &mut lexopt::Parser, )
src/cli.rs:84
↓ 1 callers
Function
popular_music_title
(song: &Song)
src/now_playing.rs:67
↓ 1 callers
Function
print
(queue: Vec<Song>, current: &Option<Song>)
src/queue.rs:49
↓ 1 callers
Function
seek
(client: &mut mpdrs::Client, seek_arg: Arg)
src/seek.rs:5
↓ 1 callers
Function
status
(c: &mut mpdrs::Client)
src/status.rs:6
↓ 1 callers
Function
try_main
()
src/main.rs:45
Function
basic_functionality
()
src/table.rs:56
Function
basic_functionality_with_formatting
()
src/table.rs:70
Function
bold
(s: S)
src/queue.rs:6
Method
default
()
src/config.rs:53
Function
duration_format
(d: &Duration)
src/status.rs:73
Method
enabled
(&self, _metadata: &Metadata)
src/logger.rs:7
Method
flush
(&self)
src/logger.rs:15
Method
fmt
(&self, formatter: &mut fmt::Formatter)
src/ansi.rs:36
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/error.rs:41
Method
fmt
(&self, formatter: &mut fmt::Formatter)
src/table.rs:20
Method
from
(e: mpdrs::error::Error)
src/error.rs:19
Method
from_song
(song: &mpdrs::Song)
src/tags.rs:7
Method
from_song_and_raw_comments
( song: &mpdrs::Song, raw_comments: Vec<(String, String)>, )
src/tags.rs:14
Method
from_str
(s: &str)
src/seek.rs:50
Method
from_strings
(mut strings: Vec<String>)
src/cli.rs:272
Function
header
(song: &Song, tags: &Tags)
src/now_playing.rs:48
Method
log
(&self, record: &Record)
src/logger.rs:11
Function
main
()
src/main.rs:26
Method
new
(string: &'a str)
src/ansi.rs:27
Method
new
(fields: Vec<FormattedString<'a>>)
src/table.rs:10
Function
parse_hosts
(map: &HashMap<String, Option<String>>)
src/config.rs:109
Function
parse_tags
(map: &HashMap<String, Option<String>>)
src/config.rs:122
Function
test_hms
()
src/seek.rs:83
Function
test_leading_zeroes
()
src/seek.rs:124
Function
test_ms
()
src/seek.rs:102
Function
test_s
()
src/seek.rs:113
Method
to_table_row
(&self)
src/queue.rs:25