git-digger 1.5.39 → 1.5.43
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.mjs +5119 -0
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
- package/kotlin/bin/digger +0 -0
- package/kotlin/clikt-clikt-mordant.mjs +310 -0
- package/kotlin/clikt-clikt-mordant.mjs.map +1 -0
- package/kotlin/clikt-clikt.mjs +6663 -0
- package/kotlin/clikt-clikt.mjs.map +1 -0
- package/kotlin/colormath-root-colormath.mjs +1675 -0
- package/kotlin/colormath-root-colormath.mjs.map +1 -0
- package/kotlin/command-line-tools-digger-cli.mjs +498 -0
- package/kotlin/command-line-tools-digger-cli.mjs.map +1 -0
- package/kotlin/kotlin-kotlin-stdlib.mjs +11790 -0
- package/kotlin/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
- package/kotlin/{kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map → kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map} +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.mjs +3640 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.mjs +1140 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/kotlin/mordant-mordant-omnibus.mjs +4 -0
- package/kotlin/{mordant-mordant-omnibus.js.map → mordant-mordant-omnibus.mjs.map} +1 -1
- package/kotlin/mordant-mordant.mjs +10332 -0
- package/kotlin/mordant-mordant.mjs.map +1 -0
- package/kotlin/tools-cli-tools.mjs +30 -0
- package/kotlin/tools-cli-tools.mjs.map +1 -0
- package/kotlin/tools-digger-core.mjs +666 -0
- package/kotlin/tools-digger-core.mjs.map +1 -0
- package/kotlin/tools-digger-json.mjs +263 -0
- package/kotlin/tools-digger-json.mjs.map +1 -0
- package/kotlin/tools-digger-model.mjs +109 -0
- package/kotlin/tools-digger-model.mjs.map +1 -0
- package/kotlin/tools-git-adapter.mjs +261 -0
- package/kotlin/tools-git-adapter.mjs.map +1 -0
- package/package.json +2 -2
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +0 -5104
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
- package/kotlin/clikt-clikt-mordant.js +0 -303
- package/kotlin/clikt-clikt-mordant.js.map +0 -1
- package/kotlin/clikt-clikt.js +0 -6742
- package/kotlin/clikt-clikt.js.map +0 -1
- package/kotlin/colormath-root-colormath.js +0 -1627
- package/kotlin/colormath-root-colormath.js.map +0 -1
- package/kotlin/command-line-tools-digger-cli.js +0 -563
- package/kotlin/command-line-tools-digger-cli.js.map +0 -1
- package/kotlin/kotlin-kotlin-stdlib.js +0 -11651
- package/kotlin/kotlin-kotlin-stdlib.js.map +0 -1
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +0 -3509
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +0 -1118
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
- package/kotlin/mordant-mordant-omnibus.js +0 -8
- package/kotlin/mordant-mordant.js +0 -10271
- package/kotlin/mordant-mordant.js.map +0 -1
- package/kotlin/tools-cli-tools.js +0 -55
- package/kotlin/tools-cli-tools.js.map +0 -1
- package/kotlin/tools-digger-core.js +0 -659
- package/kotlin/tools-digger-core.js.map +0 -1
- package/kotlin/tools-digger-json.js +0 -256
- package/kotlin/tools-digger-json.js.map +0 -1
- package/kotlin/tools-digger-model.js +0 -107
- package/kotlin/tools-digger-model.js.map +0 -1
- package/kotlin/tools-git-adapter.js +0 -269
- package/kotlin/tools-git-adapter.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/CommitInspectionResult.kt","../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/DiggerCore.kt","common/src/generated/_Collections.kt","../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/MessageDigResult.kt","../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/MessageDigger.kt","common/src/generated/_Maps.kt","src/kotlin/collections/Maps.kt","../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/AllContributionCommits.kt","src/kotlin/collections/Collections.kt","../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/AlwaysLeftParent.kt","../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/Contribution.kt","js/src/kotlin/text/stringJs.kt","../../../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/CurrentContributionCommits.kt","common/src/generated/_Sequences.kt","src/kotlin/util/Result.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["storyId","ease","authors","semver","result","label","gitWrapper","messageDigger","tagRegex","currentContributionData","currentTag","previousTag","allContributionData","item","tag","contribution","coauthors","majorRegex","minorRegex","patchRegex","noneRegex","storyIdRegex","easeRegex","group","regex","digIntoMessage","input","allContributionCommits","<this>","tagRefs","fullLog","set","list","e","key","element","sortIntoTagSets","log","earlierTag","nextTag","tagPairs","index","alwaysLeftParent","accumulator","commitRefs","messageDigResults","lastCommit","firstCommit","commitInspectionResult","digResult","allAuthors","mergedStoryIds","currentContributionCommits","currentRelevantTags","headCommitId","lastTwoTags","cleaned","first","last","messageDigResult","getSemver","it","groupMatches","groupName","highestPrioritySemver","messageDigResult$lambda"],"mapp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CAAP,C;;;;;;;eAsDD,G;;EAxGC,kD;YAAa,I;;gBACL,yC;wDAAA,K;;EV4BI,OADkC,EU7BlD,KV6BkD,IACtC,IADsC,C;AACnC,C;8BAEvB+B,CAAIpC,aAAJoC,EAA+C;A,EAAW,OAAX,wB;AAAU,C;gCAjB9BC,CAAAJ,EAAAI,EAAA;A,MAAE,yBAAA,EAAG,KAAH,EAAU,WAAV,C;EAA6B,OAAL,oCAAxB,kBAAwB,K;AAAM,C;kCACnCA,CAAAJ,EAAAI,EAAA;A,EAAe,OAAb,UAAU,EAAV,C;AAAc,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { Default_getInstance2p0knxgw5u8xj as Default_getInstance } from './kotlinx-serialization-kotlinx-serialization-json.mjs';
|
|
2
|
+
import {
|
|
3
|
+
ArrayList3it5z8td81qkl as ArrayList,
|
|
4
|
+
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
5
|
+
Unit_instance14hm69wy3kr8u as Unit_instance,
|
|
6
|
+
KtList3hktaavzmj137 as KtList,
|
|
7
|
+
getKClass1s3j9wy1cofik as getKClass,
|
|
8
|
+
arrayOf1akklvh2at202 as arrayOf,
|
|
9
|
+
createKType1lgox3mzhchp5 as createKType,
|
|
10
|
+
createInvariantKTypeProjection3sfd0u0y62ozd as createInvariantKTypeProjection,
|
|
11
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
12
|
+
isInterface3d6p8outrmvmk as isInterface,
|
|
13
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
14
|
+
VOID7hggqo3abtya as VOID,
|
|
15
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
16
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
17
|
+
toString1pkumu07cwy4m as toString,
|
|
18
|
+
toString30pk9tzaqopn as toString_0,
|
|
19
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
20
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
21
|
+
equals2au1ep9vhcato as equals,
|
|
22
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
23
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
24
|
+
import {
|
|
25
|
+
serializer1i4e9ym37oxmo as serializer,
|
|
26
|
+
KSerializerzf77vz1967fq as KSerializer,
|
|
27
|
+
StringSerializer_getInstance2kpn94uehvuc4 as StringSerializer_getInstance,
|
|
28
|
+
ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer,
|
|
29
|
+
PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor,
|
|
30
|
+
IntSerializer_getInstance1qqxumiddm0tw as IntSerializer_getInstance,
|
|
31
|
+
get_nullable197rfua9r7fsz as get_nullable,
|
|
32
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
33
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
|
|
34
|
+
} from './kotlinx-serialization-kotlinx-serialization-core.mjs';
|
|
35
|
+
import { InstantIso8601Serializer_getInstance2m998vf6qxvs0 as InstantIso8601Serializer_getInstance } from './Kotlin-DateTime-library-kotlinx-datetime.mjs';
|
|
36
|
+
//region block: imports
|
|
37
|
+
var imul = Math.imul;
|
|
38
|
+
//endregion
|
|
39
|
+
//region block: pre-declaration
|
|
40
|
+
class Companion {
|
|
41
|
+
constructor() {
|
|
42
|
+
Companion_instance = this;
|
|
43
|
+
var tmp = this;
|
|
44
|
+
// Inline function 'kotlin.arrayOf' call
|
|
45
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
46
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
47
|
+
tmp.o1k_1 = [null, null, new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
class $serializer {
|
|
51
|
+
constructor() {
|
|
52
|
+
$serializer_instance = this;
|
|
53
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.digger.json.ContributionJson', this, 12);
|
|
54
|
+
tmp0_serialDesc.dv('lastCommit', false);
|
|
55
|
+
tmp0_serialDesc.dv('firstCommit', false);
|
|
56
|
+
tmp0_serialDesc.dv('authors', false);
|
|
57
|
+
tmp0_serialDesc.dv('dateTime', true);
|
|
58
|
+
tmp0_serialDesc.dv('firstCommitDateTime', true);
|
|
59
|
+
tmp0_serialDesc.dv('commitCount', false);
|
|
60
|
+
tmp0_serialDesc.dv('ease', true);
|
|
61
|
+
tmp0_serialDesc.dv('storyId', true);
|
|
62
|
+
tmp0_serialDesc.dv('semver', true);
|
|
63
|
+
tmp0_serialDesc.dv('label', true);
|
|
64
|
+
tmp0_serialDesc.dv('tagName', true);
|
|
65
|
+
tmp0_serialDesc.dv('tagDateTime', true);
|
|
66
|
+
this.p1k_1 = tmp0_serialDesc;
|
|
67
|
+
}
|
|
68
|
+
q1k(encoder, value) {
|
|
69
|
+
var tmp0_desc = this.p1k_1;
|
|
70
|
+
var tmp1_output = encoder.rq(tmp0_desc);
|
|
71
|
+
var tmp2_cached = Companion_getInstance().o1k_1;
|
|
72
|
+
tmp1_output.or(tmp0_desc, 0, value.r1k_1);
|
|
73
|
+
tmp1_output.or(tmp0_desc, 1, value.s1k_1);
|
|
74
|
+
tmp1_output.qr(tmp0_desc, 2, tmp2_cached[2], value.t1k_1);
|
|
75
|
+
if (tmp1_output.xr(tmp0_desc, 3) ? true : !(value.u1k_1 == null)) {
|
|
76
|
+
tmp1_output.sr(tmp0_desc, 3, InstantIso8601Serializer_getInstance(), value.u1k_1);
|
|
77
|
+
}
|
|
78
|
+
if (tmp1_output.xr(tmp0_desc, 4) ? true : !(value.v1k_1 == null)) {
|
|
79
|
+
tmp1_output.sr(tmp0_desc, 4, InstantIso8601Serializer_getInstance(), value.v1k_1);
|
|
80
|
+
}
|
|
81
|
+
tmp1_output.jr(tmp0_desc, 5, value.w1k_1);
|
|
82
|
+
if (tmp1_output.xr(tmp0_desc, 6) ? true : !(value.x1k_1 == null)) {
|
|
83
|
+
tmp1_output.sr(tmp0_desc, 6, IntSerializer_getInstance(), value.x1k_1);
|
|
84
|
+
}
|
|
85
|
+
if (tmp1_output.xr(tmp0_desc, 7) ? true : !(value.y1k_1 == null)) {
|
|
86
|
+
tmp1_output.sr(tmp0_desc, 7, StringSerializer_getInstance(), value.y1k_1);
|
|
87
|
+
}
|
|
88
|
+
if (tmp1_output.xr(tmp0_desc, 8) ? true : !(value.z1k_1 == null)) {
|
|
89
|
+
tmp1_output.sr(tmp0_desc, 8, StringSerializer_getInstance(), value.z1k_1);
|
|
90
|
+
}
|
|
91
|
+
if (tmp1_output.xr(tmp0_desc, 9) ? true : !(value.a1l_1 == null)) {
|
|
92
|
+
tmp1_output.sr(tmp0_desc, 9, StringSerializer_getInstance(), value.a1l_1);
|
|
93
|
+
}
|
|
94
|
+
if (tmp1_output.xr(tmp0_desc, 10) ? true : !(value.b1l_1 == null)) {
|
|
95
|
+
tmp1_output.sr(tmp0_desc, 10, StringSerializer_getInstance(), value.b1l_1);
|
|
96
|
+
}
|
|
97
|
+
if (tmp1_output.xr(tmp0_desc, 11) ? true : !(value.c1l_1 == null)) {
|
|
98
|
+
tmp1_output.sr(tmp0_desc, 11, InstantIso8601Serializer_getInstance(), value.c1l_1);
|
|
99
|
+
}
|
|
100
|
+
tmp1_output.sq(tmp0_desc);
|
|
101
|
+
}
|
|
102
|
+
jo(encoder, value) {
|
|
103
|
+
return this.q1k(encoder, value instanceof ContributionJson ? value : THROW_CCE());
|
|
104
|
+
}
|
|
105
|
+
io() {
|
|
106
|
+
return this.p1k_1;
|
|
107
|
+
}
|
|
108
|
+
fv() {
|
|
109
|
+
var tmp0_cached = Companion_getInstance().o1k_1;
|
|
110
|
+
// Inline function 'kotlin.arrayOf' call
|
|
111
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
112
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
113
|
+
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())];
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
class ContributionJson {
|
|
117
|
+
constructor(lastCommit, firstCommit, authors, dateTime, firstCommitDateTime, commitCount, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
118
|
+
Companion_getInstance();
|
|
119
|
+
dateTime = dateTime === VOID ? null : dateTime;
|
|
120
|
+
firstCommitDateTime = firstCommitDateTime === VOID ? null : firstCommitDateTime;
|
|
121
|
+
ease = ease === VOID ? null : ease;
|
|
122
|
+
storyId = storyId === VOID ? null : storyId;
|
|
123
|
+
semver = semver === VOID ? null : semver;
|
|
124
|
+
label = label === VOID ? null : label;
|
|
125
|
+
tagName = tagName === VOID ? null : tagName;
|
|
126
|
+
tagDateTime = tagDateTime === VOID ? null : tagDateTime;
|
|
127
|
+
this.r1k_1 = lastCommit;
|
|
128
|
+
this.s1k_1 = firstCommit;
|
|
129
|
+
this.t1k_1 = authors;
|
|
130
|
+
this.u1k_1 = dateTime;
|
|
131
|
+
this.v1k_1 = firstCommitDateTime;
|
|
132
|
+
this.w1k_1 = commitCount;
|
|
133
|
+
this.x1k_1 = ease;
|
|
134
|
+
this.y1k_1 = storyId;
|
|
135
|
+
this.z1k_1 = semver;
|
|
136
|
+
this.a1l_1 = label;
|
|
137
|
+
this.b1l_1 = tagName;
|
|
138
|
+
this.c1l_1 = tagDateTime;
|
|
139
|
+
}
|
|
140
|
+
toString() {
|
|
141
|
+
return 'ContributionJson(lastCommit=' + this.r1k_1 + ', firstCommit=' + this.s1k_1 + ', authors=' + toString(this.t1k_1) + ', dateTime=' + toString_0(this.u1k_1) + ', firstCommitDateTime=' + toString_0(this.v1k_1) + ', commitCount=' + this.w1k_1 + ', ease=' + this.x1k_1 + ', storyId=' + this.y1k_1 + ', semver=' + this.z1k_1 + ', label=' + this.a1l_1 + ', tagName=' + this.b1l_1 + ', tagDateTime=' + toString_0(this.c1l_1) + ')';
|
|
142
|
+
}
|
|
143
|
+
hashCode() {
|
|
144
|
+
var result = getStringHashCode(this.r1k_1);
|
|
145
|
+
result = imul(result, 31) + getStringHashCode(this.s1k_1) | 0;
|
|
146
|
+
result = imul(result, 31) + hashCode(this.t1k_1) | 0;
|
|
147
|
+
result = imul(result, 31) + (this.u1k_1 == null ? 0 : this.u1k_1.hashCode()) | 0;
|
|
148
|
+
result = imul(result, 31) + (this.v1k_1 == null ? 0 : this.v1k_1.hashCode()) | 0;
|
|
149
|
+
result = imul(result, 31) + this.w1k_1 | 0;
|
|
150
|
+
result = imul(result, 31) + (this.x1k_1 == null ? 0 : this.x1k_1) | 0;
|
|
151
|
+
result = imul(result, 31) + (this.y1k_1 == null ? 0 : getStringHashCode(this.y1k_1)) | 0;
|
|
152
|
+
result = imul(result, 31) + (this.z1k_1 == null ? 0 : getStringHashCode(this.z1k_1)) | 0;
|
|
153
|
+
result = imul(result, 31) + (this.a1l_1 == null ? 0 : getStringHashCode(this.a1l_1)) | 0;
|
|
154
|
+
result = imul(result, 31) + (this.b1l_1 == null ? 0 : getStringHashCode(this.b1l_1)) | 0;
|
|
155
|
+
result = imul(result, 31) + (this.c1l_1 == null ? 0 : this.c1l_1.hashCode()) | 0;
|
|
156
|
+
return result;
|
|
157
|
+
}
|
|
158
|
+
equals(other) {
|
|
159
|
+
if (this === other)
|
|
160
|
+
return true;
|
|
161
|
+
if (!(other instanceof ContributionJson))
|
|
162
|
+
return false;
|
|
163
|
+
var tmp0_other_with_cast = other instanceof ContributionJson ? other : THROW_CCE();
|
|
164
|
+
if (!(this.r1k_1 === tmp0_other_with_cast.r1k_1))
|
|
165
|
+
return false;
|
|
166
|
+
if (!(this.s1k_1 === tmp0_other_with_cast.s1k_1))
|
|
167
|
+
return false;
|
|
168
|
+
if (!equals(this.t1k_1, tmp0_other_with_cast.t1k_1))
|
|
169
|
+
return false;
|
|
170
|
+
if (!equals(this.u1k_1, tmp0_other_with_cast.u1k_1))
|
|
171
|
+
return false;
|
|
172
|
+
if (!equals(this.v1k_1, tmp0_other_with_cast.v1k_1))
|
|
173
|
+
return false;
|
|
174
|
+
if (!(this.w1k_1 === tmp0_other_with_cast.w1k_1))
|
|
175
|
+
return false;
|
|
176
|
+
if (!(this.x1k_1 == tmp0_other_with_cast.x1k_1))
|
|
177
|
+
return false;
|
|
178
|
+
if (!(this.y1k_1 == tmp0_other_with_cast.y1k_1))
|
|
179
|
+
return false;
|
|
180
|
+
if (!(this.z1k_1 == tmp0_other_with_cast.z1k_1))
|
|
181
|
+
return false;
|
|
182
|
+
if (!(this.a1l_1 == tmp0_other_with_cast.a1l_1))
|
|
183
|
+
return false;
|
|
184
|
+
if (!(this.b1l_1 == tmp0_other_with_cast.b1l_1))
|
|
185
|
+
return false;
|
|
186
|
+
if (!equals(this.c1l_1, tmp0_other_with_cast.c1l_1))
|
|
187
|
+
return false;
|
|
188
|
+
return true;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
//endregion
|
|
192
|
+
function toJsonString(_this__u8e3s4) {
|
|
193
|
+
var tmp2 = Default_getInstance();
|
|
194
|
+
// Inline function 'kotlin.collections.map' call
|
|
195
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
196
|
+
var destination = ArrayList.k1(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
197
|
+
var _iterator__ex2g4s = _this__u8e3s4.d1();
|
|
198
|
+
while (_iterator__ex2g4s.e1()) {
|
|
199
|
+
var item = _iterator__ex2g4s.f1();
|
|
200
|
+
// Inline function 'com.zegreatrob.tools.digger.json.toJsonString.stub_for_inlining' call
|
|
201
|
+
var tmp$ret$0 = toJsonModel(item);
|
|
202
|
+
destination.o(tmp$ret$0);
|
|
203
|
+
}
|
|
204
|
+
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
205
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
206
|
+
var this_0 = tmp2.ur();
|
|
207
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
208
|
+
var this_1 = serializer(this_0, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(ContributionJson), arrayOf([]), false))]), false));
|
|
209
|
+
var tmp$ret$4 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
210
|
+
return tmp2.g1h(tmp$ret$4, destination);
|
|
211
|
+
}
|
|
212
|
+
function toJsonString_0(_this__u8e3s4) {
|
|
213
|
+
var tmp0 = Default_getInstance();
|
|
214
|
+
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
215
|
+
var value = toJsonModel(_this__u8e3s4);
|
|
216
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
217
|
+
var this_0 = tmp0.ur();
|
|
218
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
219
|
+
var this_1 = serializer(this_0, createKType(getKClass(ContributionJson), arrayOf([]), false));
|
|
220
|
+
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
221
|
+
return tmp0.g1h(tmp$ret$1, value);
|
|
222
|
+
}
|
|
223
|
+
var Companion_instance;
|
|
224
|
+
function Companion_getInstance() {
|
|
225
|
+
if (Companion_instance === VOID)
|
|
226
|
+
new Companion();
|
|
227
|
+
return Companion_instance;
|
|
228
|
+
}
|
|
229
|
+
var $serializer_instance;
|
|
230
|
+
function $serializer_getInstance() {
|
|
231
|
+
if ($serializer_instance === VOID)
|
|
232
|
+
new $serializer();
|
|
233
|
+
return $serializer_instance;
|
|
234
|
+
}
|
|
235
|
+
function toJsonModel(_this__u8e3s4) {
|
|
236
|
+
var tmp0_lastCommit = _this__u8e3s4.v1e_1;
|
|
237
|
+
var tmp1_firstCommit = _this__u8e3s4.w1e_1;
|
|
238
|
+
var tmp2_authors = _this__u8e3s4.x1e_1;
|
|
239
|
+
var tmp3_dateTime = _this__u8e3s4.z1e_1;
|
|
240
|
+
var tmp4_firstCommitDateTime = _this__u8e3s4.a1f_1;
|
|
241
|
+
var tmp5_ease = _this__u8e3s4.b1f_1;
|
|
242
|
+
var tmp6_storyId = _this__u8e3s4.c1f_1;
|
|
243
|
+
var tmp7_semver = _this__u8e3s4.d1f_1;
|
|
244
|
+
var tmp8_label = _this__u8e3s4.e1f_1;
|
|
245
|
+
var tmp9_tagName = _this__u8e3s4.f1f_1;
|
|
246
|
+
var tmp10_tagDateTime = _this__u8e3s4.g1f_1;
|
|
247
|
+
var tmp11_commitCount = _this__u8e3s4.y1e_1;
|
|
248
|
+
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);
|
|
249
|
+
}
|
|
250
|
+
//region block: post-declaration
|
|
251
|
+
initMetadataForCompanion(Companion);
|
|
252
|
+
protoOf($serializer).gv = typeParametersSerializers;
|
|
253
|
+
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
254
|
+
initMetadataForClass(ContributionJson, 'ContributionJson', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
255
|
+
//endregion
|
|
256
|
+
//region block: exports
|
|
257
|
+
export {
|
|
258
|
+
toJsonString_0 as toJsonString3s2agztpj9km2,
|
|
259
|
+
toJsonString as toJsonStringd18fczzjdwfa,
|
|
260
|
+
};
|
|
261
|
+
//endregion
|
|
262
|
+
|
|
263
|
+
//# sourceMappingURL=tools-digger-json.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../tools/digger-json/src/commonMain/kotlin/com/zegreatrob/tools/digger/json/ContributionDataJson.kt","common/src/generated/_Collections.kt","../../../../../../../../../../../../../mnt/agent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/SerialFormat.kt","../../../../../../../../../../../../../mnt/agent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/Serializers.kt","../../../../../../../../../../../../../mnt/agent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/Platform.common.kt"],"sourcesContent":[null,null,null,null,null],"names":["serialize","encoder","value","childSerializers","lastCommit","firstCommit","authors","dateTime","firstCommitDateTime","commitCount","ease","storyId","semver","label","tagName","tagDateTime","result","toJsonString","<this>","item","toJsonModel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQA,I;;;;IAAA,uI;;;;;;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;;KAAAA,CAAAC,O,EAAAC,KAAAF,EAAA;A,QAAA,sB;QAAA,mC;QAAA,2C;IAAA,yC;IAAA,yC;IAAA,yD;IAAA,2DAK6B,IAL7B,E;MAAA,iF;;IAAA,2DAMwC,IANxC,E;MAAA,iF;;IAAA,yC;IAAA,2DAQqB,IARrB,E;MAAA,sE;;IAAA,2DAS2B,IAT3B,E;MAAA,yE;;IAAA,2DAU0B,IAV1B,E;MAAA,yE;;IAAA,2DAWyB,IAXzB,E;MAAA,yE;;IAAA,4DAY2B,IAZ3B,E;MAAA,0E;;IAAA,4DAagC,IAbhC,E;MAAA,kF;;IAAA,yB;EAcA,C;KAgD8uJC,O,EAAkBC,K;;;;;;IA9DhwJC,CAAAA,EAAA;A,QAAA,2C;;;;IAAA,yf;EAcA,C;;;cAZIC,U,EACAC,W,EACAC,O,EACAC,Q,EACAC,mB,EACAC,W,EACAC,I,EACAC,O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AAyC;A,MACxB,qC;MACC,sC;MACJ,kC;MACC,mC;MACW,8C;MACf,+B;MACG,kC;MACD,iC;MACD,gC;MACE,kC;MACI,uC;MACA,uC;EACjB,4BAZgB,eAYhB,EAXiB,gBAWjB,EAVa,YAUb,EATc,aASd,EARyB,wBAQzB,EADiB,iBACjB,EAPU,SAOV,EANa,YAMb,EALY,WAKZ,EAJW,UAIX,EAHa,YAGb,EAFiB,iBAEjB,C;AAAD,C;;;;;;;;;;;"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VOID7hggqo3abtya as VOID,
|
|
3
|
+
toString1pkumu07cwy4m as toString,
|
|
4
|
+
toString30pk9tzaqopn as toString_0,
|
|
5
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
6
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
7
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
8
|
+
equals2au1ep9vhcato as equals,
|
|
9
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
10
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
11
|
+
//region block: imports
|
|
12
|
+
var imul = Math.imul;
|
|
13
|
+
//endregion
|
|
14
|
+
//region block: pre-declaration
|
|
15
|
+
class Contribution {
|
|
16
|
+
constructor(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
17
|
+
this.v1e_1 = lastCommit;
|
|
18
|
+
this.w1e_1 = firstCommit;
|
|
19
|
+
this.x1e_1 = authors;
|
|
20
|
+
this.y1e_1 = commitCount;
|
|
21
|
+
this.z1e_1 = dateTime;
|
|
22
|
+
this.a1f_1 = firstCommitDateTime;
|
|
23
|
+
this.b1f_1 = ease;
|
|
24
|
+
this.c1f_1 = storyId;
|
|
25
|
+
this.d1f_1 = semver;
|
|
26
|
+
this.e1f_1 = label;
|
|
27
|
+
this.f1f_1 = tagName;
|
|
28
|
+
this.g1f_1 = tagDateTime;
|
|
29
|
+
}
|
|
30
|
+
h1f(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
31
|
+
return new Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
|
|
32
|
+
}
|
|
33
|
+
i1f(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime, $super) {
|
|
34
|
+
lastCommit = lastCommit === VOID ? this.v1e_1 : lastCommit;
|
|
35
|
+
firstCommit = firstCommit === VOID ? this.w1e_1 : firstCommit;
|
|
36
|
+
authors = authors === VOID ? this.x1e_1 : authors;
|
|
37
|
+
commitCount = commitCount === VOID ? this.y1e_1 : commitCount;
|
|
38
|
+
dateTime = dateTime === VOID ? this.z1e_1 : dateTime;
|
|
39
|
+
firstCommitDateTime = firstCommitDateTime === VOID ? this.a1f_1 : firstCommitDateTime;
|
|
40
|
+
ease = ease === VOID ? this.b1f_1 : ease;
|
|
41
|
+
storyId = storyId === VOID ? this.c1f_1 : storyId;
|
|
42
|
+
semver = semver === VOID ? this.d1f_1 : semver;
|
|
43
|
+
label = label === VOID ? this.e1f_1 : label;
|
|
44
|
+
tagName = tagName === VOID ? this.f1f_1 : tagName;
|
|
45
|
+
tagDateTime = tagDateTime === VOID ? this.g1f_1 : tagDateTime;
|
|
46
|
+
return $super === VOID ? this.h1f(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) : $super.h1f.call(this, lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
|
|
47
|
+
}
|
|
48
|
+
toString() {
|
|
49
|
+
return 'Contribution(lastCommit=' + this.v1e_1 + ', firstCommit=' + this.w1e_1 + ', authors=' + toString(this.x1e_1) + ', commitCount=' + this.y1e_1 + ', dateTime=' + toString_0(this.z1e_1) + ', firstCommitDateTime=' + toString_0(this.a1f_1) + ', ease=' + this.b1f_1 + ', storyId=' + this.c1f_1 + ', semver=' + this.d1f_1 + ', label=' + this.e1f_1 + ', tagName=' + this.f1f_1 + ', tagDateTime=' + toString_0(this.g1f_1) + ')';
|
|
50
|
+
}
|
|
51
|
+
hashCode() {
|
|
52
|
+
var result = getStringHashCode(this.v1e_1);
|
|
53
|
+
result = imul(result, 31) + getStringHashCode(this.w1e_1) | 0;
|
|
54
|
+
result = imul(result, 31) + hashCode(this.x1e_1) | 0;
|
|
55
|
+
result = imul(result, 31) + this.y1e_1 | 0;
|
|
56
|
+
result = imul(result, 31) + (this.z1e_1 == null ? 0 : this.z1e_1.hashCode()) | 0;
|
|
57
|
+
result = imul(result, 31) + (this.a1f_1 == null ? 0 : this.a1f_1.hashCode()) | 0;
|
|
58
|
+
result = imul(result, 31) + (this.b1f_1 == null ? 0 : this.b1f_1) | 0;
|
|
59
|
+
result = imul(result, 31) + (this.c1f_1 == null ? 0 : getStringHashCode(this.c1f_1)) | 0;
|
|
60
|
+
result = imul(result, 31) + (this.d1f_1 == null ? 0 : getStringHashCode(this.d1f_1)) | 0;
|
|
61
|
+
result = imul(result, 31) + (this.e1f_1 == null ? 0 : getStringHashCode(this.e1f_1)) | 0;
|
|
62
|
+
result = imul(result, 31) + (this.f1f_1 == null ? 0 : getStringHashCode(this.f1f_1)) | 0;
|
|
63
|
+
result = imul(result, 31) + (this.g1f_1 == null ? 0 : this.g1f_1.hashCode()) | 0;
|
|
64
|
+
return result;
|
|
65
|
+
}
|
|
66
|
+
equals(other) {
|
|
67
|
+
if (this === other)
|
|
68
|
+
return true;
|
|
69
|
+
if (!(other instanceof Contribution))
|
|
70
|
+
return false;
|
|
71
|
+
var tmp0_other_with_cast = other instanceof Contribution ? other : THROW_CCE();
|
|
72
|
+
if (!(this.v1e_1 === tmp0_other_with_cast.v1e_1))
|
|
73
|
+
return false;
|
|
74
|
+
if (!(this.w1e_1 === tmp0_other_with_cast.w1e_1))
|
|
75
|
+
return false;
|
|
76
|
+
if (!equals(this.x1e_1, tmp0_other_with_cast.x1e_1))
|
|
77
|
+
return false;
|
|
78
|
+
if (!(this.y1e_1 === tmp0_other_with_cast.y1e_1))
|
|
79
|
+
return false;
|
|
80
|
+
if (!equals(this.z1e_1, tmp0_other_with_cast.z1e_1))
|
|
81
|
+
return false;
|
|
82
|
+
if (!equals(this.a1f_1, tmp0_other_with_cast.a1f_1))
|
|
83
|
+
return false;
|
|
84
|
+
if (!(this.b1f_1 == tmp0_other_with_cast.b1f_1))
|
|
85
|
+
return false;
|
|
86
|
+
if (!(this.c1f_1 == tmp0_other_with_cast.c1f_1))
|
|
87
|
+
return false;
|
|
88
|
+
if (!(this.d1f_1 == tmp0_other_with_cast.d1f_1))
|
|
89
|
+
return false;
|
|
90
|
+
if (!(this.e1f_1 == tmp0_other_with_cast.e1f_1))
|
|
91
|
+
return false;
|
|
92
|
+
if (!(this.f1f_1 == tmp0_other_with_cast.f1f_1))
|
|
93
|
+
return false;
|
|
94
|
+
if (!equals(this.g1f_1, tmp0_other_with_cast.g1f_1))
|
|
95
|
+
return false;
|
|
96
|
+
return true;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
//endregion
|
|
100
|
+
//region block: post-declaration
|
|
101
|
+
initMetadataForClass(Contribution, 'Contribution');
|
|
102
|
+
//endregion
|
|
103
|
+
//region block: exports
|
|
104
|
+
export {
|
|
105
|
+
Contribution as Contribution3ng1h8np97gzb,
|
|
106
|
+
};
|
|
107
|
+
//endregion
|
|
108
|
+
|
|
109
|
+
//# sourceMappingURL=tools-digger-model.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../tools/digger-model/src/commonMain/kotlin/com/zegreatrob/tools/digger/model/Contribution.kt"],"sourcesContent":[null],"names":["lastCommit","firstCommit","authors","commitCount","dateTime","firstCommitDateTime","ease","storyId","semver","label","tagName","tagDateTime","result"],"mappings":";;;;;;;;;;;;;;;cAKIA,U,EACAC,W,EACAC,O,EACAC,W,EACAC,Q,EACAC,mB,EACAC,I,EACAC,O,EACAC,M,EACAC,K,EACAC,O,EACAC,W;IAXA,uB;IACA,wB;IACA,oB;IACA,wB;IACA,qB;IACA,gC;IACA,iB;IACA,oB;IACA,mB;IACA,kB;IACA,oB;IACA,wB;;wIAhBJ;A,IAAA,yJ;EAAA,C;;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;;;aAAA;A,IAAA,ya;EAAA,C;aAAA;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;gBAAA;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,261 @@
|
|
|
1
|
+
import {
|
|
2
|
+
toString1pkumu07cwy4m as toString,
|
|
3
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
4
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
5
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
6
|
+
equals2au1ep9vhcato as equals,
|
|
7
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
8
|
+
plus2m1vv33moko5t as plus,
|
|
9
|
+
emptyMapr06gerzljqtm as emptyMap,
|
|
10
|
+
VOID7hggqo3abtya as VOID,
|
|
11
|
+
split2bvyvnrlcifjv as split,
|
|
12
|
+
ArrayList3it5z8td81qkl as ArrayList,
|
|
13
|
+
joinToString1cxrrlmo0chqs as joinToString,
|
|
14
|
+
reversed22y3au42jl32b as reversed,
|
|
15
|
+
last1vo29oleiqj36 as last,
|
|
16
|
+
Unit_instance14hm69wy3kr8u as Unit_instance,
|
|
17
|
+
isBlank1dvkhjjvox3p0 as isBlank,
|
|
18
|
+
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
19
|
+
charSequenceLength3278n89t01tmv as charSequenceLength,
|
|
20
|
+
listOf1jh22dvmctj1r as listOf,
|
|
21
|
+
isCharSequence1ju9jr1w86plq as isCharSequence,
|
|
22
|
+
trim11nh7r46at6sx as trim,
|
|
23
|
+
emptyList1g2z5xcrvp2zy as emptyList,
|
|
24
|
+
listOfvhqybd2zx248 as listOf_0,
|
|
25
|
+
plus310ted5e4i90h as plus_0,
|
|
26
|
+
first58ocm7j58k3q as first,
|
|
27
|
+
copyToArray2j022khrow2yi as copyToArray,
|
|
28
|
+
to2cs3ny02qtbcb as to,
|
|
29
|
+
json3n35pf5np6si4 as json,
|
|
30
|
+
Exceptiondt2hlxn7j7vw as Exception,
|
|
31
|
+
toList2zksu85ukrmi as toList,
|
|
32
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
33
|
+
import { Companion_getInstance27nsatgkq8q13 as Companion_getInstance } from './Kotlin-DateTime-library-kotlinx-datetime.mjs';
|
|
34
|
+
import childProcess from 'node:child_process';
|
|
35
|
+
//region block: imports
|
|
36
|
+
var imul = Math.imul;
|
|
37
|
+
//endregion
|
|
38
|
+
//region block: pre-declaration
|
|
39
|
+
class CommitRef {
|
|
40
|
+
constructor(id, authorEmail, committerEmail, dateTime, parents, fullMessage) {
|
|
41
|
+
this.j1f_1 = id;
|
|
42
|
+
this.k1f_1 = authorEmail;
|
|
43
|
+
this.l1f_1 = committerEmail;
|
|
44
|
+
this.m1f_1 = dateTime;
|
|
45
|
+
this.n1f_1 = parents;
|
|
46
|
+
this.o1f_1 = fullMessage;
|
|
47
|
+
}
|
|
48
|
+
toString() {
|
|
49
|
+
return 'CommitRef(id=' + this.j1f_1 + ', authorEmail=' + this.k1f_1 + ', committerEmail=' + this.l1f_1 + ', dateTime=' + this.m1f_1.toString() + ', parents=' + toString(this.n1f_1) + ', fullMessage=' + this.o1f_1 + ')';
|
|
50
|
+
}
|
|
51
|
+
hashCode() {
|
|
52
|
+
var result = getStringHashCode(this.j1f_1);
|
|
53
|
+
result = imul(result, 31) + getStringHashCode(this.k1f_1) | 0;
|
|
54
|
+
result = imul(result, 31) + getStringHashCode(this.l1f_1) | 0;
|
|
55
|
+
result = imul(result, 31) + this.m1f_1.hashCode() | 0;
|
|
56
|
+
result = imul(result, 31) + hashCode(this.n1f_1) | 0;
|
|
57
|
+
result = imul(result, 31) + getStringHashCode(this.o1f_1) | 0;
|
|
58
|
+
return result;
|
|
59
|
+
}
|
|
60
|
+
equals(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.j1f_1 === tmp0_other_with_cast.j1f_1))
|
|
67
|
+
return false;
|
|
68
|
+
if (!(this.k1f_1 === tmp0_other_with_cast.k1f_1))
|
|
69
|
+
return false;
|
|
70
|
+
if (!(this.l1f_1 === tmp0_other_with_cast.l1f_1))
|
|
71
|
+
return false;
|
|
72
|
+
if (!this.m1f_1.equals(tmp0_other_with_cast.m1f_1))
|
|
73
|
+
return false;
|
|
74
|
+
if (!equals(this.n1f_1, tmp0_other_with_cast.n1f_1))
|
|
75
|
+
return false;
|
|
76
|
+
if (!(this.o1f_1 === tmp0_other_with_cast.o1f_1))
|
|
77
|
+
return false;
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
class GitAdapter {
|
|
82
|
+
constructor(workingDirectory, env) {
|
|
83
|
+
env = env === VOID ? emptyMap() : env;
|
|
84
|
+
this.p1f_1 = workingDirectory;
|
|
85
|
+
this.q1f_1 = env;
|
|
86
|
+
this.r1f_1 = '--------!--------';
|
|
87
|
+
this.s1f_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.r1f_1;
|
|
88
|
+
}
|
|
89
|
+
t1f() {
|
|
90
|
+
// Inline function 'kotlin.text.trim' call
|
|
91
|
+
var this_0 = runProcess$default(this, listOf(['git', '--no-pager', 'rev-parse', 'HEAD']));
|
|
92
|
+
return toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
93
|
+
}
|
|
94
|
+
u1f() {
|
|
95
|
+
return parseTagRefs(this, runProcess$default(this, listOf(['git', '--no-pager', 'tag', '--list', '--sort=-taggerdate', '--format=%(refname:strip=2),%(*objectname),%(creatordate:iso-strict)'])));
|
|
96
|
+
}
|
|
97
|
+
v1f() {
|
|
98
|
+
return parseLog(this, runProcess$default(this, listOf(['git', '--no-pager', 'log', '--format=' + this.s1f_1])));
|
|
99
|
+
}
|
|
100
|
+
w1f(begin, end) {
|
|
101
|
+
return parseLog(this, runProcess$default(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.s1f_1, begin]), !(end == null) ? listOf_0(end) : emptyList())));
|
|
102
|
+
}
|
|
103
|
+
x1f(begin, end, $super) {
|
|
104
|
+
end = end === VOID ? null : end;
|
|
105
|
+
return $super === VOID ? this.w1f(begin, end) : $super.w1f.call(this, begin, end);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
class TagRef {
|
|
109
|
+
constructor(name, commitId, dateTime) {
|
|
110
|
+
this.y1f_1 = name;
|
|
111
|
+
this.z1f_1 = commitId;
|
|
112
|
+
this.a1g_1 = dateTime;
|
|
113
|
+
}
|
|
114
|
+
toString() {
|
|
115
|
+
return 'TagRef(name=' + this.y1f_1 + ', commitId=' + this.z1f_1 + ', dateTime=' + this.a1g_1.toString() + ')';
|
|
116
|
+
}
|
|
117
|
+
hashCode() {
|
|
118
|
+
var result = getStringHashCode(this.y1f_1);
|
|
119
|
+
result = imul(result, 31) + getStringHashCode(this.z1f_1) | 0;
|
|
120
|
+
result = imul(result, 31) + this.a1g_1.hashCode() | 0;
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
equals(other) {
|
|
124
|
+
if (this === other)
|
|
125
|
+
return true;
|
|
126
|
+
if (!(other instanceof TagRef))
|
|
127
|
+
return false;
|
|
128
|
+
var tmp0_other_with_cast = other instanceof TagRef ? other : THROW_CCE();
|
|
129
|
+
if (!(this.y1f_1 === tmp0_other_with_cast.y1f_1))
|
|
130
|
+
return false;
|
|
131
|
+
if (!(this.z1f_1 === tmp0_other_with_cast.z1f_1))
|
|
132
|
+
return false;
|
|
133
|
+
if (!this.a1g_1.equals(tmp0_other_with_cast.a1g_1))
|
|
134
|
+
return false;
|
|
135
|
+
return true;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
//endregion
|
|
139
|
+
function runProcess($this, args, env) {
|
|
140
|
+
return runProcess_0(args, $this.p1f_1, plus(env, $this.q1f_1));
|
|
141
|
+
}
|
|
142
|
+
function runProcess$default($this, args, env, $super) {
|
|
143
|
+
env = env === VOID ? emptyMap() : env;
|
|
144
|
+
return runProcess($this, args, env);
|
|
145
|
+
}
|
|
146
|
+
function parseTagRefs($this, outputText) {
|
|
147
|
+
// Inline function 'kotlin.collections.mapNotNull' call
|
|
148
|
+
var tmp0 = split(outputText, ['\n']);
|
|
149
|
+
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
150
|
+
var destination = ArrayList.n();
|
|
151
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
152
|
+
var _iterator__ex2g4s = tmp0.d1();
|
|
153
|
+
while (_iterator__ex2g4s.e1()) {
|
|
154
|
+
var element = _iterator__ex2g4s.f1();
|
|
155
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
156
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseTagRefs.<anonymous>' call
|
|
157
|
+
var commaSplit = split(element, [',']);
|
|
158
|
+
var tmp;
|
|
159
|
+
if (commaSplit.i1() >= 3) {
|
|
160
|
+
tmp = new TagRef(joinToString(commaSplit.l2(0, commaSplit.i1() - 2 | 0), ''), reversed(commaSplit).j1(1), Companion_getInstance().k1e(last(commaSplit)));
|
|
161
|
+
} else {
|
|
162
|
+
tmp = null;
|
|
163
|
+
}
|
|
164
|
+
var tmp0_safe_receiver = tmp;
|
|
165
|
+
if (tmp0_safe_receiver == null)
|
|
166
|
+
null;
|
|
167
|
+
else {
|
|
168
|
+
// Inline function 'kotlin.let' call
|
|
169
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
170
|
+
destination.o(tmp0_safe_receiver);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
var output = destination;
|
|
174
|
+
return output;
|
|
175
|
+
}
|
|
176
|
+
function parseLog($this, outputText) {
|
|
177
|
+
// Inline function 'kotlin.collections.filter' call
|
|
178
|
+
var tmp0 = split(outputText, [$this.r1f_1 + '\n']);
|
|
179
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
180
|
+
var destination = ArrayList.n();
|
|
181
|
+
var _iterator__ex2g4s = tmp0.d1();
|
|
182
|
+
while (_iterator__ex2g4s.e1()) {
|
|
183
|
+
var element = _iterator__ex2g4s.f1();
|
|
184
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.stub_for_inlining' call
|
|
185
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
186
|
+
if (!isBlank(element)) {
|
|
187
|
+
destination.o(element);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
// Inline function 'kotlin.collections.map' call
|
|
191
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
192
|
+
var destination_0 = ArrayList.k1(collectionSizeOrDefault(destination, 10));
|
|
193
|
+
var _iterator__ex2g4s_0 = destination.d1();
|
|
194
|
+
while (_iterator__ex2g4s_0.e1()) {
|
|
195
|
+
var item = _iterator__ex2g4s_0.f1();
|
|
196
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>' call
|
|
197
|
+
var elements = split(item, ['\n']);
|
|
198
|
+
var tmp = elements.j1(0);
|
|
199
|
+
var tmp_0 = elements.j1(1);
|
|
200
|
+
var tmp_1 = elements.j1(2);
|
|
201
|
+
var tmp_2 = Companion_getInstance().k1e(elements.j1(3));
|
|
202
|
+
// Inline function 'kotlin.collections.filter' call
|
|
203
|
+
var tmp0_0 = split(elements.j1(4), [' ']);
|
|
204
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
205
|
+
var destination_1 = ArrayList.n();
|
|
206
|
+
var _iterator__ex2g4s_1 = tmp0_0.d1();
|
|
207
|
+
while (_iterator__ex2g4s_1.e1()) {
|
|
208
|
+
var element_0 = _iterator__ex2g4s_1.f1();
|
|
209
|
+
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>.<anonymous>' call
|
|
210
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
211
|
+
if (charSequenceLength(element_0) > 0) {
|
|
212
|
+
destination_1.o(element_0);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
var tmp$ret$8 = new CommitRef(tmp, tmp_0, tmp_1, tmp_2, destination_1, joinToString(elements.l2(5, elements.i1()), '\n'));
|
|
216
|
+
destination_0.o(tmp$ret$8);
|
|
217
|
+
}
|
|
218
|
+
return destination_0;
|
|
219
|
+
}
|
|
220
|
+
function runProcess_0(args, workingDirectory, env) {
|
|
221
|
+
var tmp;
|
|
222
|
+
if (env === VOID) {
|
|
223
|
+
// Inline function 'kotlin.collections.mapOf' call
|
|
224
|
+
tmp = emptyMap();
|
|
225
|
+
} else {
|
|
226
|
+
tmp = env;
|
|
227
|
+
}
|
|
228
|
+
env = tmp;
|
|
229
|
+
var program = first(args);
|
|
230
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
231
|
+
var this_0 = args.l2(1, args.i1());
|
|
232
|
+
var tmp$ret$1 = copyToArray(this_0);
|
|
233
|
+
var spawn = childProcess.spawnSync(program, tmp$ret$1, json([to('cwd', workingDirectory), to('maxBuffer', 10485760), to('env', toJson(env))]));
|
|
234
|
+
if (spawn.status != 0) {
|
|
235
|
+
var tmp0_safe_receiver = spawn.stderr;
|
|
236
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
237
|
+
var tmp$ret$2 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString('utf8');
|
|
238
|
+
throw Exception.s4(tmp$ret$2);
|
|
239
|
+
}
|
|
240
|
+
var tmp1_safe_receiver = spawn.stdout;
|
|
241
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
242
|
+
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString('utf8');
|
|
243
|
+
}
|
|
244
|
+
function toJson(_this__u8e3s4) {
|
|
245
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
246
|
+
var this_0 = toList(_this__u8e3s4);
|
|
247
|
+
var tmp$ret$0 = copyToArray(this_0);
|
|
248
|
+
return json(tmp$ret$0.slice());
|
|
249
|
+
}
|
|
250
|
+
//region block: post-declaration
|
|
251
|
+
initMetadataForClass(CommitRef, 'CommitRef');
|
|
252
|
+
initMetadataForClass(GitAdapter, 'GitAdapter');
|
|
253
|
+
initMetadataForClass(TagRef, 'TagRef');
|
|
254
|
+
//endregion
|
|
255
|
+
//region block: exports
|
|
256
|
+
export {
|
|
257
|
+
GitAdapter as GitAdaptersjhyhubp768r,
|
|
258
|
+
};
|
|
259
|
+
//endregion
|
|
260
|
+
|
|
261
|
+
//# sourceMappingURL=tools-git-adapter.mjs.map
|