MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / new

Method new

toys/tikv-wrapper/src/main.rs:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10impl Foo {
11 fn new() -> Self {
12 Self {
13 inner: Arc::new(RwLock::new(1)),
14 data: 1,
15 }
16 }
17 fn foo(&self) {
18 match *self.inner.rl() {
19 1 => *self.inner.wl() += 1,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected