UNPKG

git-digger

Version:

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/robertfmurdock/ze-great-tools?label=Release) ![NPM Version](https://img.shields.io/npm/v/git-digger?label=npm%20git-digger)

106 lines (104 loc) 5.11 kB
(function (_, kotlin_kotlin) { 'use strict'; //region block: imports var imul = Math.imul; var protoOf = kotlin_kotlin.$_$.c8; var VOID = kotlin_kotlin.$_$.c; var toString = kotlin_kotlin.$_$.e8; var toString_0 = kotlin_kotlin.$_$.gc; var getStringHashCode = kotlin_kotlin.$_$.c7; var hashCode = kotlin_kotlin.$_$.d7; var equals = kotlin_kotlin.$_$.y6; var initMetadataForClass = kotlin_kotlin.$_$.e7; //endregion //region block: pre-declaration initMetadataForClass(Contribution, 'Contribution'); //endregion function Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) { this.kk_1 = lastCommit; this.lk_1 = firstCommit; this.mk_1 = authors; this.nk_1 = commitCount; this.ok_1 = dateTime; this.pk_1 = firstCommitDateTime; this.qk_1 = ease; this.rk_1 = storyId; this.sk_1 = semver; this.tk_1 = label; this.uk_1 = tagName; this.vk_1 = tagDateTime; } protoOf(Contribution).wk = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) { return new Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime); }; protoOf(Contribution).xk = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime, $super) { lastCommit = lastCommit === VOID ? this.kk_1 : lastCommit; firstCommit = firstCommit === VOID ? this.lk_1 : firstCommit; authors = authors === VOID ? this.mk_1 : authors; commitCount = commitCount === VOID ? this.nk_1 : commitCount; dateTime = dateTime === VOID ? this.ok_1 : dateTime; firstCommitDateTime = firstCommitDateTime === VOID ? this.pk_1 : firstCommitDateTime; ease = ease === VOID ? this.qk_1 : ease; storyId = storyId === VOID ? this.rk_1 : storyId; semver = semver === VOID ? this.sk_1 : semver; label = label === VOID ? this.tk_1 : label; tagName = tagName === VOID ? this.uk_1 : tagName; tagDateTime = tagDateTime === VOID ? this.vk_1 : tagDateTime; return $super === VOID ? this.wk(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) : $super.wk.call(this, lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime); }; protoOf(Contribution).toString = function () { return 'Contribution(lastCommit=' + this.kk_1 + ', firstCommit=' + this.lk_1 + ', authors=' + toString(this.mk_1) + ', commitCount=' + this.nk_1 + ', dateTime=' + toString_0(this.ok_1) + ', firstCommitDateTime=' + toString_0(this.pk_1) + ', ease=' + this.qk_1 + ', storyId=' + this.rk_1 + ', semver=' + this.sk_1 + ', label=' + this.tk_1 + ', tagName=' + this.uk_1 + ', tagDateTime=' + toString_0(this.vk_1) + ')'; }; protoOf(Contribution).hashCode = function () { var result = getStringHashCode(this.kk_1); result = imul(result, 31) + getStringHashCode(this.lk_1) | 0; result = imul(result, 31) + hashCode(this.mk_1) | 0; result = imul(result, 31) + this.nk_1 | 0; result = imul(result, 31) + (this.ok_1 == null ? 0 : this.ok_1.hashCode()) | 0; result = imul(result, 31) + (this.pk_1 == null ? 0 : this.pk_1.hashCode()) | 0; result = imul(result, 31) + (this.qk_1 == null ? 0 : this.qk_1) | 0; result = imul(result, 31) + (this.rk_1 == null ? 0 : getStringHashCode(this.rk_1)) | 0; result = imul(result, 31) + (this.sk_1 == null ? 0 : getStringHashCode(this.sk_1)) | 0; result = imul(result, 31) + (this.tk_1 == null ? 0 : getStringHashCode(this.tk_1)) | 0; result = imul(result, 31) + (this.uk_1 == null ? 0 : getStringHashCode(this.uk_1)) | 0; result = imul(result, 31) + (this.vk_1 == null ? 0 : this.vk_1.hashCode()) | 0; return result; }; protoOf(Contribution).equals = function (other) { if (this === other) return true; if (!(other instanceof Contribution)) return false; if (!(this.kk_1 === other.kk_1)) return false; if (!(this.lk_1 === other.lk_1)) return false; if (!equals(this.mk_1, other.mk_1)) return false; if (!(this.nk_1 === other.nk_1)) return false; if (!equals(this.ok_1, other.ok_1)) return false; if (!equals(this.pk_1, other.pk_1)) return false; if (!(this.qk_1 == other.qk_1)) return false; if (!(this.rk_1 == other.rk_1)) return false; if (!(this.sk_1 == other.sk_1)) return false; if (!(this.tk_1 == other.tk_1)) return false; if (!(this.uk_1 == other.uk_1)) return false; if (!equals(this.vk_1, other.vk_1)) return false; return true; }; //region block: exports _.$_$ = _.$_$ || {}; _.$_$.a = Contribution; //endregion return _; }(module.exports, require('./kotlin-kotlin-stdlib.js'))); //# sourceMappingURL=tools-digger-model.js.map