Module fif::utils

source ·
Expand description

Various minor utilities.

Constants§

  • The backend being used; either “Infer” or “XDG-Mime”.
  • The current version of fif, as defined in Cargo.toml.

Statics§

  • A Mime representing the “application/zip” MIME type.
  • The version defined in Cargo.toml, prefixed with a v (e.g. “v0.4.0”), followed by the chosen backend and abbreviated git commit hash in parentheses - For example, “v0.4.0 (XDG-Mime backend, commit #043e097)”

Functions§

  • Returns the name of the target operating system with proper casing, like “Windows” or “macOS”.