Please login to access the resource

Determine file type

Edit Package perl-File-MimeInfo

This module can be used to determine the mime type of a file. It tries to implement the freedesktop specification for a shared MIME database.

This package only uses the globs file. No real magic checking is used. The File::MimeInfo::Magic package is provided for magic typing.

If you want to determine the mimetype of data in a memory buffer you should use File::MimeInfo::Magic in combination with IO::Scalar.

This module loads the various data files when needed. If you want to hash data earlier see the 'rehash' methods below.

Refresh
Refresh
Source Files
Filename Size Changed
File-MimeInfo-0.29.tar.gz 0000033113 32.3 KB
cpanspec.yml 0000000378 378 Bytes
perl-File-MimeInfo.changes 0000003068 3 KB
perl-File-MimeInfo.spec 0000002562 2.5 KB
Revision 14 (latest revision is 28)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 640599 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 14)
- Fix autogenerated changes
- updated to 0.29
   see /usr/share/doc/packages/perl-File-MimeInfo/Changes
  0.29  2018-08-05
   - Stable release to CPAN.
  
  0.28_03  2017-01-22
   - `mimeinfo --stdin` did not work. Reported by Marius Gavrilescu,
       Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784545
       Added minimal tests for `mimeinfo`.
  
  0.28_02  2016-12-17
   - Improved handling of Path::Tiny objects in default method.
  
  0.28_01  2016-11-29
   - Spelling fix courtesy gregor herrmann, Debian Perl group (fixes #25)
   - Added t/000-report-versions-tiny.t to find out issue with Path::Tiny file
     handles.
Comments 0
openSUSE Build Service is sponsored by