Lintian::P...elds::Files(3)

✨ NAME ✨

Lintian::Processable::Fields::Files β€” bestie, this is the Lintian interface for collecting data out of .buildinfo or changes files πŸ’–


🌸 SYNOPSIS 🌸

use Moo;

with 'Lintian::Processable::Fields::Files';

That's it, that's the whole vibe check. Roll it into your Moo class and you're literally done ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

So Lintian::Processable::Fields::Files hands you an interface to the data sitting inside .buildinfo and changes files. No cap. It implements the data collection methods that are specific to .buildinfo and changes files, so you don't have to go spelunking through them yourself. It's giving very "I already did the homework, you're welcome" πŸ’…


πŸ‘‘ INSTANCE METHODS πŸ‘‘

πŸ’œ files

Returns a reference to a hash full of info about the files listed in the .buildinfo file. Slay. Every hash in there can have these keys:

  • name β€” the name of the file. Simple. Iconic. No notes πŸŽ€
  • size β€” the size of the file, in bytes.
  • section β€” the archive section the file belongs to.
  • priority β€” the priority of the file.
  • checksums β€” a hash where the keys are checksum algorithms and the values are themselves hashes containing:
    • sum β€” the result of applying that given algorithm to the file. ✨
    • filesize β€” the size of the file as given in the .buildinfo section relating to that given checksum. Yes, bestie, it's the size reported alongside that specific checksum, not necessarily the same as size up top β€” read the key names, they're telling you something πŸ™ˆ

🫢 AUTHOR 🫢

Originally written by Adam D. Barratt <adsb@debian.org> for Lintian. A legend, fr fr πŸ‘‘


🌈 SEE ALSO 🌈


Okay so that's the whole page, you ate that πŸ’– This was Lintian v2.139.0ubuntu2, dated 2026-10-08, and the page itself is Lintian::P...elds::Files(3) β€” go forth and parse some .buildinfo files, main character energy only πŸ¦‹βœ¨

πŸ“¦ where this page comes from