App-SymlinkUtils
view release on metacpan or search on metacpan
Perform various checks on a symlink.
This function is not exported.
Arguments ('*' denotes required arguments):
* content_matches => *bool*
Whether content should match extension.
If set to true, will guess media type from content and check that
file extension exists nd matches the media type. Requires
File::MimeInfo::Magic, which is only specified as a "Recommends"
dependency by File-Symlink-Util distribution.
* ext_matches => *bool*
Whether extension should match.
If set to true, then if both symlink name and target filename
contain filename extension (e.g. "jpg") then they must match. Case
Perform various checks on symlinks.
This function is not exported.
Arguments ('*' denotes required arguments):
* content_matches => *bool*
Whether content should match extension.
If set to true, will guess media type from content and check that
file extension exists nd matches the media type. Requires
File::MimeInfo::Magic, which is only specified as a "Recommends"
dependency by File-Symlink-Util distribution.
* ext_matches => *bool*
Whether extension should match.
If set to true, then if both symlink name and target filename
contain filename extension (e.g. "jpg") then they must match. Case
lib/App/SymlinkUtils.pm view on Meta::CPAN
This function is not exported.
Arguments ('*' denotes required arguments):
=over 4
=item * B<content_matches> => I<bool>
Whether content should match extension.
If set to true, will guess media type from content and check that file extension
exists nd matches the media type. Requires L<File::MimeInfo::Magic>, which is
only specified as a "Recommends" dependency by File-Symlink-Util distribution.
=item * B<ext_matches> => I<bool>
Whether extension should match.
If set to true, then if both symlink name and target filename contain filename
extension (e.g. C<jpg>) then they must match. Case variation is allowed (e.g.
C<JPG>) but other variation is not (e.g. C<jpeg>).
lib/App/SymlinkUtils.pm view on Meta::CPAN
This function is not exported.
Arguments ('*' denotes required arguments):
=over 4
=item * B<content_matches> => I<bool>
Whether content should match extension.
If set to true, will guess media type from content and check that file extension
exists nd matches the media type. Requires L<File::MimeInfo::Magic>, which is
only specified as a "Recommends" dependency by File-Symlink-Util distribution.
=item * B<ext_matches> => I<bool>
Whether extension should match.
If set to true, then if both symlink name and target filename contain filename
extension (e.g. C<jpg>) then they must match. Case variation is allowed (e.g.
C<JPG>) but other variation is not (e.g. C<jpeg>).
script/check-symlink view on Meta::CPAN
C<*> marks required options.
=head2 Main options
=over
=item B<--content-matches>
Whether content should match extension.
If set to true, will guess media type from content and check that file extension
exists nd matches the media type. Requires L<File::MimeInfo::Magic>, which is
only specified as a "Recommends" dependency by File-Symlink-Util distribution.
=item B<--ext-matches>
Whether extension should match.
If set to true, then if both symlink name and target filename contain filename
extension (e.g. C<jpg>) then they must match. Case variation is allowed (e.g.
script/check-symlinks view on Meta::CPAN
C<*> marks required options.
=head2 Main options
=over
=item B<--content-matches>
Whether content should match extension.
If set to true, will guess media type from content and check that file extension
exists nd matches the media type. Requires L<File::MimeInfo::Magic>, which is
only specified as a "Recommends" dependency by File-Symlink-Util distribution.
=item B<--ext-matches>
Whether extension should match.
If set to true, then if both symlink name and target filename contain filename
extension (e.g. C<jpg>) then they must match. Case variation is allowed (e.g.
( run in 0.734 second using v1.01-cache-2.11-cpan-702932259ff )