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

Method change_index

src/store/player_store.rs:303–306  ·  view source on GitHub ↗
(&mut self, new_index: usize, force: bool)

Source from the content-addressed store, hash-verified

301
302 #[tracing::instrument(level = "debug", skip(self, new_index))]
303 pub fn change_index(&mut self, new_index: usize, force: bool) {
304 self.data.queue.current_index = new_index;
305 self.update_current_song(force);
306 }
307
308 #[tracing::instrument(level = "debug", skip(self, new_time))]
309 pub fn update_time(&mut self, new_time: f64) {

Callers 3

MusicInfoMobileFunction · 0.80
MusicInfoFunction · 0.80

Calls 1

update_current_songMethod · 0.80

Tested by

no test coverage detected