Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-email/src/template.rs

cre8-app-email · module template · src · 808 lines (700 code, 44 comment) · sha 6f4f5e9c0187ceff

Items

struct RenderedEmail const PUBLIC_ORIGIN_ENV_VARS enum ActionTarget const BUTTON_CELL_STYLE const BUTTON_LINK_STYLE const LABEL_CELL_STYLE struct EmailReceipt struct ReceiptLine struct ReceiptLinkSpec impl EmailReceipt impl ReceiptLine impl ReceiptLinkSpec const RECEIPT_CELL const RECEIPT_AMOUNT_CELL const RECEIPT_MUTED_CELL const RECEIPT_MUTED_AMOUNT_CELL const RECEIPT_TOTAL_CELL const BASE_HTML_TEMPLATE const BASE_TEXT_TEMPLATE

Functions

By call-graph weight (PageRank; 1.0 is the average function). 35 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
resolve_linksrc/template.rs:111fn2210303.8
notificationsrc/template.rs:591fn201602.2
non_empty_textsrc/template.rs:360fn83502.1
render_notification_email_with_originsrc/template.rs:40fn392662
action_targetsrc/template.rs:184fn73211.8
resolvedsrc/template.rs:538fn31211.8
fallback_emailsrc/template.rs:157fn172101.6
format_minorsrc/template.rs:391fn125401.6
render_notification_result_or_fallbacksrc/template.rs:150fn62311.3
render_notification_email_canonicalsrc/template.rs:34fn31121.3
normalize_originsrc/template.rs:89fn167201.2
render_notification_email_or_fallbacksrc/template.rs:146fn31221.1
public_originsrc/template.rs:82fn61121.1
receipt_notificationsrc/template.rs:690fn61311
render_notification_emailsrc/template.rs:29fn31111
amount_textsrc/template.rs:370fn62321
EmailReceipt::from_valuesrc/template.rs:282method361250.9
discount_textsrc/template.rs:378fn114220.8
render_templatesrc/template.rs:134fn102100.8
render_actions_htmlsrc/template.rs:198fn265110.8
render_actions_textsrc/template.rs:225fn145110.8
render_receipt_htmlsrc/template.rs:412fn8813110.8
render_receipt_textsrc/template.rs:501fn368110.8
ReceiptLine::from_valuesrc/template.rs:334method181130.6
ReceiptLinkSpec::from_valuesrc/template.rs:355method31110.6
EmailReceipt::headingsrc/template.rs:320method117000.5
canonical_template_escapes_actions_and_blank_title_subjectsrc/template.rs:613fn331020.5
action_links_join_the_public_origin_and_refuse_unsafe_schemessrc/template.rs:648fn241020.5
resolve_link_handles_absolute_relative_and_hostile_inputssrc/template.rs:674fn151020.5
receipt_block_renders_lines_totals_next_step_links_and_metasrc/template.rs:698fn461020.5
receipt_kinds_pick_headings_and_absent_receipts_render_nothingsrc/template.rs:746fn202040.5
caller_text_spelling_a_placeholder_stays_literalsrc/template.rs:768fn71020.5
amounts_format_minor_units_and_keep_display_stringssrc/template.rs:777fn91030.5
empty_actions_and_fallback_paths_render_minimal_contentsrc/template.rs:788fn121030.5
fallback_blank_title_uses_source_app_subjectsrc/template.rs:801fn71020.5

Source not readable from this process.