Skip to content
1 viewer

rust 1,880,059 · typescript 232,735 · javascript 134,784 · python 22,539 · 6,528 files · digest c5525c3879ae · built in 13.2 s · crystals off

PaperPosition::is_long

cre8_app_paper::model::PaperPosition::is_long

method · cre8-app-paper · crates/cre8-app-paper/src/model.rs:302 pub

3lines
1cyclomatic
0max nesting
1statements
0? exits
1params
3callers
1callees
0.7 (p58)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (3 direct callers, 1 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

path · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 2 sitesmethod · 2 sitesmethod · 1 sitemethod · 1 sitehandle_accountsapp-paper · cc 1cre8_app_paper::connection::handle_accountshandle_positionsapp-paper · cc 1cre8_app_paper::connection::handle_positionsload_indexapp-paper · cc 2cre8_app_paper::view_templates::load_indexload_account_pageapp-paper · cc 2cre8_app_paper::view_templates::load_account_pagevaluation_splits_assets_and…app-paper · cc 1cre8_app_paper::engine::tests::valuation_splits_assets_and_debt_and_gates_leveragemulti_position_liquidation_…app-paper · cc 1cre8_app_paper::engine::tests::multi_position_liquidation_price_holds_other_marks_fixedthe_index_labels_paper_and_…app-paper · cc 2cre8_app_paper::view_templates::tests::the_index_labels_paper_and_lists_accountsthe_account_page_renders_se…app-paper · cc 2cre8_app_paper::view_templates::tests::the_account_page_renders_sections_and_a_missing_accountpage_shapes_holdapp-paper · cc 1cre8_app_paper::view_templates::tests::page_shapes_holdsnapshotapp-paper · cc 3cre8_app_paper::ops::snapshotliquidation_priceapp-paper · cc 7cre8_app_paper::engine::liquidation_pricelabels_render_exact_decimalsapp-paper · cc 1cre8_app_paper::model::tests::labels_render_exact_decimalsPaperPosition::is_longapp-paper · cc 1cre8_app_paper::model::PaperPosition::is_longRatio::is_positiveutil-options · cc 1cre8_util_options::ratio::Ratio::is_positive

Control flow

Source not readable from this process.

Callers 3

Callees 1

Source not readable from this process.