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
magic/· 349 indexed filestests/· 183 indexed filessrc/· 50 indexed filespython/· 10 indexed filesm4/· 6 indexed files
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" numberslibmagic-mgc· File type determination library using "magic" numbers (compiled magic file)libmagic1t64· Recognize the type of data in a file using "magic" numbers - librarylibmagic-dev· Recognize the type of data in a file using "magic" numbers - development