rust 1,860,549 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,408 files · digest 90d31b690958 · built in 1.9 s · crystals off
crates/cre8-app-transport/src/supplier_catalog.rs
Items
struct SupplierCatalogVariant trait SupplierCatalogProvider struct FakeSupplierCatalogProvider impl SupplierCatalogProvider for FakeSupplierCatalogProvider const TEE_IMG const MUG_IMG const POSTER_IMG struct PrintfulProductSummary struct PrintfulCatalogProvider impl SupplierCatalogProvider for PrintfulCatalogProvider struct GelatoCatalogProvider impl SupplierCatalogProvider for GelatoCatalogProvider const PAGE_LIMIT const MAX_PAGES struct PrintifyCatalogProvider impl SupplierCatalogProvider for PrintifyCatalogProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 50 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| variant_labelsrc/supplier_catalog.rs:96 | fn | 13 | 5 | 7 | 0 | 4.2 | |
| mock_catalog_variantssrc/supplier_catalog.rs:134 | fn | 53 | 3 | 12 | 1 | 2.2 | |
| catalog_provider_forsrc/supplier_catalog.rs:77 | fn | 13 | 8 | 4 | 0 | 1.4 | |
| push_unique_media_urlsrc/supplier_catalog.rs:388 | fn | 5 | 3 | 2 | 0 | 1.4 | |
| id_stringsrc/supplier_catalog.rs:395 | fn | 7 | 3 | 2 | 0 | 1.1 | |
| append_product_variantssrc/supplier_catalog.rs:678 | fn | 50 | 6 | 1 | 3 | 1.1 | |
| retail_price_minorsrc/supplier_catalog.rs:112 | fn | 3 | 1 | 2 | 0 | 1 | |
| variants_from_store_productssrc/supplier_catalog.rs:490 | fn | 61 | 7 | 2 | 2 | 1 | |
| fetch_catalog_implsrc/supplier_catalog.rs:218 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| fetch_catalog_implsrc/supplier_catalog.rs:437 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| fetch_catalog_implsrc/supplier_catalog.rs:621 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| string_or_numbersrc/supplier_catalog.rs:552 | fn | 7 | 3 | 1 | 0 | 0.9 | |
| price_minor_valuesrc/supplier_catalog.rs:560 | fn | 9 | 3 | 1 | 0 | 0.9 | |
| variant_mediasrc/supplier_catalog.rs:731 | fn | 24 | 4 | 1 | 1 | 0.8 | |
| price_centssrc/supplier_catalog.rs:757 | fn | 7 | 3 | 1 | 0 | 0.8 | |
| push_printful_file_preview_urlsrc/supplier_catalog.rs:381 | fn | 5 | 2 | 1 | 1 | 0.8 | |
| has_next_pagesrc/supplier_catalog.rs:659 | fn | 6 | 2 | 2 | 0 | 0.7 | |
| variants_from_products_pagesrc/supplier_catalog.rs:669 | fn | 8 | 2 | 2 | 1 | 0.7 | |
| printful_catalog_headerssrc/supplier_catalog.rs:231 | fn | 14 | 2 | 1 | 4 | 0.6 | |
| fetch_printful_catalog_productssrc/supplier_catalog.rs:247 | fn | 24 | 2 | 1 | 4 | 0.6 | |
| append_printful_catalog_productsrc/supplier_catalog.rs:273 | fn | 19 | 3 | 1 | 4 | 0.6 | |
| printful_product_summarysrc/supplier_catalog.rs:294 | fn | 11 | 2 | 1 | 1 | 0.6 | |
| fetch_printful_product_detailsrc/supplier_catalog.rs:307 | fn | 13 | 1 | 1 | 3 | 0.6 | |
| printful_product_variantssrc/supplier_catalog.rs:322 | fn | 6 | 1 | 1 | 0 | 0.6 | |
| printful_catalog_variantsrc/supplier_catalog.rs:330 | fn | 26 | 2 | 1 | 5 | 0.6 | |
| printful_variant_primary_imagesrc/supplier_catalog.rs:358 | fn | 8 | 1 | 1 | 0 | 0.6 | |
| collect_media_urlssrc/supplier_catalog.rs:369 | fn | 10 | 3 | 1 | 2 | 0.6 | |
| gelato_api_keysrc/supplier_catalog.rs:454 | fn | 7 | 1 | 1 | 2 | 0.6 | |
| gelato_store_idsrc/supplier_catalog.rs:463 | fn | 7 | 1 | 1 | 2 | 0.6 | |
| request_gelato_catalogsrc/supplier_catalog.rs:472 | fn | 14 | 1 | 1 | 3 | 0.6 | |
| SupplierCatalogProvider::search_catalogsrc/supplier_catalog.rs:55 | trait default | 18 | 1 | 0 | 0 | 0.5 | |
| FakeSupplierCatalogProvider::provider_idsrc/supplier_catalog.rs:122 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeSupplierCatalogProvider::fetch_catalogsrc/supplier_catalog.rs:126 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| PrintfulCatalogProvider::provider_idsrc/supplier_catalog.rs:208 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PrintfulCatalogProvider::fetch_catalogsrc/supplier_catalog.rs:212 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| fetch_catalog_implsrc/supplier_catalog.rs:223 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| GelatoCatalogProvider::provider_idsrc/supplier_catalog.rs:427 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| GelatoCatalogProvider::fetch_catalogsrc/supplier_catalog.rs:431 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| fetch_catalog_implsrc/supplier_catalog.rs:442 | fn | 10 | 2 | 0 | 6 | 0.5 | |
| PrintifyCatalogProvider::provider_idsrc/supplier_catalog.rs:611 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PrintifyCatalogProvider::fetch_catalogsrc/supplier_catalog.rs:615 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| fetch_catalog_implsrc/supplier_catalog.rs:626 | fn | 30 | 5 | 0 | 11 | 0.5 | |
| variant_label_strips_product_prefixsrc/supplier_catalog.rs:771 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| retail_price_parses_dollars_to_minorsrc/supplier_catalog.rs:786 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| mock_catalog_groups_tee_variants_under_one_productsrc/supplier_catalog.rs:793 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| factory_resolves_fake_and_printfulsrc/supplier_catalog.rs:806 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| printify_products_lift_enabled_variants_in_centssrc/supplier_catalog.rs:815 | fn | 62 | 1 | 0 | 3 | 0.5 | |
| printify_mock_key_uses_offline_catalog_without_shop_idsrc/supplier_catalog.rs:880 | fn | 25 | 1 | 0 | 8 | 0.5 | |
| gelato_store_products_lift_into_variantssrc/supplier_catalog.rs:907 | fn | 39 | 1 | 0 | 1 | 0.5 | |
| gelato_mock_key_uses_offline_catalog_without_store_idsrc/supplier_catalog.rs:949 | fn | 22 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.