Skip to content

Commit 2d9d4c8

Browse files
committed
0.4.2
- adds https support
1 parent 9aec84c commit 2d9d4c8

File tree

6 files changed

+231
-33
lines changed

6 files changed

+231
-33
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreleased
1+
# 0.4.2 (12/07/2017)
22

33
- adds https support
44

docs/code/Git.html

Lines changed: 195 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h4 class="name" id="Git"><span class="type-signature"></span>new Git<span class
6565

6666
<dt class="tag-source">Source:</dt>
6767
<dd class="tag-source"><ul class="dummy"><li>
68-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line111">line 111</a>
68+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line112">line 112</a>
6969
</li></ul></dd>
7070

7171

@@ -393,7 +393,7 @@ <h4 class="name" id=".close"><span class="type-signature">(static) </span>close<
393393

394394
<dt class="tag-source">Source:</dt>
395395
<dd class="tag-source"><ul class="dummy"><li>
396-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line438">line 438</a>
396+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line451">line 451</a>
397397
</li></ul></dd>
398398

399399

@@ -477,7 +477,7 @@ <h4 class="name" id=".create"><span class="type-signature">(static) </span>creat
477477

478478
<dt class="tag-source">Source:</dt>
479479
<dd class="tag-source"><ul class="dummy"><li>
480-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line197">line 197</a>
480+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line198">line 198</a>
481481
</li></ul></dd>
482482

483483

@@ -653,7 +653,7 @@ <h4 class="name" id=".exists"><span class="type-signature">(static) </span>exist
653653

654654
<dt class="tag-source">Source:</dt>
655655
<dd class="tag-source"><ul class="dummy"><li>
656-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line169">line 169</a>
656+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line170">line 170</a>
657657
</li></ul></dd>
658658

659659

@@ -829,7 +829,7 @@ <h4 class="name" id=".handle"><span class="type-signature">(static) </span>handl
829829

830830
<dt class="tag-source">Source:</dt>
831831
<dd class="tag-source"><ul class="dummy"><li>
832-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line254">line 254</a>
832+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line256">line 256</a>
833833
</li></ul></dd>
834834

835835

@@ -985,7 +985,7 @@ <h4 class="name" id=".list"><span class="type-signature">(static) </span>list<sp
985985

986986
<dt class="tag-source">Source:</dt>
987987
<dd class="tag-source"><ul class="dummy"><li>
988-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line153">line 153</a>
988+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line154">line 154</a>
989989
</li></ul></dd>
990990

991991

@@ -1106,7 +1106,7 @@ <h5>Parameters:</h5>
11061106

11071107

11081108

1109-
<h4 class="name" id=".listen"><span class="type-signature">(static) </span>listen<span class="signature">(port, callback)</span><span class="type-signature"></span></h4>
1109+
<h4 class="name" id=".listen"><span class="type-signature">(static) </span>listen<span class="signature">(port, options<span class="signature-attributes">opt</span>, callback)</span><span class="type-signature"></span></h4>
11101110

11111111

11121112

@@ -1118,7 +1118,7 @@ <h4 class="name" id=".listen"><span class="type-signature">(static) </span>liste
11181118

11191119
<dt class="tag-source">Source:</dt>
11201120
<dd class="tag-source"><ul class="dummy"><li>
1121-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line424">line 424</a>
1121+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line426">line 426</a>
11221122
</li></ul></dd>
11231123

11241124

@@ -1184,6 +1184,8 @@ <h5>Parameters:</h5>
11841184
<th>Type</th>
11851185

11861186

1187+
<th>Attributes</th>
1188+
11871189

11881190

11891191

@@ -1209,6 +1211,14 @@ <h5>Parameters:</h5>
12091211
</td>
12101212

12111213

1214+
<td class="attributes">
1215+
1216+
1217+
1218+
1219+
1220+
</td>
1221+
12121222

12131223

12141224

@@ -1217,6 +1227,168 @@ <h5>Parameters:</h5>
12171227

12181228

12191229

