@use super::base; @use crate::statics::VersionInfo; @use crate::template::RepoInfo; @(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo, label: String) @:base("Hits-of-Code Badges", "Overview", {
The project @repo_info.url has
@repo_info.hoc_pretty (exactly @repo_info.hoc) hits of code at
@repo_info.head on the
@repo_info.branch
branch. The repository contains
@repo_info.commits commits.
To include the badge in your readme, use the following markdown:
[![@label](@repo_info.base_url/@repo_info.path?branch=@repo_info.branch&label=@label)](@repo_info.base_url/@repo_info.path/view?branch=@repo_info.branch&label=@label)}, version_info, repo_count)