Skip to main content

run

Function run 

Source
pub fn run(args: MigrateV2Args) -> Result<()>
Expand description

Entry point invoked by main.rs.

File paths are obtained from walker::find_rs_files, which enumerates entries rooted at the CLI-supplied --path directory via walkdir. No remote/HTTP input is involved; this is a developer-run codemod that rewrites files in the developer’s own checkout. Semgrep’s Actix “path-traversal” pattern flags any std::fs call whose path argument is not a string literal, but the only “untrusted” surface here is the developer’s own CLI invocation, which is an intentional capability.