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)

108 lines (106 loc) 5.5 kB
(function (_, kotlin_kotlin) { 'use strict'; //region block: imports var imul = Math.imul; var protoOf = kotlin_kotlin.$_$.r8; var VOID = kotlin_kotlin.$_$.g; var toString = kotlin_kotlin.$_$.u8; var toString_0 = kotlin_kotlin.$_$.wc; var getStringHashCode = kotlin_kotlin.$_$.q7; var hashCode = kotlin_kotlin.$_$.r7; var THROW_CCE = kotlin_kotlin.$_$.zb; var equals = kotlin_kotlin.$_$.m7; var initMetadataForClass = kotlin_kotlin.$_$.s7; //endregion //region block: pre-declaration initMetadataForClass(Contribution, 'Contribution'); //endregion function Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) { this.y1a_1 = lastCommit; this.z1a_1 = firstCommit; this.a1b_1 = authors; this.b1b_1 = commitCount; this.c1b_1 = dateTime; this.d1b_1 = firstCommitDateTime; this.e1b_1 = ease; this.f1b_1 = storyId; this.g1b_1 = semver; this.h1b_1 = label; this.i1b_1 = tagName; this.j1b_1 = tagDateTime; } protoOf(Contribution).k1b = 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).l1b = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime, $super) { lastCommit = lastCommit === VOID ? this.y1a_1 : lastCommit; firstCommit = firstCommit === VOID ? this.z1a_1 : firstCommit; authors = authors === VOID ? this.a1b_1 : authors; commitCount = commitCount === VOID ? this.b1b_1 : commitCount; dateTime = dateTime === VOID ? this.c1b_1 : dateTime; firstCommitDateTime = firstCommitDateTime === VOID ? this.d1b_1 : firstCommitDateTime; ease = ease === VOID ? this.e1b_1 : ease; storyId = storyId === VOID ? this.f1b_1 : storyId; semver = semver === VOID ? this.g1b_1 : semver; label = label === VOID ? this.h1b_1 : label; tagName = tagName === VOID ? this.i1b_1 : tagName; tagDateTime = tagDateTime === VOID ? this.j1b_1 : tagDateTime; return $super === VOID ? this.k1b(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) : $super.k1b.call(this, lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime); }; protoOf(Contribution).toString = function () { return 'Contribution(lastCommit=' + this.y1a_1 + ', firstCommit=' + this.z1a_1 + ', authors=' + toString(this.a1b_1) + ', commitCount=' + this.b1b_1 + ', dateTime=' + toString_0(this.c1b_1) + ', firstCommitDateTime=' + toString_0(this.d1b_1) + ', ease=' + this.e1b_1 + ', storyId=' + this.f1b_1 + ', semver=' + this.g1b_1 + ', label=' + this.h1b_1 + ', tagName=' + this.i1b_1 + ', tagDateTime=' + toString_0(this.j1b_1) + ')'; }; protoOf(Contribution).hashCode = function () { var result = getStringHashCode(this.y1a_1); result = imul(result, 31) + getStringHashCode(this.z1a_1) | 0; result = imul(result, 31) + hashCode(this.a1b_1) | 0; result = imul(result, 31) + this.b1b_1 | 0; result = imul(result, 31) + (this.c1b_1 == null ? 0 : this.c1b_1.hashCode()) | 0; result = imul(result, 31) + (this.d1b_1 == null ? 0 : this.d1b_1.hashCode()) | 0; result = imul(result, 31) + (this.e1b_1 == null ? 0 : this.e1b_1) | 0; result = imul(result, 31) + (this.f1b_1 == null ? 0 : getStringHashCode(this.f1b_1)) | 0; result = imul(result, 31) + (this.g1b_1 == null ? 0 : getStringHashCode(this.g1b_1)) | 0; result = imul(result, 31) + (this.h1b_1 == null ? 0 : getStringHashCode(this.h1b_1)) | 0; result = imul(result, 31) + (this.i1b_1 == null ? 0 : getStringHashCode(this.i1b_1)) | 0; result = imul(result, 31) + (this.j1b_1 == null ? 0 : this.j1b_1.hashCode()) | 0; return result; }; protoOf(Contribution).equals = function (other) { if (this === other) return true; if (!(other instanceof Contribution)) return false; var tmp0_other_with_cast = other instanceof Contribution ? other : THROW_CCE(); if (!(this.y1a_1 === tmp0_other_with_cast.y1a_1)) return false; if (!(this.z1a_1 === tmp0_other_with_cast.z1a_1)) return false; if (!equals(this.a1b_1, tmp0_other_with_cast.a1b_1)) return false; if (!(this.b1b_1 === tmp0_other_with_cast.b1b_1)) return false; if (!equals(this.c1b_1, tmp0_other_with_cast.c1b_1)) return false; if (!equals(this.d1b_1, tmp0_other_with_cast.d1b_1)) return false; if (!(this.e1b_1 == tmp0_other_with_cast.e1b_1)) return false; if (!(this.f1b_1 == tmp0_other_with_cast.f1b_1)) return false; if (!(this.g1b_1 == tmp0_other_with_cast.g1b_1)) return false; if (!(this.h1b_1 == tmp0_other_with_cast.h1b_1)) return false; if (!(this.i1b_1 == tmp0_other_with_cast.i1b_1)) return false; if (!equals(this.j1b_1, tmp0_other_with_cast.j1b_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