Function gio::content_type_is_unknown[][src]

pub fn content_type_is_unknown(type_: &str) -> bool
Expand description

Checks if the content type is the generic “unknown” type. On UNIX this is the “application/octet-stream” mimetype, while on win32 it is “*” and on OSX it is a dynamic type or octet-stream.

type_

a content type string

Returns

true if the type is the unknown type.