Rust Rewrite Index

file

Recognize the type of data in a file using "magic" numbers

Rust efforts

The index has yet to document a Rust effort for this project. An independent effort may already exist.

Search public Rust repositories

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Project structure

The file command is "a file type guesser", a command-line tool that tells you in words what kind of data a file contains.

Inside the source tree

Source files by extension in this snapshot · C (38), Python (5)

Selected components packaged from this source in Debian 13.

  • file · Recognize the type of data in a file using "magic" numbers
  • libmagic-mgc · File type determination library using "magic" numbers (compiled magic file)
  • libmagic1t64 · Recognize the type of data in a file using "magic" numbers - library
  • libmagic-dev · Recognize the type of data in a file using "magic" numbers - development