.srv
1 claimant
0 primary
1 secondary
secondary-only
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
103.9K
total files
42.0K
first seen 2021–2025 (40.5%)
2020
median year (half its files since)
Case variants in archive: .srv (101.8K), .SRV (2.1K), .SrV (1), .sRv (1) — aggregated above.
Attribution status
This extension is attributed to ROS Interface — every claim across all sources (including secondary ones) points to a single language.
Authoritative sources: △ Linguist · secondary ✗ Pygments · no claim ✗ Wikidata · no claim ✗ Wikipedia · no claim
Claimants (1)
Languages that list
.srv among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| ROS Interface | linguist | secondary |
Disambiguation rules (1)
Linguist heuristics that decide, by content, which language a
.srv file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.srv/0 | ROS Interface | predicates | [{"kind": "any", "regexes": ["(?i)^[a-z]\\w*(?:\\/[a-z]\\w*)?(?:<=\\d+)?(?:\\[(?:<=\\d+)?\\])?\\s+\\w+\\b"]}, {"kind": "any", "regexes": ["^---\\s*$"]}, {"kind": "not_any", "regexes": ["^\\s*[^\\s@#\\ |
SWH-mined examples (0)
No archived examples for .srv in our local mirror yet.