macOS
brew install fastmodlocal Homebrew formula metadata
sudo port install fastmodMacPorts ports tree · devel/fastmod/Portfile · 来源: api.github.com
安装
brew install fastmodlocal Homebrew formula metadata
sudo port install fastmodMacPorts ports tree · devel/fastmod/Portfile · 来源: api.github.com
nix profile install nixpkgs#fastmodnixpkgs package indexes · pkgs/by-name/fa/fastmod/package.nix · 来源: api.github.com
概览
Fast, partial replacement for codemod (find/replace tool for programmers)
历史
fastmod is a Rust command-line tool from Facebook Incubator for fast, regex-based, interactive find-and-replace across codebases.
The project was created publicly in 2018 as a fast partial replacement for Facebook's codemod. Its README is explicit that the design target is interactive review followed by applying a regex replacement broadly.
fastmod's adoption is concentrated among programmers doing large codebase refactors. It is primarily supported on macOS and Linux, installable with Cargo, and packaged by developer-oriented package managers.
A typical invocation supplies a regex, replacement text, and files or directories to process. fastmod walks directories in parallel, respects ignore rules, shows colored diffs, and lets the user accept, reject, or edit changes.
fastmod is notable because it brings the ripgrep ecosystem's ignore and grep crates to codemod-style source editing: boring Unix CLI inputs, Rust speed, and human-reviewed patch application.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fastmod | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/facebookincubator/fastmod
安装元数据
| 软件包键 | brew:fastmod |
|---|---|
| 版本 | 0.4.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/fastmod |
| 主页 | https://github.com/facebookincubator/fastmod |
| 仓库 | https://github.com/facebookincubator/fastmod |
| 上游文档 | https://github.com/facebookincubator/fastmod#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/facebookincubator/fastmod/archive/refs/tags/v0.4.4.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fastmod |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
fastmod
nix profile install nixpkgs#fastmodfastmod
sudo port install fastmod来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.