18 Feb 2019 05:52:46 UTC
- Distribution: Types-Git
- Module version: 0.04
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (252 / 0 / 0)
- KwaliteeBus factor: 1
- 100.00% Coverage
- License: perl_5
- Activity24 month
- Download (10.41KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionBLUEFEET Aran Deltac
Types::Git - Type::Tiny types for git stuff.
package Foo; use Types::Git -types; use Moo; use strictures 1; use namespace::clean; has ref => ( is => 'ro', isa => GitRef, );
This module provides several Type::Tiny types for some of git's data types.
A SHA1 hex, must be 40 characters or less long and contain only hex characters.
Just like "GitRef" except one-level refs (those without any forward slashes) are allowed. This is useful for validating a branch or tag name.
Matches a ref against the same rules that git-check-ref-format uses.
This type is meant to be the same as "GitObject" except with extended rules for date ranges and such.
Aran Clary Deltac <email@example.com>
Thanks to ZipRecruiter for encouraging their employees to contribute back to the open source ecosystem. Without their dedication to quality software development this distribution would not exist.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.