Skip to the cargo

hk util check-added-large-files ​

  • How to hail it: hk util check-added-large-files [--maxkb <MAXKB>] <FILES>…
  • Effect: read-only (looks, never touches)

Checks for large files being added to the repository: no crates too big for the ship loaded aboard.

Cargo it takes ​

  • <FILES>… — The files to check

Flags to fly ​

  • --maxkb <MAXKB> — The most a file may weigh, in kilobytes

    Unless ye say otherwise: 500

  • -h --help — Print help, for when ye've lost yer bearings

Tales from the deck ​

Weigh each file against a size limit in kilobytes, matey.

sh
hk util check-added-large-files --maxkb 1024 assets/logo.png

Further charts ​

Built-in linters and utilities: the standing crew · Troubleshooting: the ship's log · All the bosun's calls

MIT LicenseCopyright © 2026jdx.dev