macOS
brew install dfmtlocal Homebrew formula metadata
安装
brew install dfmtlocal Homebrew formula metadata
nix profile install nixpkgs#dfmtnixpkgs package indexes · pkgs/by-name/df/dfmt/package.nix · 来源: api.github.com
sudo pacman -S dfmtArch Linux sync databases · dfmt · 来源: geo.mirror.pkgbuild.com
概览
Formatter for D source code
历史
dfmt is a formatter for D source code. It can read from stdin or a file, write formatted output to stdout, edit files in place, and use EditorConfig files for formatting settings.
The official tag history begins in 2015 with the 0.1.x series. The README describes the tool as beta quality and documents both DUB and source builds, reflecting its role inside the D language tooling ecosystem.
dfmt follows the formatter pattern familiar from other language communities: a small command-line tool that can be invoked directly, integrated into editors, or run by project scripts while reading shared formatting policy from `.editorconfig`.
By default dfmt reads D source from stdin and writes to stdout. When given a file and `--inplace`, it rewrites that file, while command-line options can override settings discovered through applicable `.editorconfig` files.
For package nerds, dfmt is the D ecosystem's conventional formatting binary: packaging it gives editors and build scripts a reproducible formatter without requiring each project to vendor the formatter itself.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.editorconfig可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dfmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dlang-community/dfmt
安装元数据
| 软件包键 | brew:dfmt |
|---|---|
| 版本 | 0.15.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dfmt |
| 主页 | https://github.com/dlang-community/dfmt |
| 仓库 | https://github.com/dlang-community/dfmt |
| 上游文档 | https://github.com/dlang-community/dfmt#readme |
| 许可证 | BSL-1.0 |
| 源码归档 | https://github.com/dlang-community/dfmt.git |
| 构建依赖 | ldc |
| 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 | dfmt |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dfmt
nix profile install nixpkgs#dfmtdfmt 0.15.2-1
Dfmt is a formatter for D source code
https://github.com/dlang-community/dfmt
sudo pacman -S dfmt来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.