MCPcopy Create free account
hub / github.com/Moosync/Moosync / get_artist_string

Function get_artist_string

src/utils/entities.rs:58–62  ·  view source on GitHub ↗
(artists: Option<Vec<QueryableArtist>>)

Source from the content-addressed store, hash-verified

56
57#[tracing::instrument(level = "debug", skip(artists))]
58pub fn get_artist_string(artists: Option<Vec<QueryableArtist>>) -> String {
59 artists
60 .map(|a| a.iter().filter_map(|a| a.artist_name.clone()).join(", "))
61 .unwrap_or_default()
62}

Callers 2

MusicInfoMobileFunction · 0.85
set_metadataFunction · 0.85

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected