1 viewer
rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off
cre8-platform-fs crates cargo crate
Platform-safe filesystem operations. Native: delegates to std::fs. Wasm: no-op or error. Third crate in the cre8-platform-* tier.
0workspace deps
24direct dependents
204transitive dependents
0calls out
61calls in
65.7call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 19 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| read_with_limitsrc/lib.rs:25 | fn | 22 | 2 | 16 | 1 | 17.9 | |
| read_limited_readersrc/lib.rs:49 | fn | 14 | 2 | 2 | 0 | 16.1 | |
| read_to_string_with_limitsrc/lib.rs:76 | fn | 4 | 1 | 25 | 1 | 14.2 | |
| remove_filesrc/lib.rs:109 | fn | 11 | 1 | 5 | 0 | 3.5 | |
| create_dir_allsrc/lib.rs:97 | fn | 11 | 1 | 9 | 0 | 3.2 | |
| metadatasrc/lib.rs:145 | fn | 11 | 1 | 7 | 0 | 1.7 | |
| existssrc/lib.rs:157 | fn | 11 | 1 | 3 | 0 | 1.2 | |
| writesrc/lib.rs:81 | fn | 11 | 1 | 2 | 0 | 1.2 | |
| temp_pathsrc/lib.rs:174 | fn | 7 | 1 | 4 | 0 | 1.1 | |
| write_stringsrc/lib.rs:93 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| renamesrc/lib.rs:133 | fn | 11 | 1 | 2 | 0 | 0.7 | |
| read_to_stringsrc/lib.rs:64 | fn | 11 | 1 | 2 | 0 | 0.6 | |
| readsrc/lib.rs:13 | fn | 11 | 1 | 1 | 0 | 0.5 | |
| remove_dir_allsrc/lib.rs:121 | fn | 11 | 1 | 1 | 0 | 0.5 | |
| read_with_limit_allows_exact_sizesrc/lib.rs:183 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| read_with_limit_rejects_oversized_filesrc/lib.rs:192 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| filesystem_wrappers_cover_native_file_lifecyclesrc/lib.rs:201 | fn | 21 | 1 | 0 | 10 | 0.5 | |
| read_to_string_with_limit_rejects_invalid_utf8src/lib.rs:224 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| read_limited_reader_rejects_growth_after_metadata_checksrc/lib.rs:233 | fn | 6 | 1 | 0 | 1 | 0.5 |
Outside the workspace
anyhow