git-digger 1.9.22 → 1.9.23
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/clikt-clikt-mordant.js +93 -93
- package/kotlin/clikt-clikt.js +1597 -1596
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +474 -474
- package/kotlin/command-line-tools-digger-cli.js +388 -91
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +4053 -1877
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2981 -992
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +4204 -463
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1379 -1379
- package/kotlin/tools-cli-tools.js +3 -3
- package/kotlin/tools-digger-core.js +160 -160
- package/kotlin/tools-digger-json.js +282 -128
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +59 -59
- package/kotlin/tools-git-adapter.js +75 -75
- package/package.json +1 -1
|
@@ -2,66 +2,66 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.da;
|
|
6
6
|
var VOID = kotlin_kotlin.$_$.c;
|
|
7
|
-
var toString = kotlin_kotlin.$_$.
|
|
8
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
9
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
10
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
11
|
-
var equals = kotlin_kotlin.$_$.
|
|
12
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
7
|
+
var toString = kotlin_kotlin.$_$.fa;
|
|
8
|
+
var toString_0 = kotlin_kotlin.$_$.cf;
|
|
9
|
+
var getStringHashCode = kotlin_kotlin.$_$.d9;
|
|
10
|
+
var hashCode = kotlin_kotlin.$_$.e9;
|
|
11
|
+
var equals = kotlin_kotlin.$_$.z8;
|
|
12
|
+
var initMetadataForClass = kotlin_kotlin.$_$.f9;
|
|
13
13
|
//endregion
|
|
14
14
|
//region block: pre-declaration
|
|
15
15
|
initMetadataForClass(Contribution, 'Contribution');
|
|
16
16
|
//endregion
|
|
17
17
|
function Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
18
|
+
this.pl_1 = lastCommit;
|
|
19
|
+
this.ql_1 = firstCommit;
|
|
20
|
+
this.rl_1 = authors;
|
|
21
|
+
this.sl_1 = commitCount;
|
|
22
|
+
this.tl_1 = dateTime;
|
|
23
|
+
this.ul_1 = firstCommitDateTime;
|
|
24
|
+
this.vl_1 = ease;
|
|
25
|
+
this.wl_1 = storyId;
|
|
26
|
+
this.xl_1 = semver;
|
|
27
|
+
this.yl_1 = label;
|
|
28
|
+
this.zl_1 = tagName;
|
|
29
|
+
this.am_1 = tagDateTime;
|
|
30
30
|
}
|
|
31
|
-
protoOf(Contribution).
|
|
31
|
+
protoOf(Contribution).bm = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
|
|
32
32
|
return new Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
|
|
33
33
|
};
|
|
34
|
-
protoOf(Contribution).
|
|
35
|
-
lastCommit = lastCommit === VOID ? this.
|
|
36
|
-
firstCommit = firstCommit === VOID ? this.
|
|
37
|
-
authors = authors === VOID ? this.
|
|
38
|
-
commitCount = commitCount === VOID ? this.
|
|
39
|
-
dateTime = dateTime === VOID ? this.
|
|
40
|
-
firstCommitDateTime = firstCommitDateTime === VOID ? this.
|
|
41
|
-
ease = ease === VOID ? this.
|
|
42
|
-
storyId = storyId === VOID ? this.
|
|
43
|
-
semver = semver === VOID ? this.
|
|
44
|
-
label = label === VOID ? this.
|
|
45
|
-
tagName = tagName === VOID ? this.
|
|
46
|
-
tagDateTime = tagDateTime === VOID ? this.
|
|
47
|
-
return $super === VOID ? this.
|
|
34
|
+
protoOf(Contribution).cm = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime, $super) {
|
|
35
|
+
lastCommit = lastCommit === VOID ? this.pl_1 : lastCommit;
|
|
36
|
+
firstCommit = firstCommit === VOID ? this.ql_1 : firstCommit;
|
|
37
|
+
authors = authors === VOID ? this.rl_1 : authors;
|
|
38
|
+
commitCount = commitCount === VOID ? this.sl_1 : commitCount;
|
|
39
|
+
dateTime = dateTime === VOID ? this.tl_1 : dateTime;
|
|
40
|
+
firstCommitDateTime = firstCommitDateTime === VOID ? this.ul_1 : firstCommitDateTime;
|
|
41
|
+
ease = ease === VOID ? this.vl_1 : ease;
|
|
42
|
+
storyId = storyId === VOID ? this.wl_1 : storyId;
|
|
43
|
+
semver = semver === VOID ? this.xl_1 : semver;
|
|
44
|
+
label = label === VOID ? this.yl_1 : label;
|
|
45
|
+
tagName = tagName === VOID ? this.zl_1 : tagName;
|
|
46
|
+
tagDateTime = tagDateTime === VOID ? this.am_1 : tagDateTime;
|
|
47
|
+
return $super === VOID ? this.bm(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) : $super.bm.call(this, lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
|
|
48
48
|
};
|
|
49
49
|
protoOf(Contribution).toString = function () {
|
|
50
|
-
return 'Contribution(lastCommit=' + this.
|
|
50
|
+
return 'Contribution(lastCommit=' + this.pl_1 + ', firstCommit=' + this.ql_1 + ', authors=' + toString(this.rl_1) + ', commitCount=' + this.sl_1 + ', dateTime=' + toString_0(this.tl_1) + ', firstCommitDateTime=' + toString_0(this.ul_1) + ', ease=' + this.vl_1 + ', storyId=' + this.wl_1 + ', semver=' + this.xl_1 + ', label=' + this.yl_1 + ', tagName=' + this.zl_1 + ', tagDateTime=' + toString_0(this.am_1) + ')';
|
|
51
51
|
};
|
|
52
52
|
protoOf(Contribution).hashCode = function () {
|
|
53
|
-
var result = getStringHashCode(this.
|
|
54
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
55
|
-
result = imul(result, 31) + hashCode(this.
|
|
56
|
-
result = imul(result, 31) + this.
|
|
57
|
-
result = imul(result, 31) + (this.
|
|
58
|
-
result = imul(result, 31) + (this.
|
|
59
|
-
result = imul(result, 31) + (this.
|
|
60
|
-
result = imul(result, 31) + (this.
|
|
61
|
-
result = imul(result, 31) + (this.
|
|
62
|
-
result = imul(result, 31) + (this.
|
|
63
|
-
result = imul(result, 31) + (this.
|
|
64
|
-
result = imul(result, 31) + (this.
|
|
53
|
+
var result = getStringHashCode(this.pl_1);
|
|
54
|
+
result = imul(result, 31) + getStringHashCode(this.ql_1) | 0;
|
|
55
|
+
result = imul(result, 31) + hashCode(this.rl_1) | 0;
|
|
56
|
+
result = imul(result, 31) + this.sl_1 | 0;
|
|
57
|
+
result = imul(result, 31) + (this.tl_1 == null ? 0 : this.tl_1.hashCode()) | 0;
|
|
58
|
+
result = imul(result, 31) + (this.ul_1 == null ? 0 : this.ul_1.hashCode()) | 0;
|
|
59
|
+
result = imul(result, 31) + (this.vl_1 == null ? 0 : this.vl_1) | 0;
|
|
60
|
+
result = imul(result, 31) + (this.wl_1 == null ? 0 : getStringHashCode(this.wl_1)) | 0;
|
|
61
|
+
result = imul(result, 31) + (this.xl_1 == null ? 0 : getStringHashCode(this.xl_1)) | 0;
|
|
62
|
+
result = imul(result, 31) + (this.yl_1 == null ? 0 : getStringHashCode(this.yl_1)) | 0;
|
|
63
|
+
result = imul(result, 31) + (this.zl_1 == null ? 0 : getStringHashCode(this.zl_1)) | 0;
|
|
64
|
+
result = imul(result, 31) + (this.am_1 == null ? 0 : this.am_1.hashCode()) | 0;
|
|
65
65
|
return result;
|
|
66
66
|
};
|
|
67
67
|
protoOf(Contribution).equals = function (other) {
|
|
@@ -69,29 +69,29 @@
|
|
|
69
69
|
return true;
|
|
70
70
|
if (!(other instanceof Contribution))
|
|
71
71
|
return false;
|
|
72
|
-
if (!(this.
|
|
72
|
+
if (!(this.pl_1 === other.pl_1))
|
|
73
73
|
return false;
|
|
74
|
-
if (!(this.
|
|
74
|
+
if (!(this.ql_1 === other.ql_1))
|
|
75
75
|
return false;
|
|
76
|
-
if (!equals(this.
|
|
76
|
+
if (!equals(this.rl_1, other.rl_1))
|
|
77
77
|
return false;
|
|
78
|
-
if (!(this.
|
|
78
|
+
if (!(this.sl_1 === other.sl_1))
|
|
79
79
|
return false;
|
|
80
|
-
if (!equals(this.
|
|
80
|
+
if (!equals(this.tl_1, other.tl_1))
|
|
81
81
|
return false;
|
|
82
|
-
if (!equals(this.
|
|
82
|
+
if (!equals(this.ul_1, other.ul_1))
|
|
83
83
|
return false;
|
|
84
|
-
if (!(this.
|
|
84
|
+
if (!(this.vl_1 == other.vl_1))
|
|
85
85
|
return false;
|
|
86
|
-
if (!(this.
|
|
86
|
+
if (!(this.wl_1 == other.wl_1))
|
|
87
87
|
return false;
|
|
88
|
-
if (!(this.
|
|
88
|
+
if (!(this.xl_1 == other.xl_1))
|
|
89
89
|
return false;
|
|
90
|
-
if (!(this.
|
|
90
|
+
if (!(this.yl_1 == other.yl_1))
|
|
91
91
|
return false;
|
|
92
|
-
if (!(this.
|
|
92
|
+
if (!(this.zl_1 == other.zl_1))
|
|
93
93
|
return false;
|
|
94
|
-
if (!equals(this.
|
|
94
|
+
if (!equals(this.am_1, other.am_1))
|
|
95
95
|
return false;
|
|
96
96
|
return true;
|
|
97
97
|
};
|
|
@@ -2,39 +2,39 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var toString = kotlin_kotlin.$_$.
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
8
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
9
|
-
var equals = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
11
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
5
|
+
var toString = kotlin_kotlin.$_$.fa;
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.da;
|
|
7
|
+
var getStringHashCode = kotlin_kotlin.$_$.d9;
|
|
8
|
+
var hashCode = kotlin_kotlin.$_$.e9;
|
|
9
|
+
var equals = kotlin_kotlin.$_$.z8;
|
|
10
|
+
var initMetadataForClass = kotlin_kotlin.$_$.f9;
|
|
11
|
+
var emptyMap = kotlin_kotlin.$_$.k5;
|
|
12
12
|
var VOID = kotlin_kotlin.$_$.c;
|
|
13
|
-
var plus = kotlin_kotlin.$_$.
|
|
14
|
-
var split = kotlin_kotlin.$_$.
|
|
13
|
+
var plus = kotlin_kotlin.$_$.n6;
|
|
14
|
+
var split = kotlin_kotlin.$_$.oc;
|
|
15
15
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
16
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
17
|
-
var reversed = kotlin_kotlin.$_$.
|
|
16
|
+
var joinToString = kotlin_kotlin.$_$.v5;
|
|
17
|
+
var reversed = kotlin_kotlin.$_$.t6;
|
|
18
18
|
var Companion_getInstance = kotlin_kotlin.$_$.m;
|
|
19
|
-
var last = kotlin_kotlin.$_$.
|
|
19
|
+
var last = kotlin_kotlin.$_$.c6;
|
|
20
20
|
var Unit_instance = kotlin_kotlin.$_$.v;
|
|
21
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
22
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
21
|
+
var isBlank = kotlin_kotlin.$_$.bc;
|
|
22
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.t4;
|
|
23
23
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.z;
|
|
24
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
25
|
-
var listOf = kotlin_kotlin.$_$.
|
|
26
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
27
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
28
|
-
var trim = kotlin_kotlin.$_$.
|
|
29
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
30
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
31
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
32
|
-
var first = kotlin_kotlin.$_$.
|
|
33
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
34
|
-
var to = kotlin_kotlin.$_$.
|
|
35
|
-
var json = kotlin_kotlin.$_$.
|
|
36
|
-
var Exception_init_$Create$ = kotlin_kotlin.$_$.
|
|
37
|
-
var toList = kotlin_kotlin.$_$.
|
|
24
|
+
var charSequenceLength = kotlin_kotlin.$_$.w8;
|
|
25
|
+
var listOf = kotlin_kotlin.$_$.g6;
|
|
26
|
+
var THROW_CCE = kotlin_kotlin.$_$.de;
|
|
27
|
+
var isCharSequence = kotlin_kotlin.$_$.p9;
|
|
28
|
+
var trim = kotlin_kotlin.$_$.md;
|
|
29
|
+
var emptyList = kotlin_kotlin.$_$.j5;
|
|
30
|
+
var listOf_0 = kotlin_kotlin.$_$.f6;
|
|
31
|
+
var plus_0 = kotlin_kotlin.$_$.q6;
|
|
32
|
+
var first = kotlin_kotlin.$_$.n5;
|
|
33
|
+
var copyToArray = kotlin_kotlin.$_$.h5;
|
|
34
|
+
var to = kotlin_kotlin.$_$.df;
|
|
35
|
+
var json = kotlin_kotlin.$_$.w9;
|
|
36
|
+
var Exception_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
37
|
+
var toList = kotlin_kotlin.$_$.g7;
|
|
38
38
|
//endregion
|
|
39
39
|
//region block: pre-declaration
|
|
40
40
|
initMetadataForClass(CommitRef, 'CommitRef');
|
|
@@ -42,23 +42,23 @@
|
|
|
42
42
|
initMetadataForClass(TagRef, 'TagRef');
|
|
43
43
|
//endregion
|
|
44
44
|
function CommitRef(id, authorEmail, committerEmail, dateTime, parents, fullMessage) {
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
45
|
+
this.xk_1 = id;
|
|
46
|
+
this.yk_1 = authorEmail;
|
|
47
|
+
this.zk_1 = committerEmail;
|
|
48
|
+
this.al_1 = dateTime;
|
|
49
|
+
this.bl_1 = parents;
|
|
50
|
+
this.cl_1 = fullMessage;
|
|
51
51
|
}
|
|
52
52
|
protoOf(CommitRef).toString = function () {
|
|
53
|
-
return 'CommitRef(id=' + this.
|
|
53
|
+
return 'CommitRef(id=' + this.xk_1 + ', authorEmail=' + this.yk_1 + ', committerEmail=' + this.zk_1 + ', dateTime=' + this.al_1.toString() + ', parents=' + toString(this.bl_1) + ', fullMessage=' + this.cl_1 + ')';
|
|
54
54
|
};
|
|
55
55
|
protoOf(CommitRef).hashCode = function () {
|
|
56
|
-
var result = getStringHashCode(this.
|
|
57
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
58
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
59
|
-
result = imul(result, 31) + this.
|
|
60
|
-
result = imul(result, 31) + hashCode(this.
|
|
61
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
56
|
+
var result = getStringHashCode(this.xk_1);
|
|
57
|
+
result = imul(result, 31) + getStringHashCode(this.yk_1) | 0;
|
|
58
|
+
result = imul(result, 31) + getStringHashCode(this.zk_1) | 0;
|
|
59
|
+
result = imul(result, 31) + this.al_1.hashCode() | 0;
|
|
60
|
+
result = imul(result, 31) + hashCode(this.bl_1) | 0;
|
|
61
|
+
result = imul(result, 31) + getStringHashCode(this.cl_1) | 0;
|
|
62
62
|
return result;
|
|
63
63
|
};
|
|
64
64
|
protoOf(CommitRef).equals = function (other) {
|
|
@@ -66,23 +66,23 @@
|
|
|
66
66
|
return true;
|
|
67
67
|
if (!(other instanceof CommitRef))
|
|
68
68
|
return false;
|
|
69
|
-
if (!(this.
|
|
69
|
+
if (!(this.xk_1 === other.xk_1))
|
|
70
70
|
return false;
|
|
71
|
-
if (!(this.
|
|
71
|
+
if (!(this.yk_1 === other.yk_1))
|
|
72
72
|
return false;
|
|
73
|
-
if (!(this.
|
|
73
|
+
if (!(this.zk_1 === other.zk_1))
|
|
74
74
|
return false;
|
|
75
|
-
if (!this.
|
|
75
|
+
if (!this.al_1.equals(other.al_1))
|
|
76
76
|
return false;
|
|
77
|
-
if (!equals(this.
|
|
77
|
+
if (!equals(this.bl_1, other.bl_1))
|
|
78
78
|
return false;
|
|
79
|
-
if (!(this.
|
|
79
|
+
if (!(this.cl_1 === other.cl_1))
|
|
80
80
|
return false;
|
|
81
81
|
return true;
|
|
82
82
|
};
|
|
83
83
|
function runProcess($this, args, env) {
|
|
84
84
|
env = env === VOID ? emptyMap() : env;
|
|
85
|
-
return runProcess_0(args, $this.
|
|
85
|
+
return runProcess_0(args, $this.dl_1, plus(env, $this.el_1));
|
|
86
86
|
}
|
|
87
87
|
function parseTagRefs($this, outputText) {
|
|
88
88
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
var commaSplit = split(element, [',']);
|
|
97
97
|
var tmp;
|
|
98
98
|
if (commaSplit.d1() >= 3) {
|
|
99
|
-
tmp = new TagRef(joinToString(commaSplit.
|
|
99
|
+
tmp = new TagRef(joinToString(commaSplit.i2(0, commaSplit.d1() - 2 | 0), ''), reversed(commaSplit).c1(1), Companion_getInstance().sh(last(commaSplit)));
|
|
100
100
|
} else {
|
|
101
101
|
tmp = null;
|
|
102
102
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
function parseLog($this, outputText) {
|
|
115
115
|
// Inline function 'kotlin.collections.filter' call
|
|
116
|
-
var tmp0 = split(outputText, [$this.
|
|
116
|
+
var tmp0 = split(outputText, [$this.fl_1 + '\n']);
|
|
117
117
|
// Inline function 'kotlin.collections.filterTo' call
|
|
118
118
|
var destination = ArrayList_init_$Create$();
|
|
119
119
|
var _iterator__ex2g4s = tmp0.r();
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
var tmp = elements.c1(0);
|
|
135
135
|
var tmp_0 = elements.c1(1);
|
|
136
136
|
var tmp_1 = elements.c1(2);
|
|
137
|
-
var tmp_2 = Companion_getInstance().
|
|
137
|
+
var tmp_2 = Companion_getInstance().sh(elements.c1(3));
|
|
138
138
|
// Inline function 'kotlin.collections.filter' call
|
|
139
139
|
var tmp0_0 = split(elements.c1(4), [' ']);
|
|
140
140
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -147,48 +147,48 @@
|
|
|
147
147
|
destination_1.v(element_0);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
var tmp$ret$6 = new CommitRef(tmp, tmp_0, tmp_1, tmp_2, destination_1, joinToString(elements.
|
|
150
|
+
var tmp$ret$6 = new CommitRef(tmp, tmp_0, tmp_1, tmp_2, destination_1, joinToString(elements.i2(5, elements.d1()), '\n'));
|
|
151
151
|
destination_0.v(tmp$ret$6);
|
|
152
152
|
}
|
|
153
153
|
return destination_0;
|
|
154
154
|
}
|
|
155
155
|
function GitAdapter(workingDirectory, env) {
|
|
156
156
|
env = env === VOID ? emptyMap() : env;
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
157
|
+
this.dl_1 = workingDirectory;
|
|
158
|
+
this.el_1 = env;
|
|
159
|
+
this.fl_1 = '--------!--------';
|
|
160
|
+
this.gl_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.fl_1;
|
|
161
161
|
}
|
|
162
|
-
protoOf(GitAdapter).
|
|
162
|
+
protoOf(GitAdapter).hl = function () {
|
|
163
163
|
// Inline function 'kotlin.text.trim' call
|
|
164
164
|
var this_0 = runProcess(this, listOf(['git', '--no-pager', 'rev-parse', 'HEAD']));
|
|
165
165
|
return toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
166
166
|
};
|
|
167
|
-
protoOf(GitAdapter).
|
|
167
|
+
protoOf(GitAdapter).il = function () {
|
|
168
168
|
return parseTagRefs(this, runProcess(this, listOf(['git', '--no-pager', 'tag', '--list', '--sort=-taggerdate', '--format=%(refname:strip=2),%(*objectname),%(creatordate:iso-strict)'])));
|
|
169
169
|
};
|
|
170
|
-
protoOf(GitAdapter).
|
|
171
|
-
return parseLog(this, runProcess(this, listOf(['git', '--no-pager', 'log', '--format=' + this.
|
|
170
|
+
protoOf(GitAdapter).jl = function () {
|
|
171
|
+
return parseLog(this, runProcess(this, listOf(['git', '--no-pager', 'log', '--format=' + this.gl_1])));
|
|
172
172
|
};
|
|
173
|
-
protoOf(GitAdapter).
|
|
174
|
-
return parseLog(this, runProcess(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.
|
|
173
|
+
protoOf(GitAdapter).kl = function (begin, end) {
|
|
174
|
+
return parseLog(this, runProcess(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.gl_1, begin]), !(end == null) ? listOf_0(end) : emptyList())));
|
|
175
175
|
};
|
|
176
|
-
protoOf(GitAdapter).
|
|
176
|
+
protoOf(GitAdapter).ll = function (begin, end, $super) {
|
|
177
177
|
end = end === VOID ? null : end;
|
|
178
|
-
return $super === VOID ? this.
|
|
178
|
+
return $super === VOID ? this.kl(begin, end) : $super.kl.call(this, begin, end);
|
|
179
179
|
};
|
|
180
180
|
function TagRef(name, commitId, dateTime) {
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
181
|
+
this.ml_1 = name;
|
|
182
|
+
this.nl_1 = commitId;
|
|
183
|
+
this.ol_1 = dateTime;
|
|
184
184
|
}
|
|
185
185
|
protoOf(TagRef).toString = function () {
|
|
186
|
-
return 'TagRef(name=' + this.
|
|
186
|
+
return 'TagRef(name=' + this.ml_1 + ', commitId=' + this.nl_1 + ', dateTime=' + this.ol_1.toString() + ')';
|
|
187
187
|
};
|
|
188
188
|
protoOf(TagRef).hashCode = function () {
|
|
189
|
-
var result = getStringHashCode(this.
|
|
190
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
191
|
-
result = imul(result, 31) + this.
|
|
189
|
+
var result = getStringHashCode(this.ml_1);
|
|
190
|
+
result = imul(result, 31) + getStringHashCode(this.nl_1) | 0;
|
|
191
|
+
result = imul(result, 31) + this.ol_1.hashCode() | 0;
|
|
192
192
|
return result;
|
|
193
193
|
};
|
|
194
194
|
protoOf(TagRef).equals = function (other) {
|
|
@@ -196,11 +196,11 @@
|
|
|
196
196
|
return true;
|
|
197
197
|
if (!(other instanceof TagRef))
|
|
198
198
|
return false;
|
|
199
|
-
if (!(this.
|
|
199
|
+
if (!(this.ml_1 === other.ml_1))
|
|
200
200
|
return false;
|
|
201
|
-
if (!(this.
|
|
201
|
+
if (!(this.nl_1 === other.nl_1))
|
|
202
202
|
return false;
|
|
203
|
-
if (!this.
|
|
203
|
+
if (!this.ol_1.equals(other.ol_1))
|
|
204
204
|
return false;
|
|
205
205
|
return true;
|
|
206
206
|
};
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
env = tmp;
|
|
216
216
|
var program = first(args);
|
|
217
217
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
218
|
-
var this_0 = args.
|
|
218
|
+
var this_0 = args.i2(1, args.d1());
|
|
219
219
|
var tmp$ret$1 = copyToArray(this_0);
|
|
220
220
|
var spawn = childProcess.spawnSync(program, tmp$ret$1, json([to('cwd', workingDirectory), to('maxBuffer', 10485760), to('env', toJson(env))]));
|
|
221
221
|
if (spawn.status != 0) {
|