MCPcopy Create free account

hub / github.com/analysis-tools-dev/static-analysis / functions

Functions48 in github.com/analysis-tools-dev/static-analysis

↓ 5 callersFunctionparse_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 callersMethodget
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 callersMethodany_fail
(&self)
ci/pr-check/src/main.rs:114
↓ 3 callersMethodis_fail
(&self)
ci/pr-check/src/main.rs:82
↓ 3 callersFunctionrender_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 callersMethodstatus
(&self)
ci/pr-check/src/main.rs:118
↓ 2 callersFunctionbackfill_deprecated
Backfills the deprecated field in the tools data from the old tools data.
ci/render/src/bin/main.rs:54
↓ 1 callersFunctioncheck_deprecated
(token: String, entries: &mut Vec<Entry>)
ci/render/src/lib.rs:23
↓ 1 callersFunctioncheck_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 callersMethodcmp
(&self, other: &Entry)
ci/render/src/types.rs:198
↓ 1 callersMethodcontributor_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 callersFunctioncreate_api
(catalog: Catalog, languages: &[Tag], other_tags: &[Tag])
ci/render/src/lib.rs:109
↓ 1 callersFunctioncreate_catalog
(entries: &[Entry], languages: &[Tag], other_tags: &[Tag])
ci/render/src/lib.rs:67
↓ 1 callersMethodcreate_pr_comment
Creates a new PR comment. # Errors Returns an error if the API call fails.
ci/pr-check/src/main.rs:229
↓ 1 callersFunctionget_tag
(t: &str, tags: &[Tag])
ci/render/src/types.rs:182
↓ 1 callersMethodis_c_cpp
(&self)
ci/render/src/types.rs:123
↓ 1 callersMethodlist_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 callersFunctionparse_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 callersFunctionread_tags
(path: PathBuf)
ci/render/src/bin/main.rs:26
↓ 1 callersFunctionread_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 callersFunctionread_tools
(path: PathBuf)
ci/render/src/bin/main.rs:31
↓ 1 callersMethodrepo_info
Fetches repository metadata. # Errors Returns an error if the API call fails.
ci/pr-check/src/main.rs:187
↓ 1 callersMethodupdate_pr_comment
Updates an existing PR comment. # Errors Returns an error if the API call fails.
ci/pr-check/src/main.rs:258
↓ 1 callersFunctionupsert_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 callersFunctionvalid
(entry: &ParsedEntry, tags: &[Tag])
ci/render/src/lib.rs:17
Functionformat_stats
(stats: StatsRaw)
ci/render/src/lib.rs:195
Methodfrom_parsed
(p: ParsedEntry, tags: &[Tag])
ci/render/src/types.rs:134
Methodlinter_rows
(&self)
ci/render/src/types.rs:234
Functionmain
()
ci/render/src/bin/main.rs:74
Functionmain
()
ci/pr-check/src/main.rs:447
Methodmessage
(&self)
ci/pr-check/src/main.rs:94
Functionmin_one_tag
(entry: &ParsedEntry, _: &[Tag])
ci/render/src/lints.rs:18
Functionname
(entry: &ParsedEntry, _: &[Tag])
ci/render/src/lints.rs:6
Methodnew
(name: &str, value: &str, tag_type: Type)
ci/render/src/types.rs:26
Methodnew
Creates a new client. # Errors Returns an error if the `reqwest` client cannot be constructed.
ci/pr-check/src/main.rs:142
Methodother_rows
(&self)
ci/render/src/types.rs:238
Functionparse_path
(s: &OsStr)
ci/render/src/bin/main.rs:22
Functionparses_plain_github_url
()
ci/pr-check/src/main.rs:512
Functionparses_trailing_slash
()
ci/pr-check/src/main.rs:518
Methodpartial_cmp
(&self, other: &Entry)
ci/render/src/types.rs:192
Functionrejects_gitlab
()
ci/pr-check/src/main.rs:530
Functionrejects_missing_repo
()
ci/pr-check/src/main.rs:536
Functionrejects_subpath
()
ci/pr-check/src/main.rs:524
Functionrender_comment_contains_marker
()
ci/pr-check/src/main.rs:548
Functionrender_comment_no_files
()
ci/pr-check/src/main.rs:542
Methodrows
(map: &EntryMap)
ci/render/src/types.rs:214
Methodsymbol
(&self)
ci/pr-check/src/main.rs:86
Functiontest_slugify
()
ci/render/src/lib.rs:181