1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-chess/src/session_lock.rs
Items
const WAIT static HELD struct GameGuard impl Drop for GameGuard
Functions
By call-graph weight (PageRank; 1.0 is the average function). 9 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| heldsrc/session_lock.rs:23 | fn | 4 | 1 | 2 | 0 | 3 | |
| lock_gamesrc/session_lock.rs:44 | fn | 14 | 3 | 4 | 1 | 2.4 | |
| with_gamesrc/session_lock.rs:72 | fn | 9 | 2 | 7 | 2 | 2.1 | |
| game_keysrc/session_lock.rs:61 | fn | 8 | 1 | 2 | 0 | 1.8 | |
| GameGuard::dropsrc/session_lock.rs:35 | trait impl | 5 | 1 | 0 | 1 | 0.5 | |
| writes_to_one_game_take_turnssrc/session_lock.rs:89 | fn | 20 | 2 | 0 | 1 | 0.5 | |
| different_games_do_not_wait_for_each_othersrc/session_lock.rs:111 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| a_dropped_guard_frees_the_gamesrc/session_lock.rs:118 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| the_key_is_the_session_then_the_roomsrc/session_lock.rs:124 | fn | 5 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.