Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doriantaylor/p5-role-mimeinfo
Moo(se) role to strap MIME type checking to any (modern Perl) object
https://github.com/doriantaylor/p5-role-mimeinfo
Last synced: 24 days ago
JSON representation
Moo(se) role to strap MIME type checking to any (modern Perl) object
- Host: GitHub
- URL: https://github.com/doriantaylor/p5-role-mimeinfo
- Owner: doriantaylor
- License: apache-2.0
- Created: 2017-09-17T09:48:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T15:46:34.000Z (over 6 years ago)
- Last Synced: 2023-08-20T22:13:13.030Z (over 1 year ago)
- Language: Perl
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
NAME
Role::MimeInfo - Bolt-on type checking against GNOME shared-mime-infoVERSION
Version 0.02SYNOPSIS
use Moo; # or Moose or Mouse or whateverwith 'Role::MimeInfo';
# are you ready to check some mime types???
METHODS
mimetype
Proxy for "mimetype" in File::MimeInfo::Magic.mimetype_isa
Proxy for "mimetype_isa" in File::MimeInfo with additional behaviour for
self-identity and recursive type checking.SEE ALSO
* File::MimeInfo* Moo
AUTHOR
Dorian Taylor, ""TODO
* Expose the rest of the interface of File::MimeInfo in a reasonable
way.BUGS
Please report any bugs or feature requests to
.LICENSE AND COPYRIGHT
Copyright 2017 Dorian Taylor.Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at .Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.