Skip to content
1 viewer

rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off

crates/cre8-app-compute/src/git_provider.rs

cre8-app-compute · module git_provider · src · 930 lines (719 code, 86 comment) · sha d548ed3d89375b48

Items

const ENTRY_POINT_CANDIDATES const LANGUAGE_EXTENSIONS const LANGUAGE_EXTENSION_PATTERNS const MANIFEST_LANGUAGE_MARKERS struct GitSpecifier struct GitProvider impl GitProvider impl PackageProvider for GitProvider const SOURCE_EXTENSIONS

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
parse_git_specifiersrc/git_provider.rs:237fn2541315.6
parse_user_repo_refsrc/git_provider.rs:295fn112135.3
detect_languagesrc/git_provider.rs:445fn721024.4
detect_entry_pointsrc/git_provider.rs:484fn1651044.4
language_from_extensionsrc/git_provider.rs:472fn61303.3
GitProvider::newsrc/git_provider.rs:101method61603
manifest_languagesrc/git_provider.rs:453fn51102.4
dominant_extension_languagesrc/git_provider.rs:459fn113112.4
split_ref_pathsrc/git_provider.rs:264fn103102
split_ref_branchsrc/git_provider.rs:275fn103102
split_user_reposrc/git_provider.rs:286fn83102
entry_point_candidatessrc/git_provider.rs:501fn61101.4
package_json_can_declare_entrysrc/git_provider.rs:508fn31101.4
package_json_main_sourcesrc/git_provider.rs:512fn71101.4
language_extensionsrc/git_provider.rs:520fn51101.4
is_git_specifiersrc/git_provider.rs:219fn33301.4
extract_source_files_from_tarballsrc/git_provider.rs:417fn222241.1
fetch_single_filesrc/git_provider.rs:310fn232130.8
source_relative_pathsrc/git_provider.rs:394fn61100.8
resolve_git_filesrc/git_provider.rs:171fn181120.7
resolve_git_reposrc/git_provider.rs:190fn272140.7
tar_entry_source_pathsrc/git_provider.rs:401fn82120.7
validate_tar_entry_sizesrc/git_provider.rs:410fn62120.7
fetch_repo_tarballsrc/git_provider.rs:340fn335130.7
git_cache_keysrc/git_provider.rs:157fn62100.6
resolve_git_specsrc/git_provider.rs:164fn62120.6
GitProvider::namesrc/git_provider.rs:110trait impl31000.5
GitProvider::resolvesrc/git_provider.rs:114trait impl153060.5
GitProvider::listsrc/git_provider.rs:129trait impl242000.5
test_parse_git_specifier_full_urlsrc/git_provider.rs:535fn71010.5
test_parse_git_specifier_with_branchsrc/git_provider.rs:544fn71010.5
test_parse_git_specifier_with_pathsrc/git_provider.rs:553fn71010.5
test_parse_github_shorthandsrc/git_provider.rs:562fn71010.5
test_parse_github_shorthand_with_branchsrc/git_provider.rs:571fn71010.5
test_parse_github_shorthand_with_branch_and_pathsrc/git_provider.rs:580fn71010.5
test_parse_gh_shorthandsrc/git_provider.rs:589fn61010.5
test_parse_git_specifier_strips_dot_gitsrc/git_provider.rs:597fn41010.5
test_parse_git_specifier_full_url_with_branch_and_pathsrc/git_provider.rs:603fn71010.5
test_parse_git_specifier_error_emptysrc/git_provider.rs:612fn41010.5
test_parse_git_specifier_error_no_slashsrc/git_provider.rs:618fn51010.5
test_parse_git_specifier_error_non_githubsrc/git_provider.rs:625fn51010.5
test_is_git_specifier_positivesrc/git_provider.rs:634fn51010.5
test_is_git_specifier_negativesrc/git_provider.rs:641fn51010.5
test_detect_language_package_jsonsrc/git_provider.rs:650fn61010.5
test_detect_language_cargo_tomlsrc/git_provider.rs:658fn61010.5
test_detect_language_setup_pysrc/git_provider.rs:666fn61010.5
test_detect_language_go_modsrc/git_provider.rs:674fn61010.5
test_detect_language_gemfilesrc/git_provider.rs:682fn61010.5
test_detect_language_mix_exssrc/git_provider.rs:690fn61010.5
test_detect_language_composer_jsonsrc/git_provider.rs:698fn61010.5
test_detect_language_extension_fallbacksrc/git_provider.rs:706fn71010.5
test_detect_language_unknownsrc/git_provider.rs:715fn41010.5
test_detect_entry_point_javascriptsrc/git_provider.rs:723fn71010.5
test_detect_entry_point_javascript_srcsrc/git_provider.rs:732fn61010.5
test_detect_entry_point_rust_libsrc/git_provider.rs:740fn71010.5
test_detect_entry_point_rust_main_fallbacksrc/git_provider.rs:749fn61010.5
test_detect_entry_point_pythonsrc/git_provider.rs:757fn61010.5
test_detect_entry_point_gosrc/git_provider.rs:765fn61010.5
test_detect_entry_point_package_json_main_fieldsrc/git_provider.rs:773fn71010.5
test_detect_entry_point_last_resort_by_extensionsrc/git_provider.rs:782fn61010.5
test_detect_entry_point_none_for_unknownsrc/git_provider.rs:790fn51010.5
test_language_from_extensionsrc/git_provider.rs:799fn151010.5
test_git_provider_namesrc/git_provider.rs:818fn41010.5
test_git_provider_list_empty_cachesrc/git_provider.rs:824fn51010.5
test_git_provider_rejects_non_git_specifiersrc/git_provider.rs:831fn61010.5
test_extract_source_files_from_tarballsrc/git_provider.rs:841fn531010.5
test_git_resolve_real_single_filesrc/git_provider.rs:902fn111010.5
test_git_resolve_real_repo_tarballsrc/git_provider.rs:919fn111010.5

Source not readable from this process.