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-item/src/upload.rs
Items
const UPLOAD_ROUTE const DEFAULT_MAX_UPLOAD_BYTES const MAX_PARTS const STALE_STAGING static STAGING_LOCK struct Status struct Progress struct Session impl AuthenticatedSessionAccountOrigin for Session
Functions
By call-graph weight (PageRank; 1.0 is the average function). 21 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| clean_filenamesrc/upload.rs:86 | fn | 7 | 4 | 3 | 0 | 1.1 | |
| try_handlesrc/upload.rs:39 | fn | 11 | 3 | 4 | 2 | 1 | |
| error_jsonsrc/upload.rs:61 | fn | 8 | 1 | 1 | 0 | 0.9 | |
| uploadsrc/upload.rs:99 | fn | 19 | 4 | 1 | 7 | 0.9 | |
| requestsrc/upload.rs:287 | fn | 10 | 1 | 3 | 0 | 0.8 | |
| valid_upload_idsrc/upload.rs:95 | fn | 3 | 4 | 2 | 0 | 0.8 | |
| staging_keysrc/upload.rs:170 | fn | 7 | 1 | 2 | 0 | 0.8 | |
| max_upload_bytessrc/upload.rs:51 | fn | 7 | 1 | 2 | 0 | 0.7 | |
| ok_jsonsrc/upload.rs:70 | fn | 5 | 1 | 2 | 1 | 0.7 | |
| query_textsrc/upload.rs:76 | fn | 7 | 3 | 2 | 0 | 0.7 | |
| finishsrc/upload.rs:120 | fn | 25 | 4 | 2 | 6 | 0.7 | |
| upload_partsrc/upload.rs:194 | fn | 81 | 14 | 1 | 8 | 0.6 | |
| bodysrc/upload.rs:298 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| staging_dirsrc/upload.rs:160 | fn | 7 | 1 | 1 | 0 | 0.6 | |
| sweep_stalesrc/upload.rs:178 | fn | 15 | 3 | 1 | 1 | 0.6 | |
| Session::authenticated_session_account_idsrc/upload.rs:282 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| other_paths_are_not_claimedsrc/upload.rs:303 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| anonymous_uploads_are_refused_before_bytes_are_readsrc/upload.rs:310 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| part_parameters_are_validatedsrc/upload.rs:320 | fn | 12 | 1 | 0 | 5 | 0.5 | |
| filenames_lose_paths_and_markupsrc/upload.rs:334 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| staging_keys_separate_accounts_and_never_carry_inputsrc/upload.rs:343 | fn | 7 | 4 | 0 | 2 | 0.5 |
Source not readable from this process.