{"modulePath":"github.com/uber/submitqueue","version":"v0.3.0-20261125210437-add1a4bd2ea2","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\nCommand binaryfile checks that no binary file is tracked in the repository.\n\nThe build is Bazel-driven and every artifact it produces lands in an ignored directory — bazel-bin/, bin/, or .docker-bin/ — so a tracked binary is always a mistake. The usual cause is an ad-hoc \\`go build ./service/...\\` run from the repo root: it names its executable after the package directory and writes it to the working directory, where a broad \\`git add\\` sweeps it up.\n\nChecking rather than ignoring is deliberate. A .gitignore entry would stop the file being committed but would also stop git mentioning it at all, so the mistake becomes invisible and the stray artifact simply accumulates. A check that fails names the file and says what to do instead.\n\nDetection follows git's own heuristic: a file is binary if a NUL byte appears in its leading bytes.\n\n","path":"github.com/uber/submitqueue/tool/linter/binaryfile","name":"main","synopsis":"Command binaryfile checks that no binary file is tracked in the repository.","isRedistributable":true}
