2021-02-05

(sph libmagic)

binding to the libmagic library from the "file" utility that guesses file types

part of sph-lib

module name

(sph libmagic)

exported bindings

procedure: file->mime-types a ... ->
string:path ... -> (string:mime-type ...)
variable: sph-libmagic-description
procedure: string->mime-types a ... ->
string:content ... -> (string:mime-type ...)