gen_magic
gen_magic copied to clipboard
Fantasia in Elixir — Binary-level file content identification, powered by libmagic
The README states that the following should work: ```elixir children = [ {GenMagic.Pool.NimblePool, pool_name: MyApp.GenMagicPool, pool_size: 2} ] opts = [strategy: :one_for_one, name: MyApp.Supervisor] Supervisor.start_link(children, opts) ``` But `Supervisor` runs...
This changes `apprentice.c` to use the [erl_interface/ei.h](https://erlang.org/doc/tutorial/erl_interface.html) instead of ascii. Probably also fixes a possible buffer overflow in the old process_line, and will work with the maximum path length (4096)....
Problem: Since GenMagic uses Elixir Make 0.7.7, it isn't compatible with modern Phoenix applications. Solution: Upgrade Elixir Make to 0.9.0.