public final class LenskitInfo extends Object
Constructor and Description |
---|
LenskitInfo() |
Modifier and Type | Method and Description |
---|---|
static String |
getHeadRevision()
Get the HEAD revision from which LensKit was built.
|
static Set<String> |
getRevisions()
Get the set of revisions LensKit is built from.
|
static boolean |
includesRevision(String revision)
Query whether this version of LensKit includes a particular revision.
|
static String |
lenskitVersion()
Get the current LensKit version.
|
public static Set<String> getRevisions()
git log
,
so the head revision is first.public static boolean includesRevision(String revision)
revision
- The revision to query.true
if the LensKit source is descended from revision
.public static String getHeadRevision()
public static String lenskitVersion()