gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin / Describer / describe

describe

abstract fun describe(dirty: Boolean = true, trimLeading: Boolean = false): String

Parameters

dirty - iff set to true, the return value gets appended with "-dirty" if there are changes to the repository that are not recorded in the current revision of the VCS.

trimLeading - iff set to true, the leading character (r for SVN, v for git) is not included in the returned version number

Return
an identifier of the current version of the repository