Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FedeCarollo/jukebox-cli
/ pause
Method
pause
src/jukebox_state.rs:92–97 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
90
}
91
92
pub fn pause(&mut self) {
93
if !self.is_paused {
94
self.elapsed_before_pause += self.start_time.elapsed();
95
self.is_paused = true;
96
}
97
}
98
99
pub fn resume(&mut self) {
100
if self.is_paused {
Callers
1
run_app
Function · 0.80
Calls
1
is_paused
Method · 0.80
Tested by
no test coverage detected