exercism/elixir/file-sniffer/HINTS.md

1.3 KiB

Hints

General

  • Remember to reference the table in the instructions.

1. Given an extension, return the expected media type

2. Given a binary file, return the expected media type

3. Given an extension and a binary file, verify that the file matches the expected type

  • Reuse the functions you created for parts 1 and 2.
  • Compare the return value of each function, then return the appropriate value.