Docs.rs
  • file-identify-0.2.0
    • file-identify 0.2.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • grok-rs
    • Dependencies
      • clap ^4.0 normal
      • once_cell ^1.19 normal
      • phf ^0.12.1 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • smallvec ^1.11 normal
      • thiserror ^2.0.12 normal
      • tempfile ^3.8 dev
    • Versions
    • 59.32% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

file_identify0.2.0

Crate Items

  • Structs
  • Enums
  • Constants
  • Statics
  • Functions
  • Type Aliases

List of all items

Structs

  • FileIdentifier
  • ShebangTuple

Enums

  • IdentifyError

Functions

  • extensions::get_extension_tags
  • extensions::get_extensions_need_binary_check_tags
  • extensions::get_name_tags
  • file_is_text
  • interpreters::get_interpreter_tags
  • is_text
  • parse_shebang
  • parse_shebang_from_file
  • tags::is_encoding_tag
  • tags::is_mode_tag
  • tags::is_type_tag
  • tags::tags_from_array
  • tags_from_filename
  • tags_from_interpreter
  • tags_from_path

Type Aliases

  • Result
  • tags::TagSet

Statics

  • extensions::EXTENSIONS_NEED_BINARY_CHECK_TAGS
  • extensions::EXTENSION_TAGS
  • extensions::NAME_TAGS
  • tags::ENCODING_TAGS
  • tags::MODE_TAGS
  • tags::TYPE_TAGS

Constants

  • tags::BINARY
  • tags::DIRECTORY
  • tags::EXECUTABLE
  • tags::FILE
  • tags::NON_EXECUTABLE
  • tags::SOCKET
  • tags::SYMLINK
  • tags::TEXT