MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / lock

Method lock

gateway/src/main_service.rs:127–129  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

125
126impl ProxyInner {
127 pub(crate) fn lock(&self) -> MutexGuard<'_, ProxyState> {
128 self.state.lock().or_panic("Failed to lock AppState")
129 }
130
131 pub async fn new(
132 options: ProxyOptions,

Callers 15

mainFunction · 0.45
update_certMethod · 0.45
get_proxy_stateMethod · 0.45
statusMethod · 0.45
exitMethod · 0.45
get_infoMethod · 0.45
get_metaMethod · 0.45
do_register_cvmMethod · 0.45

Calls

no outgoing calls