Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/analysis-tools-dev/static-analysis
/ functions
Functions
48 in github.com/analysis-tools-dev/static-analysis
⨍
Functions
48
◇
Types & classes
28
↓ 5 callers
Function
parse_github_repo
Parses `owner` and `repo` out of a GitHub URL like `https://github.com/owner/repo` or `https://github.com/owner/repo/`. Returns `None` for non-GitHub
ci/pr-check/src/main.rs:286
↓ 4 callers
Method
get
Sends an authenticated GET request and deserialises the JSON body. # Errors Returns an error on network failure or if the response cannot be deseria
ci/pr-check/src/main.rs:156
↓ 3 callers
Method
any_fail
(&self)
ci/pr-check/src/main.rs:114
↓ 3 callers
Method
is_fail
(&self)
ci/pr-check/src/main.rs:82
↓ 3 callers
Function
render_comment
Renders all tool reports into a Markdown comment body. # Errors Returns an error if the template fails to render.
ci/pr-check/src/main.rs:408
↓ 3 callers
Method
status
(&self)
ci/pr-check/src/main.rs:118
↓ 2 callers
Function
backfill_deprecated
Backfills the deprecated field in the tools data from the old tools data.
ci/render/src/bin/main.rs:54
↓ 1 callers
Function
check_deprecated
(token: String, entries: &mut Vec<Entry>)
ci/render/src/lib.rs:23
↓ 1 callers
Function
check_tool
Runs all contributing-criteria checks for one tool. # Errors Returns an error only for unexpected failures (network, auth). Missing criteria produce
ci/pr-check/src/main.rs:319
↓ 1 callers
Method
cmp
(&self, other: &Entry)
ci/render/src/types.rs:198
↓ 1 callers
Method
contributor_count
Fetches the contributor list (up to 100, which is enough to confirm whether there is more than one human contributor). # Errors Returns an error if
ci/pr-check/src/main.rs:198
↓ 1 callers
Function
create_api
(catalog: Catalog, languages: &[Tag], other_tags: &[Tag])
ci/render/src/lib.rs:109
↓ 1 callers
Function
create_catalog
(entries: &[Entry], languages: &[Tag], other_tags: &[Tag])
ci/render/src/lib.rs:67
↓ 1 callers
Method
create_pr_comment
Creates a new PR comment. # Errors Returns an error if the API call fails.
ci/pr-check/src/main.rs:229
↓ 1 callers
Function
get_tag
(t: &str, tags: &[Tag])
ci/render/src/types.rs:182
↓ 1 callers
Method
is_c_cpp
(&self)
ci/render/src/types.rs:123
↓ 1 callers
Method
list_pr_comments
Lists all comments on a PR/issue. # Errors Returns an error if the API call fails.
ci/pr-check/src/main.rs:217
↓ 1 callers
Function
parse_pr_number
Parses a PR number from a string. # Errors Returns an error if the string is not a valid integer.
ci/pr-check/src/main.rs:440
↓ 1 callers
Function
read_tags
(path: PathBuf)
ci/render/src/bin/main.rs:26
↓ 1 callers
Function
read_tool
Reads and deserialises a single tool YAML file. # Errors Returns an error if the file cannot be read or parsed.
ci/pr-check/src/main.rs:308
↓ 1 callers
Function
read_tools
(path: PathBuf)
ci/render/src/bin/main.rs:31
↓ 1 callers
Method
repo_info
Fetches repository metadata. # Errors Returns an error if the API call fails.
ci/pr-check/src/main.rs:187
↓ 1 callers
Method
update_pr_comment
Updates an existing PR comment. # Errors Returns an error if the API call fails.
ci/pr-check/src/main.rs:258
↓ 1 callers
Function
upsert_comment
Posts or updates the bot comment on the PR. # Errors Returns an error if the GitHub API calls fail.
ci/pr-check/src/main.rs:424
↓ 1 callers
Function
valid
(entry: &ParsedEntry, tags: &[Tag])
ci/render/src/lib.rs:17
Function
format_stats
(stats: StatsRaw)
ci/render/src/lib.rs:195
Method
from_parsed
(p: ParsedEntry, tags: &[Tag])
ci/render/src/types.rs:134
Method
linter_rows
(&self)
ci/render/src/types.rs:234
Function
main
()
ci/render/src/bin/main.rs:74
Function
main
()
ci/pr-check/src/main.rs:447
Method
message
(&self)
ci/pr-check/src/main.rs:94
Function
min_one_tag
(entry: &ParsedEntry, _: &[Tag])
ci/render/src/lints.rs:18
Function
name
(entry: &ParsedEntry, _: &[Tag])
ci/render/src/lints.rs:6
Method
new
(name: &str, value: &str, tag_type: Type)
ci/render/src/types.rs:26
Method
new
Creates a new client. # Errors Returns an error if the `reqwest` client cannot be constructed.
ci/pr-check/src/main.rs:142
Method
other_rows
(&self)
ci/render/src/types.rs:238
Function
parse_path
(s: &OsStr)
ci/render/src/bin/main.rs:22
Function
parses_plain_github_url
()
ci/pr-check/src/main.rs:512
Function
parses_trailing_slash
()
ci/pr-check/src/main.rs:518
Method
partial_cmp
(&self, other: &Entry)
ci/render/src/types.rs:192
Function
rejects_gitlab
()
ci/pr-check/src/main.rs:530
Function
rejects_missing_repo
()
ci/pr-check/src/main.rs:536
Function
rejects_subpath
()
ci/pr-check/src/main.rs:524
Function
render_comment_contains_marker
()
ci/pr-check/src/main.rs:548
Function
render_comment_no_files
()
ci/pr-check/src/main.rs:542
Method
rows
(map: &EntryMap)
ci/render/src/types.rs:214
Method
symbol
(&self)
ci/pr-check/src/main.rs:86
Function
test_slugify
()
ci/render/src/lib.rs:181