1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off
crates/cre8-app-git/src/commit_snapshot.rs
Items
const SCHEMA const MAX_PATCH_BYTES struct CommitSnapshot impl CommitSnapshot const SHA const TREE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 19 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| gitsrc/commit_snapshot.rs:169 | fn | 5 | 2 | 7 | 1 | 3.8 | |
| read_commit_snapshotsrc/commit_snapshot.rs:117 | fn | 36 | 6 | 8 | 4 | 3.6 | |
| is_full_oidsrc/commit_snapshot.rs:22 | fn | 3 | 3 | 6 | 0 | 3 | |
| digestsrc/commit_snapshot.rs:86 | fn | 3 | 1 | 3 | 1 | 2.6 | |
| explicit_filessrc/commit_snapshot.rs:28 | fn | 15 | 10 | 5 | 0 | 1.9 | |
| CommitSnapshot::commitmentsrc/commit_snapshot.rs:91 | method | 6 | 1 | 2 | 1 | 1.4 | |
| git_textsrc/commit_snapshot.rs:174 | fn | 3 | 1 | 3 | 1 | 1.2 | |
| fixturesrc/commit_snapshot.rs:157 | fn | 12 | 1 | 4 | 1 | 1 | |
| commit_selected_filessrc/commit_snapshot.rs:46 | fn | 39 | 8 | 4 | 2 | 0.9 | |
| samplesrc/commit_snapshot.rs:232 | fn | 5 | 2 | 1 | 1 | 0.9 | |
| headsrc/commit_snapshot.rs:177 | fn | 1 | 1 | 2 | 1 | 0.7 | |
| CommitSnapshot::validatesrc/commit_snapshot.rs:100 | method | 13 | 14 | 0 | 3 | 0.5 | |
| real_git_commit_excludes_foreign_staging_and_treats_paths_literallysrc/commit_snapshot.rs:179 | fn | 20 | 2 | 0 | 6 | 0.5 | |
| real_git_snapshot_survives_head_index_and_replace_ref_changessrc/commit_snapshot.rs:200 | fn | 14 | 1 | 0 | 4 | 0.5 | |
| directories_are_refused_before_any_index_writesrc/commit_snapshot.rs:215 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| real_git_supports_already_staged_deletions_and_refuses_deleted_directory_scopessrc/commit_snapshot.rs:220 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| snapshot_binds_patch_repository_commit_and_parentsrc/commit_snapshot.rs:238 | fn | 16 | 6 | 0 | 1 | 0.5 | |
| rejects_refs_options_placeholders_merges_and_lossy_patchessrc/commit_snapshot.rs:255 | fn | 11 | 4 | 0 | 1 | 0.5 | |
| malformed_file_scopes_never_mean_all_filessrc/commit_snapshot.rs:267 | fn | 9 | 2 | 0 | 1 | 0.5 |
Source not readable from this process.