[haiku-development] Re: How to Identify a file?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 18 Oct 2007 11:54:58 +0200 CEST

"Jérôme Duval" <korli@xxxxxxxxxxxxxxxx> wrote:
>                       BMimeType::GuessMimeType(&ref, &refType);

This one doesn't just try an existing MIME type, it always sniffs the
file via the registrar, so it's potentially expensive (and might even
have different outcome than the MIME type assigned to a file).

Bye,
   Axel.


Other related posts: