git-digger 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +5138 -0
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
- package/kotlin/bin/digger +3 -0
- package/kotlin/clikt-clikt.js +6305 -0
- package/kotlin/clikt-clikt.js.map +1 -0
- package/kotlin/colormath-root-colormath.js +1628 -0
- package/kotlin/colormath-root-colormath.js.map +1 -0
- package/kotlin/kotlin-kotlin-stdlib.js +11335 -0
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +3460 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1137 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlin/markdown.js +6759 -0
- package/kotlin/markdown.js.map +1 -0
- package/kotlin/mordant-mordant.js +11999 -0
- package/kotlin/mordant-mordant.js.map +1 -0
- package/kotlin/tools-digger-cli.js +568 -0
- package/kotlin/tools-digger-cli.js.map +1 -0
- package/kotlin/tools-digger-core.js +657 -0
- package/kotlin/tools-digger-core.js.map +1 -0
- package/kotlin/tools-digger-json.js +253 -0
- package/kotlin/tools-digger-json.js.map +1 -0
- package/kotlin/tools-digger-model.js +106 -0
- package/kotlin/tools-digger-model.js.map +1 -0
- package/kotlin/tools-git-adapter.js +233 -0
- package/kotlin/tools-git-adapter.js.map +1 -0
- package/package.json +31 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/AllContributionCommits.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Collections.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/collections/Collections.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/CommitInspectionResult.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/Contribution.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/util/Standard.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/jsMainSources/libraries/stdlib/js/src/kotlin/text/stringJs.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/CurrentContributionCommits.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/DiggerCore.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/FindTrunkPath.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/MessageDigResult.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/MessageDigger.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Maps.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/collections/Maps.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Sequences.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/util/Result.kt","../../../../../digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/SemverType.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["allContributionCommits","<this>","tagRefs","fullLog","set","list","e","key","element","item","sortIntoTagSets","log","earlierTag","nextTag","tagPairs","index","<init>","storyId","ease","authors","semver","toString","hashCode","result","equals","other","contribution","commitRefs","messageDigResults","lastCommit","firstCommit","commitInspectionResult","digResult","allAuthors","mergedStoryIds","currentContributionCommits","previousTag","currentRelevantTags","headCommitId","lastTwoTags","label","gitWrapper","messageDigger","tagRegex","currentContributionData","currentTag","allContributionData","tag","alwaysLeftParent","accumulator","coauthors","majorRegex","minorRegex","patchRegex","noneRegex","storyIdRegex","easeRegex","group","regex","digIntoMessage","input","cleaned","first","last","messageDigResult","getSemver","it","groupMatches","groupName","highestPrioritySemver","messageDigResult$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAMAA,CAAIC,a,EACAC,O,EACAC,OAFJH,EAG0C;A;;QC6mDtCI,MAAU,uB;QACVC,OAAW,yB;QACD,gBA7mD2B,OA6mD3B,I;WAAA,iB,EAAV;A,UAAKC,IAAK,iB;;UACNC,MDrlDy6pD,CCqlDz6pDA,CD9mDiB,K;MC+mDjB,IAAI,GAAI,GAAI,GAAJ,CAAR,C,CACS;A,QAAL,IAAK,GAAI,CAAJ,C;;IACb,C;;sBA/3BgB,yB;QA2FA,kBAqyBT,IAryBS,I;WAAA,mB,EAAhB;A,UAAKC,UAAW,mB;;;;0BAorBH,0BAAa,wBAhgDM,OAggDN,EAAwB,EAAxB,CAAb,C;UAuEA,kBAvkDmB,OAukDnB,I;aAAA,mB,EAAb;A,YAAKC,OAAQ,mB;wBACiB,I,CAAV,K;QAAhB,aAAY,GAAI,SAAJ,C;MAAmB,C;MA5vBb,IA6vBf,aDzkDkC,GAwBmqwB,OAxBnqwB,CAAY,KAAZ,CC40BnB,C,CAAoC;A,QAAZ,WAAY,GAAI,OAAJ,C;;IAAW,C;ID10BxE,OALyC,+BCg1B/B,WDh1B+B,EAIhC,OAJgC,C;EAK1C,C;0BAEAC,CAAIT,a,EACAC,O,EACAS,GAFJD,EAG0C;A;;iBCGN,SAAR,OAAQ,C;;sBAs/CnB,0BAAa,gCAAwB,EAAxB,CAAb,C;QAuEA,gBAvEN,MAuEM,I;WAAA,iB,EAAb;A,UAAKD,OAA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;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
(function (_, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_datetime) {
|
|
2
|
+
'use strict';
|
|
3
|
+
//region block: imports
|
|
4
|
+
var imul = Math.imul;
|
|
5
|
+
var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
6
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.i4;
|
|
7
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
8
|
+
var Unit_instance = kotlin_kotlin.$_$.l3;
|
|
9
|
+
var List = kotlin_kotlin.$_$.s3;
|
|
10
|
+
var getKClass = kotlin_kotlin.$_$.f;
|
|
11
|
+
var arrayOf = kotlin_kotlin.$_$.vc;
|
|
12
|
+
var createKType = kotlin_kotlin.$_$.c;
|
|
13
|
+
var createInvariantKTypeProjection = kotlin_kotlin.$_$.b;
|
|
14
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
15
|
+
var THROW_CCE = kotlin_kotlin.$_$.jc;
|
|
16
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
17
|
+
var isInterface = kotlin_kotlin.$_$.m8;
|
|
18
|
+
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
19
|
+
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.y8;
|
|
21
|
+
var objectMeta = kotlin_kotlin.$_$.x8;
|
|
22
|
+
var setMetadataFor = kotlin_kotlin.$_$.z8;
|
|
23
|
+
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
24
|
+
var InstantIso8601Serializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.a;
|
|
25
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
26
|
+
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
27
|
+
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
28
|
+
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
29
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
30
|
+
var getStringHashCode = kotlin_kotlin.$_$.b8;
|
|
31
|
+
var hashCode = kotlin_kotlin.$_$.c8;
|
|
32
|
+
var equals = kotlin_kotlin.$_$.w7;
|
|
33
|
+
var classMeta = kotlin_kotlin.$_$.u7;
|
|
34
|
+
//endregion
|
|
35
|
+
//region block: pre-declaration
|
|
36
|
+
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
37
|
+
setMetadataFor($serializer, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
38
|
+
setMetadataFor(ContributionJson, 'ContributionJson', classMeta, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
39
|
+
//endregion
|
|
40
|
+
function toJsonString(_this__u8e3s4) {
|
|
41
|
+
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
42
|
+
var this_0 = Default_getInstance();
|
|
43
|
+
// Inline function 'kotlin.collections.map' call
|
|
44
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
45
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
46
|
+
var tmp0_iterator = _this__u8e3s4.r();
|
|
47
|
+
while (tmp0_iterator.s()) {
|
|
48
|
+
var item = tmp0_iterator.u();
|
|
49
|
+
var tmp$ret$0 = toJsonModel(item);
|
|
50
|
+
destination.o(tmp$ret$0);
|
|
51
|
+
}
|
|
52
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
53
|
+
var this_1 = this_0.mk();
|
|
54
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
55
|
+
var this_2 = serializer(this_1, createKType(getKClass(List), arrayOf([createInvariantKTypeProjection(createKType(getKClass(ContributionJson), arrayOf([]), false))]), false));
|
|
56
|
+
var tmp$ret$4 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
57
|
+
return this_0.e19(tmp$ret$4, destination);
|
|
58
|
+
}
|
|
59
|
+
function toJsonString_0(_this__u8e3s4) {
|
|
60
|
+
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
61
|
+
var this_0 = Default_getInstance();
|
|
62
|
+
var value = toJsonModel(_this__u8e3s4);
|
|
63
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
64
|
+
var this_1 = this_0.mk();
|
|
65
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
66
|
+
var this_2 = serializer(this_1, createKType(getKClass(ContributionJson), arrayOf([]), false));
|
|
67
|
+
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
68
|
+
return this_0.e19(tmp$ret$1, value);
|
|
69
|
+
}
|
|
70
|
+
function Companion() {
|
|
71
|
+
Companion_instance = this;
|
|
72
|
+
var tmp = this;
|
|
73
|
+
// Inline function 'kotlin.arrayOf' call
|
|
74
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
75
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
76
|
+
tmp.v1b_1 = [null, null, new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null];
|
|
77
|
+
}
|
|
78
|
+
var Companion_instance;
|
|
79
|
+
function Companion_getInstance() {
|
|
80
|
+
if (Companion_instance == null)
|
|
81
|
+
new Companion();
|
|
82
|
+
return Companion_instance;
|
|
83
|
+
}
|
|
84
|
+
function $serializer() {
|
|
85
|
+
$serializer_instance = this;
|
|
86
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.digger.json.ContributionJson', this, 12);
|
|
87
|
+
tmp0_serialDesc.tn('lastCommit', false);
|
|
88
|
+
tmp0_serialDesc.tn('firstCommit', false);
|
|
89
|
+
tmp0_serialDesc.tn('authors', false);
|
|
90
|
+
tmp0_serialDesc.tn('dateTime', true);
|
|
91
|
+
tmp0_serialDesc.tn('firstCommitDateTime', true);
|
|
92
|
+
tmp0_serialDesc.tn('commitCount', false);
|
|
93
|
+
tmp0_serialDesc.tn('ease', true);
|
|
94
|
+
tmp0_serialDesc.tn('storyId', true);
|
|
95
|
+
tmp0_serialDesc.tn('semver', true);
|
|
96
|
+
tmp0_serialDesc.tn('label', true);
|
|
97
|
+
tmp0_serialDesc.tn('tagName', true);
|
|
98
|
+
tmp0_serialDesc.tn('tagDateTime', true);
|
|
99
|
+
this.w1b_1 = tmp0_serialDesc;
|
|
100
|
+
}
|
|
101
|
+
protoOf($serializer).jh = function () {
|
|
102
|
+
return this.w1b_1;
|
|
103
|
+
};
|
|
104
|
+
protoOf($serializer).vn = function () {
|
|
105
|
+
var tmp0_cached = Companion_getInstance().v1b_1;
|
|
106
|
+
// Inline function 'kotlin.arrayOf' call
|
|
107
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
108
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
109
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[2], get_nullable(InstantIso8601Serializer_getInstance()), get_nullable(InstantIso8601Serializer_getInstance()), IntSerializer_getInstance(), get_nullable(IntSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(InstantIso8601Serializer_getInstance())];
|
|
110
|
+
};
|
|
111
|
+
protoOf($serializer).x1b = function (encoder, value) {
|
|
112
|
+
var tmp0_desc = this.w1b_1;
|
|
113
|
+
var tmp1_output = encoder.jj(tmp0_desc);
|
|
114
|
+
var tmp2_cached = Companion_getInstance().v1b_1;
|
|
115
|
+
tmp1_output.gk(tmp0_desc, 0, value.y1b_1);
|
|
116
|
+
tmp1_output.gk(tmp0_desc, 1, value.z1b_1);
|
|
117
|
+
tmp1_output.ik(tmp0_desc, 2, tmp2_cached[2], value.a1c_1);
|
|
118
|
+
if (tmp1_output.pk(tmp0_desc, 3) ? true : !(value.b1c_1 == null)) {
|
|
119
|
+
tmp1_output.kk(tmp0_desc, 3, InstantIso8601Serializer_getInstance(), value.b1c_1);
|
|
120
|
+
}
|
|
121
|
+
if (tmp1_output.pk(tmp0_desc, 4) ? true : !(value.c1c_1 == null)) {
|
|
122
|
+
tmp1_output.kk(tmp0_desc, 4, InstantIso8601Serializer_getInstance(), value.c1c_1);
|
|
123
|
+
}
|
|
124
|
+
tmp1_output.bk(tmp0_desc, 5, value.d1c_1);
|
|
125
|
+
if (tmp1_output.pk(tmp0_desc, 6) ? true : !(value.e1c_1 == null)) {
|
|
126
|
+
tmp1_output.kk(tmp0_desc, 6, IntSerializer_getInstance(), value.e1c_1);
|
|
127
|
+
}
|
|
128
|
+
if (tmp1_output.pk(tmp0_desc, 7) ? true : !(value.f1c_1 == null)) {
|
|
129
|
+
tmp1_output.kk(tmp0_desc, 7, StringSerializer_getInstance(), value.f1c_1);
|
|
130
|
+
}
|
|
131
|
+
if (tmp1_output.pk(tmp0_desc, 8) ? true : !(value.g1c_1 == null)) {
|
|
132
|
+
tmp1_output.kk(tmp0_desc, 8, StringSerializer_getInstance(), value.g1c_1);
|
|
133
|
+
}
|
|
134
|
+
if (tmp1_output.pk(tmp0_desc, 9) ? true : !(value.h1c_1 == null)) {
|
|
135
|
+
tmp1_output.kk(tmp0_desc, 9, StringSerializer_getInstance(), value.h1c_1);
|
|
136
|
+
}
|
|
137
|
+
if (tmp1_output.pk(tmp0_desc, 10) ? true : !(value.i1c_1 == null)) {
|
|
138
|
+
tmp1_output.kk(tmp0_desc, 10, StringSerializer_getInstance(), value.i1c_1);
|
|
139
|
+
}
|
|
140
|
+
if (tmp1_output.pk(tmp0_desc, 11) ? true : !(value.j1c_1 == null)) {
|
|
141
|
+
tmp1_output.kk(tmp0_desc, 11, InstantIso8601Serializer_getInstance(), value.j1c_1);
|
|
142
|
+
}
|
|
143
|
+
tmp1_output.kj(tmp0_desc);
|
|
144
|
+
};
|
|
145
|
+
protoOf($serializer).kh = function (encoder, value) {
|
|
146
|
+
return this.x1b(encoder, value instanceof ContributionJson ? value : THROW_CCE());
|
|
147
|
+
};
|
|
148
|
+
var $serializer_instance;
|
|
149
|
+
function $serializer_getInstance() {
|
|
150
|
+
if ($serializer_instance == null)
|
|
151
|
+
new $serializer();
|
|
152
|
+
return $serializer_instance;
|
|
153
|
+
}
|
|
154
|
+
function ContributionJson(lastCommit, firstCommit, authors, dateTime, firstCommitDateTime, commitCount, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
155
|
+
Companion_getInstance();
|
|
156
|
+
dateTime = dateTime === VOID ? null : dateTime;
|
|
157
|
+
firstCommitDateTime = firstCommitDateTime === VOID ? null : firstCommitDateTime;
|
|
158
|
+
ease = ease === VOID ? null : ease;
|
|
159
|
+
storyId = storyId === VOID ? null : storyId;
|
|
160
|
+
semver = semver === VOID ? null : semver;
|
|
161
|
+
label = label === VOID ? null : label;
|
|
162
|
+
tagName = tagName === VOID ? null : tagName;
|
|
163
|
+
tagDateTime = tagDateTime === VOID ? null : tagDateTime;
|
|
164
|
+
this.y1b_1 = lastCommit;
|
|
165
|
+
this.z1b_1 = firstCommit;
|
|
166
|
+
this.a1c_1 = authors;
|
|
167
|
+
this.b1c_1 = dateTime;
|
|
168
|
+
this.c1c_1 = firstCommitDateTime;
|
|
169
|
+
this.d1c_1 = commitCount;
|
|
170
|
+
this.e1c_1 = ease;
|
|
171
|
+
this.f1c_1 = storyId;
|
|
172
|
+
this.g1c_1 = semver;
|
|
173
|
+
this.h1c_1 = label;
|
|
174
|
+
this.i1c_1 = tagName;
|
|
175
|
+
this.j1c_1 = tagDateTime;
|
|
176
|
+
}
|
|
177
|
+
protoOf(ContributionJson).toString = function () {
|
|
178
|
+
return 'ContributionJson(lastCommit=' + this.y1b_1 + ', firstCommit=' + this.z1b_1 + ', authors=' + this.a1c_1 + ', dateTime=' + this.b1c_1 + ', firstCommitDateTime=' + this.c1c_1 + ', commitCount=' + this.d1c_1 + ', ease=' + this.e1c_1 + ', storyId=' + this.f1c_1 + ', semver=' + this.g1c_1 + ', label=' + this.h1c_1 + ', tagName=' + this.i1c_1 + ', tagDateTime=' + this.j1c_1 + ')';
|
|
179
|
+
};
|
|
180
|
+
protoOf(ContributionJson).hashCode = function () {
|
|
181
|
+
var result = getStringHashCode(this.y1b_1);
|
|
182
|
+
result = imul(result, 31) + getStringHashCode(this.z1b_1) | 0;
|
|
183
|
+
result = imul(result, 31) + hashCode(this.a1c_1) | 0;
|
|
184
|
+
result = imul(result, 31) + (this.b1c_1 == null ? 0 : this.b1c_1.hashCode()) | 0;
|
|
185
|
+
result = imul(result, 31) + (this.c1c_1 == null ? 0 : this.c1c_1.hashCode()) | 0;
|
|
186
|
+
result = imul(result, 31) + this.d1c_1 | 0;
|
|
187
|
+
result = imul(result, 31) + (this.e1c_1 == null ? 0 : this.e1c_1) | 0;
|
|
188
|
+
result = imul(result, 31) + (this.f1c_1 == null ? 0 : getStringHashCode(this.f1c_1)) | 0;
|
|
189
|
+
result = imul(result, 31) + (this.g1c_1 == null ? 0 : getStringHashCode(this.g1c_1)) | 0;
|
|
190
|
+
result = imul(result, 31) + (this.h1c_1 == null ? 0 : getStringHashCode(this.h1c_1)) | 0;
|
|
191
|
+
result = imul(result, 31) + (this.i1c_1 == null ? 0 : getStringHashCode(this.i1c_1)) | 0;
|
|
192
|
+
result = imul(result, 31) + (this.j1c_1 == null ? 0 : this.j1c_1.hashCode()) | 0;
|
|
193
|
+
return result;
|
|
194
|
+
};
|
|
195
|
+
protoOf(ContributionJson).equals = function (other) {
|
|
196
|
+
if (this === other)
|
|
197
|
+
return true;
|
|
198
|
+
if (!(other instanceof ContributionJson))
|
|
199
|
+
return false;
|
|
200
|
+
var tmp0_other_with_cast = other instanceof ContributionJson ? other : THROW_CCE();
|
|
201
|
+
if (!(this.y1b_1 === tmp0_other_with_cast.y1b_1))
|
|
202
|
+
return false;
|
|
203
|
+
if (!(this.z1b_1 === tmp0_other_with_cast.z1b_1))
|
|
204
|
+
return false;
|
|
205
|
+
if (!equals(this.a1c_1, tmp0_other_with_cast.a1c_1))
|
|
206
|
+
return false;
|
|
207
|
+
if (!equals(this.b1c_1, tmp0_other_with_cast.b1c_1))
|
|
208
|
+
return false;
|
|
209
|
+
if (!equals(this.c1c_1, tmp0_other_with_cast.c1c_1))
|
|
210
|
+
return false;
|
|
211
|
+
if (!(this.d1c_1 === tmp0_other_with_cast.d1c_1))
|
|
212
|
+
return false;
|
|
213
|
+
if (!(this.e1c_1 == tmp0_other_with_cast.e1c_1))
|
|
214
|
+
return false;
|
|
215
|
+
if (!(this.f1c_1 == tmp0_other_with_cast.f1c_1))
|
|
216
|
+
return false;
|
|
217
|
+
if (!(this.g1c_1 == tmp0_other_with_cast.g1c_1))
|
|
218
|
+
return false;
|
|
219
|
+
if (!(this.h1c_1 == tmp0_other_with_cast.h1c_1))
|
|
220
|
+
return false;
|
|
221
|
+
if (!(this.i1c_1 == tmp0_other_with_cast.i1c_1))
|
|
222
|
+
return false;
|
|
223
|
+
if (!equals(this.j1c_1, tmp0_other_with_cast.j1c_1))
|
|
224
|
+
return false;
|
|
225
|
+
return true;
|
|
226
|
+
};
|
|
227
|
+
function toJsonModel(_this__u8e3s4) {
|
|
228
|
+
var tmp0_lastCommit = _this__u8e3s4.u16_1;
|
|
229
|
+
var tmp1_firstCommit = _this__u8e3s4.v16_1;
|
|
230
|
+
var tmp2_authors = _this__u8e3s4.w16_1;
|
|
231
|
+
var tmp3_dateTime = _this__u8e3s4.y16_1;
|
|
232
|
+
var tmp4_firstCommitDateTime = _this__u8e3s4.z16_1;
|
|
233
|
+
var tmp5_ease = _this__u8e3s4.a17_1;
|
|
234
|
+
var tmp6_storyId = _this__u8e3s4.b17_1;
|
|
235
|
+
var tmp7_semver = _this__u8e3s4.c17_1;
|
|
236
|
+
var tmp8_label = _this__u8e3s4.d17_1;
|
|
237
|
+
var tmp9_tagName = _this__u8e3s4.e17_1;
|
|
238
|
+
var tmp10_tagDateTime = _this__u8e3s4.f17_1;
|
|
239
|
+
var tmp11_commitCount = _this__u8e3s4.x16_1;
|
|
240
|
+
return new ContributionJson(tmp0_lastCommit, tmp1_firstCommit, tmp2_authors, tmp3_dateTime, tmp4_firstCommitDateTime, tmp11_commitCount, tmp5_ease, tmp6_storyId, tmp7_semver, tmp8_label, tmp9_tagName, tmp10_tagDateTime);
|
|
241
|
+
}
|
|
242
|
+
//region block: post-declaration
|
|
243
|
+
protoOf($serializer).wn = typeParametersSerializers;
|
|
244
|
+
//endregion
|
|
245
|
+
//region block: exports
|
|
246
|
+
_.$_$ = _.$_$ || {};
|
|
247
|
+
_.$_$.a = toJsonString_0;
|
|
248
|
+
_.$_$.b = toJsonString;
|
|
249
|
+
//endregion
|
|
250
|
+
return _;
|
|
251
|
+
}(module.exports, require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js')));
|
|
252
|
+
|
|
253
|
+
//# sourceMappingURL=tools-digger-json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../digger-json/src/commonMain/kotlin/com/zegreatrob/tools/digger/json/ContributionDataJson.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Collections.kt","../../../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/Serializers.kt","../../../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/Platform.common.kt","../../../../../../../../../../../opt/buildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/SerialFormat.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/js-ir/builtins/Library.kt"],"sourcesContent":[null,null,null,null,null,null],"names":["toJsonString","<this>","item","<init>","<get-descriptor>","childSerializers","serialize","encoder","value","lastCommit","firstCommit","authors","dateTime","firstCommitDateTime","commitCount","ease","storyId","semver","label","tagName","tagDateTime","toString","hashCode","result","equals","other","toJsonModel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwBAA,CAAIC,aAAJD,EAAoD;A;;;;sBCo/CnC,wBAAa,wBAl/C1B,aAk/C0B,EAAwB,EAAxB,CAAb,C;QAuEA,gBAzjDb,aAyjDa,I;WAAA,iB,EAAb;A,UAAKE,OAAQ,iB;sBAzjDT,YA0jD0B,IA1jD1B,C;MA0jDA,WAAY,GAAI,SAAJ,C;IAAmB,C;;iBCh/CrB,W;;iBCrBlB,gK;gCADgE,M,iBAAA,M;IHtDuC,OIwFnG,WAAiC,SAAjC,EHq+CO,WGr+CP,C;EJxFkG,C;yBAEtGF,CAAIC,aAAJD,EAA0C;A;;gBILR,0B;;iBF+EhB,W;;iBCrBlB,gF;gCADgE,M,iBAAA,M;IHpDY,OIsFxE,WAAiC,SAAjC,EAA+C,KAA/C,C;EJtFuE,C;oBAlB3EG,CAAAA,EAAA;A;cAAA,I;;;;IAAA,YKDO,2H;ELCP,C;;;;;;;sBAAAA,CAAAA,EAAA;A;QAAA,oH;IAAA,uC;IAAA,wC;IAAA,oC;IAAA,oC;IAAA,+C;IAAA,wC;IAAA,gC;IAAA,mC;IAAA,kC;IAAA,iC;IAAA,mC;IAAA,uC;IAAA,4B;EAAA,C;qCARAC,CAAAA,EAQA;A,IAAA,iB;EAcA,C;qCAtBAC,CAAAA,EAQA;A,QAAA,2C;;;;IAAA,OKDO,kf;ELeP,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y;IAAA,gD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,W;EAAA,C;sBA2CQE,CAAIzB,aAAJyB,EACJ;A,QACiB,qC;QACC,sC;QACJ,kC;QACC,mC;QACW,8C;QACf,+B;QACG,kC;QACD,iC;QACD,gC;QACE,kC;QACI,uC;QACA,uC;IACjB,OAbD,qBACiB,eADjB,EAEkB,gBAFlB,EAGc,YAHd,EAIe,aAJf,EAK0B,wBAL1B,EAYkB,iBAZlB,EAMW,SANX,EAOc,YAPd,EAQa,WARb,EASY,UATZ,EAUc,YAVd,EAWkB,iBAXlB,C;EAaA,C;;;;;;;;;;;"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
(function (_, kotlin_kotlin) {
|
|
2
|
+
'use strict';
|
|
3
|
+
//region block: imports
|
|
4
|
+
var imul = Math.imul;
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.y8;
|
|
6
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
7
|
+
var getStringHashCode = kotlin_kotlin.$_$.b8;
|
|
8
|
+
var hashCode = kotlin_kotlin.$_$.c8;
|
|
9
|
+
var THROW_CCE = kotlin_kotlin.$_$.jc;
|
|
10
|
+
var equals = kotlin_kotlin.$_$.w7;
|
|
11
|
+
var classMeta = kotlin_kotlin.$_$.u7;
|
|
12
|
+
var setMetadataFor = kotlin_kotlin.$_$.z8;
|
|
13
|
+
//endregion
|
|
14
|
+
//region block: pre-declaration
|
|
15
|
+
setMetadataFor(Contribution, 'Contribution', classMeta);
|
|
16
|
+
//endregion
|
|
17
|
+
function Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
18
|
+
this.u16_1 = lastCommit;
|
|
19
|
+
this.v16_1 = firstCommit;
|
|
20
|
+
this.w16_1 = authors;
|
|
21
|
+
this.x16_1 = commitCount;
|
|
22
|
+
this.y16_1 = dateTime;
|
|
23
|
+
this.z16_1 = firstCommitDateTime;
|
|
24
|
+
this.a17_1 = ease;
|
|
25
|
+
this.b17_1 = storyId;
|
|
26
|
+
this.c17_1 = semver;
|
|
27
|
+
this.d17_1 = label;
|
|
28
|
+
this.e17_1 = tagName;
|
|
29
|
+
this.f17_1 = tagDateTime;
|
|
30
|
+
}
|
|
31
|
+
protoOf(Contribution).g17 = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
32
|
+
return new Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
|
|
33
|
+
};
|
|
34
|
+
protoOf(Contribution).h17 = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime, $super) {
|
|
35
|
+
lastCommit = lastCommit === VOID ? this.u16_1 : lastCommit;
|
|
36
|
+
firstCommit = firstCommit === VOID ? this.v16_1 : firstCommit;
|
|
37
|
+
authors = authors === VOID ? this.w16_1 : authors;
|
|
38
|
+
commitCount = commitCount === VOID ? this.x16_1 : commitCount;
|
|
39
|
+
dateTime = dateTime === VOID ? this.y16_1 : dateTime;
|
|
40
|
+
firstCommitDateTime = firstCommitDateTime === VOID ? this.z16_1 : firstCommitDateTime;
|
|
41
|
+
ease = ease === VOID ? this.a17_1 : ease;
|
|
42
|
+
storyId = storyId === VOID ? this.b17_1 : storyId;
|
|
43
|
+
semver = semver === VOID ? this.c17_1 : semver;
|
|
44
|
+
label = label === VOID ? this.d17_1 : label;
|
|
45
|
+
tagName = tagName === VOID ? this.e17_1 : tagName;
|
|
46
|
+
tagDateTime = tagDateTime === VOID ? this.f17_1 : tagDateTime;
|
|
47
|
+
return $super === VOID ? this.g17(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) : $super.g17.call(this, lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
|
|
48
|
+
};
|
|
49
|
+
protoOf(Contribution).toString = function () {
|
|
50
|
+
return 'Contribution(lastCommit=' + this.u16_1 + ', firstCommit=' + this.v16_1 + ', authors=' + this.w16_1 + ', commitCount=' + this.x16_1 + ', dateTime=' + this.y16_1 + ', firstCommitDateTime=' + this.z16_1 + ', ease=' + this.a17_1 + ', storyId=' + this.b17_1 + ', semver=' + this.c17_1 + ', label=' + this.d17_1 + ', tagName=' + this.e17_1 + ', tagDateTime=' + this.f17_1 + ')';
|
|
51
|
+
};
|
|
52
|
+
protoOf(Contribution).hashCode = function () {
|
|
53
|
+
var result = getStringHashCode(this.u16_1);
|
|
54
|
+
result = imul(result, 31) + getStringHashCode(this.v16_1) | 0;
|
|
55
|
+
result = imul(result, 31) + hashCode(this.w16_1) | 0;
|
|
56
|
+
result = imul(result, 31) + this.x16_1 | 0;
|
|
57
|
+
result = imul(result, 31) + (this.y16_1 == null ? 0 : this.y16_1.hashCode()) | 0;
|
|
58
|
+
result = imul(result, 31) + (this.z16_1 == null ? 0 : this.z16_1.hashCode()) | 0;
|
|
59
|
+
result = imul(result, 31) + (this.a17_1 == null ? 0 : this.a17_1) | 0;
|
|
60
|
+
result = imul(result, 31) + (this.b17_1 == null ? 0 : getStringHashCode(this.b17_1)) | 0;
|
|
61
|
+
result = imul(result, 31) + (this.c17_1 == null ? 0 : getStringHashCode(this.c17_1)) | 0;
|
|
62
|
+
result = imul(result, 31) + (this.d17_1 == null ? 0 : getStringHashCode(this.d17_1)) | 0;
|
|
63
|
+
result = imul(result, 31) + (this.e17_1 == null ? 0 : getStringHashCode(this.e17_1)) | 0;
|
|
64
|
+
result = imul(result, 31) + (this.f17_1 == null ? 0 : this.f17_1.hashCode()) | 0;
|
|
65
|
+
return result;
|
|
66
|
+
};
|
|
67
|
+
protoOf(Contribution).equals = function (other) {
|
|
68
|
+
if (this === other)
|
|
69
|
+
return true;
|
|
70
|
+
if (!(other instanceof Contribution))
|
|
71
|
+
return false;
|
|
72
|
+
var tmp0_other_with_cast = other instanceof Contribution ? other : THROW_CCE();
|
|
73
|
+
if (!(this.u16_1 === tmp0_other_with_cast.u16_1))
|
|
74
|
+
return false;
|
|
75
|
+
if (!(this.v16_1 === tmp0_other_with_cast.v16_1))
|
|
76
|
+
return false;
|
|
77
|
+
if (!equals(this.w16_1, tmp0_other_with_cast.w16_1))
|
|
78
|
+
return false;
|
|
79
|
+
if (!(this.x16_1 === tmp0_other_with_cast.x16_1))
|
|
80
|
+
return false;
|
|
81
|
+
if (!equals(this.y16_1, tmp0_other_with_cast.y16_1))
|
|
82
|
+
return false;
|
|
83
|
+
if (!equals(this.z16_1, tmp0_other_with_cast.z16_1))
|
|
84
|
+
return false;
|
|
85
|
+
if (!(this.a17_1 == tmp0_other_with_cast.a17_1))
|
|
86
|
+
return false;
|
|
87
|
+
if (!(this.b17_1 == tmp0_other_with_cast.b17_1))
|
|
88
|
+
return false;
|
|
89
|
+
if (!(this.c17_1 == tmp0_other_with_cast.c17_1))
|
|
90
|
+
return false;
|
|
91
|
+
if (!(this.d17_1 == tmp0_other_with_cast.d17_1))
|
|
92
|
+
return false;
|
|
93
|
+
if (!(this.e17_1 == tmp0_other_with_cast.e17_1))
|
|
94
|
+
return false;
|
|
95
|
+
if (!equals(this.f17_1, tmp0_other_with_cast.f17_1))
|
|
96
|
+
return false;
|
|
97
|
+
return true;
|
|
98
|
+
};
|
|
99
|
+
//region block: exports
|
|
100
|
+
_.$_$ = _.$_$ || {};
|
|
101
|
+
_.$_$.a = Contribution;
|
|
102
|
+
//endregion
|
|
103
|
+
return _;
|
|
104
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
|
|
105
|
+
|
|
106
|
+
//# sourceMappingURL=tools-digger-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../digger-model/src/commonMain/kotlin/com/zegreatrob/tools/digger/model/Contribution.kt"],"sourcesContent":[null],"names":["<init>","lastCommit","firstCommit","authors","commitCount","dateTime","firstCommitDateTime","ease","storyId","semver","label","tagName","tagDateTime","copy","copy$default","toString","hashCode","result","equals","other"],"mappings":";;;;;;;;;;;;;;;;uBAIKA,CACDC,U,EACAC,W,EACAC,O,EACAC,W,EACAC,Q,EACAC,mB,EACAC,I,EACAC,O,EACAC,M,EACAC,K,EACAC,O,EACAC,WAZCZ,EAAL;A,IACI,uB;IACA,wB;IACA,oB;IACA,wB;IACA,qB;IACA,gC;IACA,iB;IACA,oB;IACA,mB;IACA,kB;IACA,oB;IACA,wB;EAZJ,C;uCAJAa,CAKIZ,U,EACAC,W,EACAC,O,EACAC,W,EACAC,Q,EACAC,mB,EACAC,I,EACAC,O,EACAC,M,EACAC,K,EACAC,O,EACAC,WAhBJC,EAAA;A,IAAA,yJ;EAAA,C;uCAAAC,CAKIb,U,EACAC,W,EACAC,O,EACAC,W,EACAC,Q,EACAC,mB,EACAC,I,EACAC,O,EACAC,M,EACAC,K,EACAC,O,EACAC,W,QAhBJE,E;uCAAA,I,CAAA,K;yCAAA,I,CAAA,K;iCAAA,I,CAAA,K;yCAAA,I,CAAA,K;mCAAA,I,CAAA,K;yDAAA,I,CAAA,K;2BAAA,I,CAAA,K;iCAAA,I,CAAA,K;+BAAA,I,CAAA,K;6BAAA,I,CAAA,K;iCAAA,I,CAAA,K;yCAAA,I,CAAA,K;;G;4CAAAC,CAAAA,EAAA;A,IAAA,2X;EAAA,C;4CAAAC,CAAAA,EAAA;A,QAAAC,sC;IAAA,6D;IAAA,oD;IAAA,0C;IAAA,gF;IAAA,gF;IAAA,qE;IAAA,wF;IAAA,wF;IAAA,wF;IAAA,wF;IAAA,gF;IAAA,a;EAAA,C;0CAAAC,CAAAC,KAAAD,EAAA;A,IAAA,mB;MAAA,W;IAAA,qC;MAAA,Y;QAAA,0E;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,W;EAAA,C;;;;;;;"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_datetime) {
|
|
2
|
+
'use strict';
|
|
3
|
+
//region block: imports
|
|
4
|
+
var imul = Math.imul;
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.y8;
|
|
6
|
+
var getStringHashCode = kotlin_kotlin.$_$.b8;
|
|
7
|
+
var hashCode = kotlin_kotlin.$_$.c8;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.jc;
|
|
9
|
+
var equals = kotlin_kotlin.$_$.w7;
|
|
10
|
+
var classMeta = kotlin_kotlin.$_$.u7;
|
|
11
|
+
var setMetadataFor = kotlin_kotlin.$_$.z8;
|
|
12
|
+
var split = kotlin_kotlin.$_$.hb;
|
|
13
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
14
|
+
var charSequenceLength = kotlin_kotlin.$_$.s7;
|
|
15
|
+
var Unit_instance = kotlin_kotlin.$_$.l3;
|
|
16
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.i4;
|
|
17
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
18
|
+
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
19
|
+
var joinToString = kotlin_kotlin.$_$.h5;
|
|
20
|
+
var listOf = kotlin_kotlin.$_$.t5;
|
|
21
|
+
var isCharSequence = kotlin_kotlin.$_$.i8;
|
|
22
|
+
var trim = kotlin_kotlin.$_$.ub;
|
|
23
|
+
var toString = kotlin_kotlin.$_$.b9;
|
|
24
|
+
var reversed = kotlin_kotlin.$_$.g6;
|
|
25
|
+
var last = kotlin_kotlin.$_$.q5;
|
|
26
|
+
var emptyList = kotlin_kotlin.$_$.u4;
|
|
27
|
+
var listOf_0 = kotlin_kotlin.$_$.s5;
|
|
28
|
+
var plus = kotlin_kotlin.$_$.c6;
|
|
29
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
30
|
+
var first = kotlin_kotlin.$_$.z4;
|
|
31
|
+
var copyToArray = kotlin_kotlin.$_$.q4;
|
|
32
|
+
var to = kotlin_kotlin.$_$.ed;
|
|
33
|
+
var json = kotlin_kotlin.$_$.q8;
|
|
34
|
+
//endregion
|
|
35
|
+
//region block: pre-declaration
|
|
36
|
+
setMetadataFor(CommitRef, 'CommitRef', classMeta);
|
|
37
|
+
setMetadataFor(GitAdapter, 'GitAdapter', classMeta);
|
|
38
|
+
setMetadataFor(TagRef, 'TagRef', classMeta);
|
|
39
|
+
//endregion
|
|
40
|
+
function CommitRef(id, authorEmail, committerEmail, dateTime, parents, fullMessage) {
|
|
41
|
+
this.i17_1 = id;
|
|
42
|
+
this.j17_1 = authorEmail;
|
|
43
|
+
this.k17_1 = committerEmail;
|
|
44
|
+
this.l17_1 = dateTime;
|
|
45
|
+
this.m17_1 = parents;
|
|
46
|
+
this.n17_1 = fullMessage;
|
|
47
|
+
}
|
|
48
|
+
protoOf(CommitRef).toString = function () {
|
|
49
|
+
return 'CommitRef(id=' + this.i17_1 + ', authorEmail=' + this.j17_1 + ', committerEmail=' + this.k17_1 + ', dateTime=' + this.l17_1 + ', parents=' + this.m17_1 + ', fullMessage=' + this.n17_1 + ')';
|
|
50
|
+
};
|
|
51
|
+
protoOf(CommitRef).hashCode = function () {
|
|
52
|
+
var result = getStringHashCode(this.i17_1);
|
|
53
|
+
result = imul(result, 31) + getStringHashCode(this.j17_1) | 0;
|
|
54
|
+
result = imul(result, 31) + getStringHashCode(this.k17_1) | 0;
|
|
55
|
+
result = imul(result, 31) + this.l17_1.hashCode() | 0;
|
|
56
|
+
result = imul(result, 31) + hashCode(this.m17_1) | 0;
|
|
57
|
+
result = imul(result, 31) + getStringHashCode(this.n17_1) | 0;
|
|
58
|
+
return result;
|
|
59
|
+
};
|
|
60
|
+
protoOf(CommitRef).equals = function (other) {
|
|
61
|
+
if (this === other)
|
|
62
|
+
return true;
|
|
63
|
+
if (!(other instanceof CommitRef))
|
|
64
|
+
return false;
|
|
65
|
+
var tmp0_other_with_cast = other instanceof CommitRef ? other : THROW_CCE();
|
|
66
|
+
if (!(this.i17_1 === tmp0_other_with_cast.i17_1))
|
|
67
|
+
return false;
|
|
68
|
+
if (!(this.j17_1 === tmp0_other_with_cast.j17_1))
|
|
69
|
+
return false;
|
|
70
|
+
if (!(this.k17_1 === tmp0_other_with_cast.k17_1))
|
|
71
|
+
return false;
|
|
72
|
+
if (!this.l17_1.equals(tmp0_other_with_cast.l17_1))
|
|
73
|
+
return false;
|
|
74
|
+
if (!equals(this.m17_1, tmp0_other_with_cast.m17_1))
|
|
75
|
+
return false;
|
|
76
|
+
if (!(this.n17_1 === tmp0_other_with_cast.n17_1))
|
|
77
|
+
return false;
|
|
78
|
+
return true;
|
|
79
|
+
};
|
|
80
|
+
function parseLog($this, outputText) {
|
|
81
|
+
// Inline function 'kotlin.collections.map' call
|
|
82
|
+
// Inline function 'kotlin.collections.filter' call
|
|
83
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
84
|
+
var this_0 = split(outputText, [$this.p17_1 + '\n']);
|
|
85
|
+
var destination = ArrayList_init_$Create$();
|
|
86
|
+
var tmp0_iterator = this_0.r();
|
|
87
|
+
while (tmp0_iterator.s()) {
|
|
88
|
+
var element = tmp0_iterator.u();
|
|
89
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>' call
|
|
90
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
91
|
+
if (charSequenceLength(element) > 0) {
|
|
92
|
+
destination.o(element);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
96
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
97
|
+
var tmp0_iterator_0 = destination.r();
|
|
98
|
+
while (tmp0_iterator_0.s()) {
|
|
99
|
+
var item = tmp0_iterator_0.u();
|
|
100
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>' call
|
|
101
|
+
var elements = split(item, ['\n']);
|
|
102
|
+
var tmp = elements.c1(0);
|
|
103
|
+
var tmp_0 = elements.c1(1);
|
|
104
|
+
var tmp_1 = elements.c1(2);
|
|
105
|
+
var tmp_2 = Companion_getInstance().l16(elements.c1(3));
|
|
106
|
+
// Inline function 'kotlin.collections.filter' call
|
|
107
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
108
|
+
var this_1 = split(elements.c1(4), [' ']);
|
|
109
|
+
var destination_1 = ArrayList_init_$Create$();
|
|
110
|
+
var tmp0_iterator_1 = this_1.r();
|
|
111
|
+
while (tmp0_iterator_1.s()) {
|
|
112
|
+
var element_0 = tmp0_iterator_1.u();
|
|
113
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>.<anonymous>' call
|
|
114
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
115
|
+
if (charSequenceLength(element_0) > 0) {
|
|
116
|
+
destination_1.o(element_0);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
var tmp$ret$8 = new CommitRef(tmp, tmp_0, tmp_1, tmp_2, destination_1, joinToString(elements.z1(5, elements.l()), '\n'));
|
|
120
|
+
destination_0.o(tmp$ret$8);
|
|
121
|
+
}
|
|
122
|
+
return destination_0;
|
|
123
|
+
}
|
|
124
|
+
function GitAdapter(workingDirectory) {
|
|
125
|
+
this.o17_1 = workingDirectory;
|
|
126
|
+
this.p17_1 = '--------!--------';
|
|
127
|
+
this.q17_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.p17_1;
|
|
128
|
+
}
|
|
129
|
+
protoOf(GitAdapter).r17 = function () {
|
|
130
|
+
// Inline function 'kotlin.text.trim' call
|
|
131
|
+
var this_0 = runProcess(listOf(['git', '--no-pager', 'rev-parse', 'HEAD']), this.o17_1);
|
|
132
|
+
return toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
133
|
+
};
|
|
134
|
+
protoOf(GitAdapter).s17 = function () {
|
|
135
|
+
var outputText = runProcess(listOf(['git', '--no-pager', 'tag', '--list', '--sort=-taggerdate', '--format=%(refname:strip=2),%(*objectname),%(creatordate:iso-strict)']), this.o17_1);
|
|
136
|
+
// Inline function 'kotlin.collections.mapNotNull' call
|
|
137
|
+
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
138
|
+
var this_0 = split(outputText, ['\n']);
|
|
139
|
+
var destination = ArrayList_init_$Create$();
|
|
140
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
141
|
+
var tmp0_iterator = this_0.r();
|
|
142
|
+
while (tmp0_iterator.s()) {
|
|
143
|
+
var element = tmp0_iterator.u();
|
|
144
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
145
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.listTags.<anonymous>' call
|
|
146
|
+
var commaSplit = split(element, [',']);
|
|
147
|
+
var tmp;
|
|
148
|
+
if (commaSplit.l() >= 3) {
|
|
149
|
+
tmp = new TagRef(joinToString(commaSplit.z1(0, commaSplit.l() - 2 | 0), ''), reversed(commaSplit).c1(1), Companion_getInstance().l16(last(commaSplit)));
|
|
150
|
+
} else {
|
|
151
|
+
tmp = null;
|
|
152
|
+
}
|
|
153
|
+
var tmp0_safe_receiver = tmp;
|
|
154
|
+
if (tmp0_safe_receiver == null)
|
|
155
|
+
null;
|
|
156
|
+
else {
|
|
157
|
+
// Inline function 'kotlin.let' call
|
|
158
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
159
|
+
destination.o(tmp0_safe_receiver);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
var output = destination;
|
|
163
|
+
return output;
|
|
164
|
+
};
|
|
165
|
+
protoOf(GitAdapter).t17 = function () {
|
|
166
|
+
return parseLog(this, runProcess(listOf(['git', '--no-pager', 'log', '--format=' + this.q17_1]), this.o17_1));
|
|
167
|
+
};
|
|
168
|
+
protoOf(GitAdapter).u17 = function (begin, end) {
|
|
169
|
+
return parseLog(this, runProcess(plus(listOf(['git', '--no-pager', 'log', '--format=' + this.q17_1, begin]), !(end == null) ? listOf_0(end) : emptyList()), this.o17_1));
|
|
170
|
+
};
|
|
171
|
+
protoOf(GitAdapter).v17 = function (begin, end, $super) {
|
|
172
|
+
end = end === VOID ? null : end;
|
|
173
|
+
return $super === VOID ? this.u17(begin, end) : $super.u17.call(this, begin, end);
|
|
174
|
+
};
|
|
175
|
+
function TagRef(name, commitId, dateTime) {
|
|
176
|
+
this.w17_1 = name;
|
|
177
|
+
this.x17_1 = commitId;
|
|
178
|
+
this.y17_1 = dateTime;
|
|
179
|
+
}
|
|
180
|
+
protoOf(TagRef).toString = function () {
|
|
181
|
+
return 'TagRef(name=' + this.w17_1 + ', commitId=' + this.x17_1 + ', dateTime=' + this.y17_1 + ')';
|
|
182
|
+
};
|
|
183
|
+
protoOf(TagRef).hashCode = function () {
|
|
184
|
+
var result = getStringHashCode(this.w17_1);
|
|
185
|
+
result = imul(result, 31) + getStringHashCode(this.x17_1) | 0;
|
|
186
|
+
result = imul(result, 31) + this.y17_1.hashCode() | 0;
|
|
187
|
+
return result;
|
|
188
|
+
};
|
|
189
|
+
protoOf(TagRef).equals = function (other) {
|
|
190
|
+
if (this === other)
|
|
191
|
+
return true;
|
|
192
|
+
if (!(other instanceof TagRef))
|
|
193
|
+
return false;
|
|
194
|
+
var tmp0_other_with_cast = other instanceof TagRef ? other : THROW_CCE();
|
|
195
|
+
if (!(this.w17_1 === tmp0_other_with_cast.w17_1))
|
|
196
|
+
return false;
|
|
197
|
+
if (!(this.x17_1 === tmp0_other_with_cast.x17_1))
|
|
198
|
+
return false;
|
|
199
|
+
if (!this.y17_1.equals(tmp0_other_with_cast.y17_1))
|
|
200
|
+
return false;
|
|
201
|
+
return true;
|
|
202
|
+
};
|
|
203
|
+
function get_childProcess() {
|
|
204
|
+
_init_properties_RunProcess_js_kt__6db8dd();
|
|
205
|
+
return childProcess;
|
|
206
|
+
}
|
|
207
|
+
var childProcess;
|
|
208
|
+
function runProcess(args, workingDirectory) {
|
|
209
|
+
_init_properties_RunProcess_js_kt__6db8dd();
|
|
210
|
+
var program = first(args);
|
|
211
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
212
|
+
var this_0 = args.z1(1, args.l());
|
|
213
|
+
var tmp$ret$0 = copyToArray(this_0);
|
|
214
|
+
var spawn = get_childProcess().spawnSync(program, tmp$ret$0, json([to('cwd', workingDirectory), to('maxBuffer', 10485760)]));
|
|
215
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
216
|
+
var tmp0_safe_receiver = spawn.stdout;
|
|
217
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString('utf8');
|
|
218
|
+
}
|
|
219
|
+
var properties_initialized_RunProcess_js_kt_yehn37;
|
|
220
|
+
function _init_properties_RunProcess_js_kt__6db8dd() {
|
|
221
|
+
if (!properties_initialized_RunProcess_js_kt_yehn37) {
|
|
222
|
+
properties_initialized_RunProcess_js_kt_yehn37 = true;
|
|
223
|
+
childProcess = require('node:child_process');
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
//region block: exports
|
|
227
|
+
_.$_$ = _.$_$ || {};
|
|
228
|
+
_.$_$.a = GitAdapter;
|
|
229
|
+
//endregion
|
|
230
|
+
return _;
|
|
231
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js')));
|
|
232
|
+
|
|
233
|
+
//# sourceMappingURL=tools-git-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/CommitRef.kt","../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/GitAdapter.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Collections.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/text/Strings.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/util/Standard.kt","../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/TagRef.kt","../../../../../git-adapter/src/jsMain/kotlin/com/zegreatrob/tools/adapter/git/RunProcess.js.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/jsMainSources/libraries/stdlib/js/src/kotlin/collectionJs.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":["<init>","id","authorEmail","committerEmail","dateTime","parents","fullMessage","toString","hashCode","result","equals","other","parseLog","outputText","element","item","elements","workingDirectory","headCommitId","listTags","commaSplit","output","log","logWithRange","begin","end","logWithRange$default","name","commitId","<get-childProcess>","runProcess","args","program","spawn","<init properties RunProcess.js.kt>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAIKA,CACDC,E,EACAC,W,EACAC,c,EACAC,Q,EACAC,O,EACAC,WANCN,EAAL;A,IACI,e;IACA,wB;IACA,2B;IACA,qB;IACA,oB;IACA,wB;EANJ,C;yCAJAO,CAAAA,EAAA;A,IAAA,qM;EAAA,C;yCAAAC,CAAAA,EAAA;A,QAAAC,sC;IAAA,6D;IAAA,6D;IAAA,qD;IAAA,oD;IAAA,6D;IAAA,a;EAAA,C;uCAAAC,CAAAC,KAAAD,EAAA;A,IAAA,mB;MAAA,W;IAAA,kC;MAAA,Y;QAAA,uE;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,mD;MAAA,Y;IAAA,oD;MAAA,Y;IA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