sharkdp/bat · Architecture
A static read of how sharkdp/bat is wired together — module coupling, layering, and circular dependencies — derived from its import graph.
A
Architecture grade
score 95/100
1
Import cycles
lower is better
62
Modules parsed
81 edges
99%
Layeredness
clean-layer ratio
Most-depended-on modules
These are the highest-fan-in files — change them and the blast radius is largest. Read them first.
- src/error.rs13 importers · radius 19
- src/assets.rs5 importers · radius 7
- src/input.rs5 importers · radius 8
- src/config.rs4 importers · radius 5
- src/line_range.rs4 importers · radius 6
- src/paging.rs4 importers · radius 8
- src/diff.rs4 importers · radius 4
- src/output.rs3 importers · radius 4
Modules (4)
Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.
- src25 files · 73 in-degree · in cycle
- src/bin/bat8 files · 7 in-degree
- src/syntax_mapping2 files · 1 in-degree
- src/assets2 files · 0 in-degree
Circular dependencies (1)
- src/printer.rs to src/decorations.rs to src/printer.rs
Ask AI about sharkdp/bat
Grounded in the actual source code. Pick a starter question or write your own.
What does this repo do, in one paragraph?How would I get started using it?What are the main alternatives?Show me the entry point.
Or write your own questionInformational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.