Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/book/git-version
Git version objects
https://github.com/book/git-version
Last synced: about 1 month ago
JSON representation
Git version objects
- Host: GitHub
- URL: https://github.com/book/git-version
- Owner: book
- Created: 2016-02-21T18:15:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T20:21:07.000Z (almost 9 years ago)
- Last Synced: 2024-10-03T12:36:23.130Z (4 months ago)
- Language: Perl
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Git::Version - Git version objects
SYNOPSIS
use Git::Version;
my $v = Git::Version->new( `git --version` );
print "You've got an old git" if $v lt '1.6.5';DESCRIPTION
"Git::Version" offers specialized version objects that can compare strings
corresponding to a Git version number.The actual comparison is handled by Git::Version::Compare, so the strings
can be version numbers, tags from "git.git" or the output of "git version"
or "git describe".SEE ALSO
Git::Version::Compare.
AUTHOR
Philippe Bruhat (BooK)
COPYRIGHT AND LICENSE
Copyright 2016 Philippe Bruhat (BooK), all rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.