1230+
<tr>
1231+
1232+
<td class="name"><code>options</code></td>
1233+
1234+
1235+
<td class="type">
1236+
1237+
1238+
<span class="param-type">Object</span>
1239+
1240+
1241+
1242+
</td>
1243+
1244+
1245+
<td class="attributes">
1246+
1247+
&lt;optional><br>
1248+
1249+
1250+
1251+
1252+
1253+
</td>
1254+
1255+
1256+
1257+
1258+
<td class="description last"><p>the options to add extended functionality to the server</p>
1259+
<h6>Properties</h6>
1260+
1261+
1262+
<table class="params">
1263+
<thead>
1264+
<tr>
1265+
1266+
<th>Name</th>
1267+
1268+
1269+
<th>Type</th>
1270+
1271+
1272+
<th>Attributes</th>
1273+
1274+
1275+
1276+
1277+
<th class="last">Description</th>
1278+
</tr>
1279+
</thead>
1280+
1281+
<tbody>
1282+
1283+
1284+
<tr>
1285+
1286+
<td class="name"><code>type</code></td>
1287+
1288+
1289+
<td class="type">
1290+
1291+
1292+
<span class="param-type">String</span>
1293+
1294+
1295+
1296+
</td>
1297+
1298+
1299+
<td class="attributes">
1300+
1301+
&lt;optional><br>
1302+
1303+
1304+
1305+
1306+
1307+
</td>
1308+
1309+
1310+
1311+
1312+
<td class="description last"><p>this is either https or http (the default is http)</p></td>
1313+
</tr>
1314+
1315+
1316+
1317+
<tr>
1318+
1319+
<td class="name"><code>key</code></td>
1320+
1321+
1322+
<td class="type">
1323+
1324+
1325+
<span class="param-type">Buffer</span>
1326+
|
1327+
1328+
<span class="param-type">String</span>
1329+
1330+
1331+
1332+
</td>
1333+
1334+
1335+
<td class="attributes">
1336+
1337+
1338+
1339+
1340+
1341+
</td>
1342+
1343+
1344+
1345+
1346+
<td class="description last"><p>the key file for the https server</p></td>
1347+
</tr>
1348+
1349+
1350+
1351+
<tr>
1352+
1353+
<td class="name"><code>cert</code></td>
1354+
1355+
1356+
<td class="type">
1357+
1358+
1359+
<span class="param-type">Buffer</span>
1360+
|
1361+
1362+
<span class="param-type">String</span>
1363+
1364+
1365+
1366+
</td>
1367+
1368+
1369+
<td class="attributes">
1370+
1371+
1372+
1373+
1374+
1375+
</td>
1376+
1377+
1378+
1379+
1380+
<td class="description last"><p>the cert file for the https server</p></td>
1381+
</tr>
1382+
1383+
1384+
</tbody>
1385+
</table>
1386+
1387+
</td>
1388+
</tr>
1389+
1390+
1391+
12201392
<tr>
12211393

12221394
<td class="name"><code>callback</code></td>
@@ -1232,6 +1404,14 @@ <h5>Parameters:</h5>
12321404
</td>
12331405

12341406

1407+
<td class="attributes">
1408+
1409+
1410+
1411+
1412+
1413+
</td>
1414+
12351415

12361416

12371417

@@ -1274,7 +1454,7 @@ <h4 class="name" id=".mkdir"><span class="type-signature">(static) </span>mkdir<
12741454

12751455
<dt class="tag-source">Source:</dt>
12761456
<dd class="tag-source"><ul class="dummy"><li>
1277-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line179">line 179</a>
1457+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line180">line 180</a>
12781458
</li></ul></dd>
12791459

12801460

@@ -1458,7 +1638,7 @@ <h4 class="name" id="event:fetch">fetch</h4>
14581638

14591639
<dt class="tag-source">Source:</dt>
14601640
<dd class="tag-source"><ul class="dummy"><li>
1461-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line48">line 48</a>
1641+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line49">line 49</a>
14621642
</li></ul></dd>
14631643

14641644

@@ -1682,7 +1862,7 @@ <h4 class="name" id="event:head">head</h4>
16821862

16831863
<dt class="tag-source">Source:</dt>
16841864
<dd class="tag-source"><ul class="dummy"><li>
1685-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line95">line 95</a>
1865+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line96">line 96</a>
16861866
</li></ul></dd>
16871867

16881868

@@ -1882,7 +2062,7 @@ <h4 class="name" id="event:info">info</h4>
18822062

18832063
<dt class="tag-source">Source:</dt>
18842064
<dd class="tag-source"><ul class="dummy"><li>
1885-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line65">line 65</a>
2065+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line66">line 66</a>
18862066
</li></ul></dd>
18872067

18882068

@@ -2082,7 +2262,7 @@ <h4 class="name" id="event:info">info</h4>
20822262

20832263
<dt class="tag-source">Source:</dt>
20842264
<dd class="tag-source"><ul class="dummy"><li>
2085-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line80">line 80</a>
2265+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line81">line 81</a>
20862266
</li></ul></dd>
20872267

20882268

@@ -2282,7 +2462,7 @@ <h4 class="name" id="event:push">push</h4>
22822462

22832463
<dt class="tag-source">Source:</dt>
22842464
<dd class="tag-source"><ul class="dummy"><li>
2285-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line15">line 15</a>
2465+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line16">line 16</a>
22862466
</li></ul></dd>
22872467

22882468

@@ -2528,7 +2708,7 @@ <h4 class="name" id="event:tag">tag</h4>
25282708

25292709
<dt class="tag-source">Source:</dt>
25302710
<dd class="tag-source"><ul class="dummy"><li>
2531-
<a href="git.js.html">git.js</a>, <a href="git.js.html#line32">line 32</a>
2711+
<a href="git.js.html">git.js</a>, <a href="git.js.html#line33">line 33</a>
25322712
</li></ul></dd>
25332713

25342714

0 commit comments

Comments
 (0)