rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-schedule/src/sync/caldav.rs
Items
const BOOKING_UID_PREFIX const MAX_XML_BYTES const MAX_REDIRECTS const MAX_SYNC_ROUNDS const MULTIGET_CHUNK const MAX_TITLE_CHARS const MAX_DESCRIPTION_CHARS struct DavRequest struct DavResponse impl DavResponse trait DavTransport struct HttpDav impl DavTransport for HttpDav const TABLE struct DavClient impl DavClient struct DavProp struct DavEntry impl DavEntry struct Multistatus struct MultistatusParser impl MultistatusParser const PROPFIND_PRINCIPAL const PROPFIND_HOME const PROPFIND_CALENDARS const PROPFIND_SYNC_TOKEN impl DavClient struct DavObject enum SyncRead impl DavClient struct WriteOutcome impl DavClient const PRINCIPAL const HOME const CALENDARS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 76 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| url_originsrc/sync/caldav.rs:262 | fn | 8 | 1 | 4 | 0 | 6.4 | |
| url_hostsrc/sync/caldav.rs:271 | fn | 3 | 1 | 3 | 1 | 3.4 | |
| resolve_hrefsrc/sync/caldav.rs:289 | fn | 15 | 6 | 4 | 1 | 2.3 | |
| xml_escapesrc/sync/caldav.rs:560 | fn | 3 | 1 | 3 | 0 | 2.1 | |
| parse_multistatussrc/sync/caldav.rs:530 | fn | 29 | 8 | 6 | 4 | 1.8 | |
| base64_standardsrc/sync/caldav.rs:140 | fn | 14 | 4 | 1 | 0 | 1.7 | |
| DavClient::sendsrc/sync/caldav.rs:187 | method | 41 | 7 | 5 | 2 | 1.6 | |
| dav_status_errorsrc/sync/caldav.rs:248 | fn | 10 | 5 | 5 | 1 | 1.6 | |
| DavClient::multistatussrc/sync/caldav.rs:231 | method | 14 | 2 | 5 | 3 | 1.6 | |
| sitesrc/sync/caldav.rs:278 | nested fn | 6 | 1 | 1 | 1 | 1.6 | |
| hexsrc/sync/caldav.rs:319 | nested fn | 3 | 1 | 1 | 0 | 1.4 | |
| basic_authsrc/sync/caldav.rs:136 | fn | 3 | 1 | 11 | 1 | 1.4 | |
| DavEntry::prop_textsrc/sync/caldav.rs:370 | method | 3 | 1 | 4 | 0 | 1.3 | |
| calendar_from_entrysrc/sync/caldav.rs:636 | fn | 21 | 5 | 1 | 7 | 1.3 | |
| event_icssrc/sync/caldav.rs:1044 | fn | 34 | 4 | 3 | 0 | 1.3 | |
| same_sitesrc/sync/caldav.rs:277 | fn | 9 | 1 | 2 | 1 | 1.3 | |
| general_refsrc/sync/caldav.rs:387 | fn | 7 | 2 | 1 | 0 | 1.2 | |
| DavClient::newsrc/sync/caldav.rs:180 | method | 3 | 1 | 10 | 0 | 1.2 | |
| percent_decodesrc/sync/caldav.rs:318 | fn | 20 | 5 | 2 | 1 | 1.1 | |
| first_prop_hrefsrc/sync/caldav.rs:580 | fn | 8 | 1 | 3 | 1 | 1.1 | |
| remote_id_hrefsrc/sync/caldav.rs:848 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| normalize_hrefsrc/sync/caldav.rs:308 | fn | 9 | 3 | 3 | 2 | 1 | |
| DavResponse::successsrc/sync/caldav.rs:86 | method | 3 | 1 | 3 | 0 | 1 | |
| parse_status_linesrc/sync/caldav.rs:383 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| DavClient::put_resourcesrc/sync/caldav.rs:1090 | method | 15 | 4 | 3 | 3 | 0.9 | |
| calendars_from_multistatussrc/sync/caldav.rs:627 | fn | 8 | 2 | 2 | 1 | 0.9 | |
| objects_fromsrc/sync/caldav.rs:701 | fn | 20 | 6 | 3 | 2 | 0.9 | |
| event_textsrc/sync/caldav.rs:395 | fn | 10 | 4 | 1 | 1 | 0.9 | |
| element_name_attributesrc/sync/caldav.rs:406 | fn | 8 | 1 | 1 | 0 | 0.9 | |
| MultistatusParser::push_textsrc/sync/caldav.rs:508 | method | 11 | 3 | 1 | 0 | 0.9 | |
| local_namesrc/sync/caldav.rs:521 | fn | 7 | 2 | 1 | 0 | 0.9 | |
| remote_id_event_uidsrc/sync/caldav.rs:853 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| discoversrc/sync/caldav.rs:674 | fn | 15 | 4 | 4 | 4 | 0.7 | |
| well_known_urlsrc/sync/caldav.rs:340 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| DavClient::current_user_principalsrc/sync/caldav.rs:593 | method | 11 | 3 | 2 | 4 | 0.7 | |
| account_authorizationsrc/sync/caldav.rs:157 | fn | 15 | 1 | 4 | 4 | 0.7 | |
| multiget_bodysrc/sync/caldav.rs:739 | fn | 7 | 1 | 1 | 1 | 0.7 | |
| eventsrc/sync/caldav.rs:1267 | fn | 5 | 1 | 3 | 0 | 0.7 | |
| DavClient::multigetsrc/sync/caldav.rs:777 | method | 9 | 2 | 2 | 3 | 0.7 | |
| mirror_remote_idsrc/sync/caldav.rs:843 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| DavClient::calendar_homesrc/sync/caldav.rs:605 | method | 5 | 1 | 1 | 2 | 0.7 | |
| DavClient::list_calendarssrc/sync/caldav.rs:611 | method | 5 | 1 | 1 | 2 | 0.7 | |
| hex_colorsrc/sync/caldav.rs:659 | fn | 6 | 4 | 1 | 0 | 0.6 | |
| vtimezone_tzidsrc/sync/caldav.rs:667 | fn | 4 | 1 | 1 | 0 | 0.6 | |
| DavClient::delete_resourcesrc/sync/caldav.rs:1107 | method | 11 | 4 | 2 | 3 | 0.6 | |
| booking_uidsrc/sync/caldav.rs:1031 | fn | 5 | 1 | 2 | 0 | 0.6 | |
| reportsrc/sync/caldav.rs:1273 | fn | 30 | 6 | 2 | 1 | 0.6 | |
| upsert_idssrc/sync/caldav.rs:916 | fn | 9 | 2 | 2 | 0 | 0.6 | |
| calendar_query_bodysrc/sync/caldav.rs:722 | fn | 8 | 1 | 1 | 0 | 0.6 | |
| map_calendar_objectsrc/sync/caldav.rs:859 | fn | 32 | 3 | 2 | 3 | 0.6 | |
| replaced_occurrencessrc/sync/caldav.rs:929 | fn | 11 | 2 | 2 | 1 | 0.6 | |
| pull_remote_calendarsrc/sync/caldav.rs:943 | fn | 83 | 5 | 2 | 12 | 0.6 | |
| resource_urlsrc/sync/caldav.rs:1038 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| sync_collection_bodysrc/sync/caldav.rs:731 | fn | 7 | 1 | 1 | 1 | 0.6 | |
| DavClient::sync_tokensrc/sync/caldav.rs:618 | method | 5 | 1 | 1 | 2 | 0.5 | |
| DavClient::calendar_querysrc/sync/caldav.rs:764 | method | 12 | 1 | 1 | 4 | 0.5 | |
| DavClient::sync_collectionsrc/sync/caldav.rs:788 | method | 52 | 15 | 1 | 7 | 0.5 | |
| drop_native_echoessrc/sync/caldav.rs:894 | fn | 20 | 3 | 1 | 2 | 0.5 | |
| push_bookingsrc/sync/caldav.rs:1122 | fn | 81 | 9 | 1 | 6 | 0.5 | |
| DavResponse::headersrc/sync/caldav.rs:82 | method | 3 | 1 | 0 | 0 | 0.5 | |
| DavResponse::with_headersrc/sync/caldav.rs:90 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HttpDav::sendsrc/sync/caldav.rs:107 | trait impl | 21 | 1 | 0 | 2 | 0.5 | |
| HttpDav::sendsrc/sync/caldav.rs:130 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| MultistatusParser::opensrc/sync/caldav.rs:429 | method | 26 | 9 | 0 | 0 | 0.5 | |
| MultistatusParser::closesrc/sync/caldav.rs:456 | method | 51 | 17 | 0 | 1 | 0.5 | |
| multistatus_reads_principal_home_and_calendar_propertiessrc/sync/caldav.rs:1305 | fn | 28 | 3 | 0 | 3 | 0.5 | |
| sync_collection_answers_split_into_changes_removals_and_a_tokensrc/sync/caldav.rs:1335 | fn | 15 | 1 | 0 | 4 | 0.5 | |
| document_type_declarations_and_broken_xml_are_refusedsrc/sync/caldav.rs:1352 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| hrefs_resolve_and_normalize_across_server_spellingssrc/sync/caldav.rs:1359 | fn | 15 | 1 | 0 | 5 | 0.5 | |
| redirects_are_followed_within_a_site_onlysrc/sync/caldav.rs:1376 | fn | 20 | 1 | 0 | 5 | 0.5 | |
| resources_map_occurrences_and_skip_cre8_bookingssrc/sync/caldav.rs:1398 | fn | 37 | 1 | 0 | 7 | 0.5 | |
| event_ics_carries_stamp_location_and_folds_long_linessrc/sync/caldav.rs:1437 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| discovery_walks_principal_home_and_calendar_listsrc/sync/caldav.rs:1447 | fn | 15 | 3 | 0 | 5 | 0.5 | |
| a_refused_login_is_an_error_not_an_empty_accountsrc/sync/caldav.rs:1464 | fn | 6 | 1 | 0 | 5 | 0.5 | |
| writes_are_etag_conditional_and_retry_a_lost_preconditionsrc/sync/caldav.rs:1472 | fn | 14 | 3 | 0 | 6 | 0.5 | |
| a_caldav_calendar_pulls_in_full_then_incrementally_with_removalssrc/sync/caldav.rs:1488 | fn | 98 | 2 | 0 | 18 | 0.5 |
Source not readable from this process.