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

Method add_to_library

src/utils/context_menu.rs:118–120  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

116
117 #[tracing::instrument(level = "debug", skip(self))]
118 pub fn add_to_library(&self) {
119 add_songs_to_library(self.current_or_list(), self.refresh_cb.clone());
120 }
121
122 #[tracing::instrument(level = "debug", skip(self))]
123 pub fn remove_from_library(&self) {

Callers 1

get_menu_itemsMethod · 0.80

Calls 4

add_songs_to_libraryFunction · 0.85
create_playlistFunction · 0.85
current_or_listMethod · 0.80
cloneMethod · 0.80

Tested by

no test coverage detected