This is the cl-semver Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:22:40 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-semver
Semantic Version implementation
Mariano Montone
MIT
alexandria
(system).
esrap
(system).
named-readtables
(system).
package.lisp
(file).
semver.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-semver/semver.lisp
package.lisp
(file).
cl-semver
(system).
disable-version-syntax
(macro).
enable-version-syntax
(macro).
initialize-instance
(method).
make-load-form
(method).
make-semantic-version
(function).
print-object
(method).
print-version
(function).
print-version-to-string
(function).
read-version-from-string
(function).
semantic-version
(class).
semantic-version-string
(type).
version
(class).
version-build
(reader method).
(setf version-build)
(writer method).
version-major
(reader method).
(setf version-major)
(writer method).
version-minor
(reader method).
(setf version-minor)
(writer method).
version-patch
(reader method).
(setf version-patch)
(writer method).
version-pre-release
(method).
(setf version-pre-release)
(method).
version-pre-release-identifiers
(reader method).
(setf version-pre-release-identifiers)
(writer method).
version-string-valid-p
(function).
version/=
(generic function).
version/==
(generic function).
version<
(generic function).
version<=
(function).
version=
(generic function).
version==
(generic function).
version>
(function).
version>=
(function).
versionp
(function).
%disable-version-syntax
(function).
%enable-version-syntax
(function).
*previous-readtables*
(special variable).
prerelease<
(function).
tuple<
(function).
validate-version
(generic function).
version-syntax-reader
(function).
Packages are listed by definition order.
cl-semver
cl-semver is a Common Lisp implementation of the Semantic Versioning Specification (http://semver.org/
semver
common-lisp
.
disable-version-syntax
(macro).
enable-version-syntax
(macro).
make-semantic-version
(function).
print-version
(function).
print-version-to-string
(function).
read-version-from-string
(function).
semantic-version
(class).
semantic-version-string
(type).
version
(class).
version-build
(generic reader).
(setf version-build)
(generic writer).
version-major
(generic reader).
(setf version-major)
(generic writer).
version-minor
(generic reader).
(setf version-minor)
(generic writer).
version-patch
(generic reader).
(setf version-patch)
(generic writer).
version-pre-release
(generic function).
(setf version-pre-release)
(generic function).
version-pre-release-identifiers
(generic reader).
(setf version-pre-release-identifiers)
(generic writer).
version-string-valid-p
(function).
version/=
(generic function).
version/==
(generic function).
version<
(generic function).
version<=
(function).
version=
(generic function).
version==
(generic function).
version>
(function).
version>=
(function).
versionp
(function).
%disable-version-syntax
(function).
%enable-version-syntax
(function).
*previous-readtables*
(special variable).
prerelease<
(function).
tuple<
(function).
validate-version
(generic function).
version-syntax-reader
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Restore readtable which was active before last call to ENABLE-VERSION-SYNTAX. If there was no such call, the standard readtable is used.
Enable version reader syntax.
Creates a semantic version
Prints a version to a stream
Prints a version to a string
Parses a semantic version from a string
Validate a version string
Version less or equal comparison
Version greater than comparison
Version greater or equal comparison
semantic-version
)) ¶semantic-version
)) ¶The build version number
semantic-version
)) ¶semantic-version
)) ¶The major version number
semantic-version
)) ¶semantic-version
)) ¶The minor version number
semantic-version
)) ¶semantic-version
)) ¶The patch (or micro) version number
semantic-version
)) ¶semantic-version
)) ¶semantic-version
)) ¶semantic-version
)) ¶The list of pre release version identifiers
Version distinct comparison
Version shallow distinct comparison
Version less than comparison
string
) (version2 string
)) ¶version
) (version2 version
)) ¶NOTE: pre-release fields are only compared lexicographically; numbers are not taken into account. For example, ’alpha.2’ pre-release.
(eql :min-version)
)) ¶(eql :max-version)
) version2) ¶(eql :max-version)
)) ¶(eql :min-version)
) version2) ¶Version equality comparison
Version shallow equality comparison
semantic-version
) &rest initargs &key pre-release) ¶semantic-version
) stream) ¶Instances represent a full version according to the semantic version specs (version 2.0.0 of the spec). http://semver.org/ . The main features of this class are validation and version comparison.
initialize-instance
.
print-object
.
validate-version
.
(setf version-build)
.
version-build
.
(setf version-major)
.
version-major
.
(setf version-minor)
.
version-minor
.
(setf version-patch)
.
version-patch
.
(setf version-pre-release)
.
version-pre-release
.
(setf version-pre-release-identifiers)
.
version-pre-release-identifiers
.
The major version number
integer
(error "provide the major version number")
:major
The minor version number
integer
(error "provide the minor version number")
:minor
The patch (or micro) version number
integer
(error "provide the patch version number")
:patch
The list of pre release version identifiers
list
The build version number
(or integer string null)
:build
Library version
Internal function used to restore previous readtable.
Internal function used to enable reader syntax and store current readtable on stack.
Returns non-NIL if the first list of pre-release identifiers is less than the second. Any non-empty list of identifiers is < an empty list. If both are non empty, they are compared element by element. An integer is always < a string. Strings are compared lexically. If the first list is shorter than the second and the first is a prefix of the second, the first is < than the second.
Validate a version
(eql :min-version)
)) ¶(eql :max-version)
)) ¶semantic-version
)) ¶Jump to: | %
(
D E F G I M P R T V |
---|
Jump to: | %
(
D E F G I M P R T V |
---|
Jump to: | *
B M P S |
---|
Jump to: | *
B M P S |
---|
Jump to: | C F P S T V |
---|
Jump to: | C F P S T V |
---|