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

Method clear_queue

src/store/player_store.rs:523–527  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

521
522 #[tracing::instrument(level = "debug", skip(self))]
523 pub fn clear_queue(&mut self) {
524 self.data.queue.song_queue.clear();
525 self.data.queue.current_index = 0;
526 self.update_current_song(false);
527 }
528
529 #[tracing::instrument(level = "debug", skip(self))]
530 pub fn clear_queue_except_current(&mut self) {

Callers 1

clear_queue_and_playMethod · 0.80

Calls 2

clearMethod · 0.80
update_current_songMethod · 0.80

Tested by

no test coverage detected