Module version

This module helps with retrieving version information.

Functions

Version:getCurrentRevision () Returns current KOReader git-rev.
Version:getNormalizedVersion (rev) Returns normalized version of KOReader git-rev input string.
Version:getNormalizedCurrentVersion () Returns current version of KOReader.


Functions

Version:getCurrentRevision ()
Returns current KOReader git-rev.

Returns:

    string full KOReader git-rev such v2015.11-982-g704d4238
Version:getNormalizedVersion (rev)
Returns normalized version of KOReader git-rev input string.

Parameters:

  • rev string full KOReader git-rev such v2015.11-982-g704d4238

Returns:

  1. int version in the form of a number such as 201511982
  2. string short git commit version hash such as 704d4238
Version:getNormalizedCurrentVersion ()
Returns current version of KOReader.

Returns:

  1. int version in the form of a number such as 201511982
  2. string short git commit version hash such as 704d4238

See also:

generated by LDoc 1.4.6 Last updated 2017-08-17 09:26:49