refactor(fs): cleanup use of @std/assert (#4948)

* refactor(fs): cleanup use of `@std/assert`

* tweaks

* update
This commit is contained in:
Asher Gomez 2024-06-05 11:39:33 +10:00 committed by GitHub
parent da7b395d37
commit fbfcd24f41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 259 additions and 257 deletions

View File

@ -4,561 +4,555 @@
<!-- Generated by graphviz version 2.44.0 (20200518.1210)
-->
<!-- Title: std_deps Pages: 1 -->
<svg width="2270pt" height="710pt"
viewBox="0.00 0.00 2270.00 710.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="2125pt" height="710pt"
viewBox="0.00 0.00 2125.12 710.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 706)">
<title>std_deps</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-706 2266,-706 2266,4 -4,4"/>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-706 2121.12,-706 2121.12,4 -4,4"/>
<!-- archive -->
<g id="node1" class="node">
<title>archive</title>
<polygon fill="pink" stroke="black" points="221.7,-430.5 164.3,-430.5 164.3,-394.5 221.7,-394.5 221.7,-430.5"/>
<text text-anchor="middle" x="193" y="-408.3" font-family="Times,serif" font-size="14.00">archive</text>
<polygon fill="pink" stroke="black" points="1033.82,-430.5 976.43,-430.5 976.43,-394.5 1033.82,-394.5 1033.82,-430.5"/>
<text text-anchor="middle" x="1005.12" y="-408.3" font-family="Times,serif" font-size="14.00">archive</text>
</g>
<!-- io -->
<g id="node2" class="node">
<title>io</title>
<polygon fill="pink" stroke="black" points="428,-307.5 374,-307.5 374,-271.5 428,-271.5 428,-307.5"/>
<text text-anchor="middle" x="401" y="-285.3" font-family="Times,serif" font-size="14.00">io</text>
<polygon fill="pink" stroke="black" points="1200.12,-307.5 1146.12,-307.5 1146.12,-271.5 1200.12,-271.5 1200.12,-307.5"/>
<text text-anchor="middle" x="1173.12" y="-285.3" font-family="Times,serif" font-size="14.00">io</text>
</g>
<!-- archive&#45;&gt;io -->
<g id="edge1" class="edge">
<title>archive&#45;&gt;io</title>
<path fill="none" stroke="black" d="M221.66,-398.81C268.97,-377.81 358.85,-337.66 365,-333 371.36,-328.18 377.36,-322.06 382.57,-315.97"/>
<polygon fill="black" stroke="black" points="385.6,-317.79 389.15,-307.81 380.15,-313.4 385.6,-317.79"/>
<path fill="none" stroke="black" d="M1028.83,-394.42C1058.14,-373.31 1108.15,-337.3 1140.91,-313.7"/>
<polygon fill="black" stroke="black" points="1143.19,-316.37 1149.26,-307.69 1139.1,-310.69 1143.19,-316.37"/>
</g>
<!-- assert -->
<g id="node3" class="node">
<title>assert</title>
<ellipse fill="none" stroke="black" cx="326" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="326" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="326" y="-162.3" font-family="Times,serif" font-size="14.00">assert</text>
<ellipse fill="none" stroke="black" cx="892.12" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="892.12" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="892.12" y="-162.3" font-family="Times,serif" font-size="14.00">assert</text>
</g>
<!-- archive&#45;&gt;assert -->
<g id="edge2" class="edge">
<title>archive&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M188.53,-394.35C181.29,-362.61 170.39,-293.62 198,-246 214.92,-216.82 247.43,-197.09 275.45,-184.7"/>
<polygon fill="black" stroke="black" points="276.89,-187.89 284.75,-180.78 274.18,-181.44 276.89,-187.89"/>
<path fill="none" stroke="black" d="M990.67,-394.36C978.33,-379.05 960.77,-355.62 949.12,-333 930.33,-296.52 915.5,-252.48 905.69,-219"/>
<polygon fill="black" stroke="black" points="908.93,-217.62 902.8,-208.97 902.2,-219.55 908.93,-217.62"/>
</g>
<!-- io&#45;&gt;assert -->
<g id="edge22" class="edge">
<g id="edge21" class="edge">
<title>io&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M390.41,-271.42C380.94,-256.14 366.64,-233.06 353.91,-212.53"/>
<polygon fill="black" stroke="black" points="356.81,-210.57 348.57,-203.91 350.86,-214.26 356.81,-210.57"/>
<path fill="none" stroke="black" d="M1159.89,-271.22C1152.53,-262.6 1142.72,-252.64 1132.12,-246 1073.44,-209.23 995.79,-187.95 944.93,-177.04"/>
<polygon fill="black" stroke="black" points="945.63,-173.61 935.13,-175 944.2,-180.47 945.63,-173.61"/>
</g>
<!-- bytes -->
<g id="node6" class="node">
<title>bytes</title>
<ellipse fill="none" stroke="black" cx="681" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="681" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="681" y="-162.3" font-family="Times,serif" font-size="14.00">bytes</text>
<ellipse fill="none" stroke="black" cx="1303.12" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1303.12" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1303.12" y="-162.3" font-family="Times,serif" font-size="14.00">bytes</text>
</g>
<!-- io&#45;&gt;bytes -->
<g id="edge23" class="edge">
<g id="edge22" class="edge">
<title>io&#45;&gt;bytes</title>
<path fill="none" stroke="black" d="M428.01,-272.92C443.08,-264.49 462.33,-254.17 480,-246 530.21,-222.79 589.37,-200.24 630.45,-185.31"/>
<polygon fill="black" stroke="black" points="631.76,-188.56 639.97,-181.87 629.38,-181.98 631.76,-188.56"/>
<path fill="none" stroke="black" d="M1191.47,-271.42C1210.23,-253.96 1239.94,-226.31 1264,-203.92"/>
<polygon fill="black" stroke="black" points="1266.65,-206.22 1271.59,-196.85 1261.88,-201.1 1266.65,-206.22"/>
</g>
<!-- internal -->
<g id="node4" class="node">
<title>internal</title>
<ellipse fill="none" stroke="black" cx="326" cy="-43.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="326" cy="-43.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="326" y="-39.3" font-family="Times,serif" font-size="14.00">internal</text>
<ellipse fill="none" stroke="black" cx="211.12" cy="-43.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="211.12" cy="-43.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="211.12" y="-39.3" font-family="Times,serif" font-size="14.00">internal</text>
</g>
<!-- assert&#45;&gt;internal -->
<g id="edge3" class="edge">
<title>assert&#45;&gt;internal</title>
<path fill="none" stroke="black" d="M326,-122.84C326,-114.62 326,-105.91 326,-97.41"/>
<polygon fill="black" stroke="black" points="329.5,-97.18 326,-87.18 322.5,-97.18 329.5,-97.18"/>
<path fill="none" stroke="black" d="M849.26,-157.89C730.09,-136.71 394.95,-77.16 264.26,-53.94"/>
<polygon fill="black" stroke="black" points="264.55,-50.44 254.1,-52.14 263.33,-57.33 264.55,-50.44"/>
</g>
<!-- async -->
<g id="node5" class="node">
<title>async</title>
<ellipse fill="none" stroke="black" cx="1312" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1312" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1312" y="-285.3" font-family="Times,serif" font-size="14.00">async</text>
<ellipse fill="none" stroke="black" cx="300.12" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="300.12" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="300.12" y="-285.3" font-family="Times,serif" font-size="14.00">async</text>
</g>
<!-- cli -->
<g id="node7" class="node">
<title>cli</title>
<polygon fill="pink" stroke="black" points="489,-430.5 435,-430.5 435,-394.5 489,-394.5 489,-430.5"/>
<text text-anchor="middle" x="462" y="-408.3" font-family="Times,serif" font-size="14.00">cli</text>
<polygon fill="pink" stroke="black" points="610.12,-430.5 556.12,-430.5 556.12,-394.5 610.12,-394.5 610.12,-430.5"/>
<text text-anchor="middle" x="583.12" y="-408.3" font-family="Times,serif" font-size="14.00">cli</text>
</g>
<!-- cli&#45;&gt;assert -->
<g id="edge4" class="edge">
<title>cli&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M463.6,-394.3C465.71,-362.48 466.21,-293.37 437,-246 422.18,-221.97 396.97,-203.26 374.32,-190.14"/>
<polygon fill="black" stroke="black" points="375.91,-187.01 365.47,-185.21 372.51,-193.13 375.91,-187.01"/>
<path fill="none" stroke="black" d="M597.33,-394.41C603.9,-386.6 611.83,-377.27 619.12,-369 633.47,-352.72 640.2,-351.14 652.12,-333 675.4,-297.59 660.43,-275.22 691.12,-246 732.15,-206.94 794.84,-186.63 839.29,-176.55"/>
<polygon fill="black" stroke="black" points="840.29,-179.92 849.32,-174.38 838.81,-173.08 840.29,-179.92"/>
</g>
<!-- collections -->
<g id="node8" class="node">
<title>collections</title>
<ellipse fill="none" stroke="black" cx="1456" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1456" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1456" y="-408.3" font-family="Times,serif" font-size="14.00">collections</text>
<ellipse fill="none" stroke="black" cx="1311.12" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1311.12" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1311.12" y="-408.3" font-family="Times,serif" font-size="14.00">collections</text>
</g>
<!-- crypto -->
<g id="node9" class="node">
<title>crypto</title>
<ellipse fill="none" stroke="black" cx="974" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="974" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="974" y="-162.3" font-family="Times,serif" font-size="14.00">crypto</text>
<ellipse fill="none" stroke="black" cx="1422.12" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1422.12" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1422.12" y="-162.3" font-family="Times,serif" font-size="14.00">crypto</text>
</g>
<!-- csv -->
<g id="node10" class="node">
<title>csv</title>
<ellipse fill="none" stroke="black" cx="162" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="162" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="162" y="-531.3" font-family="Times,serif" font-size="14.00">csv</text>
<ellipse fill="none" stroke="black" cx="1101.12" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1101.12" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1101.12" y="-531.3" font-family="Times,serif" font-size="14.00">csv</text>
</g>
<!-- csv&#45;&gt;assert -->
<g id="edge5" class="edge">
<title>csv&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M151.25,-493.34C138.06,-432.84 123.49,-319.17 177,-246 200.56,-213.78 241.37,-193.6 274.33,-181.78"/>
<polygon fill="black" stroke="black" points="275.51,-185.08 283.83,-178.52 273.24,-178.45 275.51,-185.08"/>
<path fill="none" stroke="black" d="M1114.03,-493.89C1130.45,-433.83 1150.88,-320.43 1099.12,-246 1064.7,-196.51 994.76,-178.19 945.74,-171.43"/>
<polygon fill="black" stroke="black" points="945.98,-167.93 935.62,-170.16 945.1,-174.88 945.98,-167.93"/>
</g>
<!-- streams -->
<g id="node11" class="node">
<title>streams</title>
<ellipse fill="none" stroke="black" cx="343" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="343" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="343" y="-408.3" font-family="Times,serif" font-size="14.00">streams</text>
<ellipse fill="none" stroke="black" cx="1206.12" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1206.12" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1206.12" y="-408.3" font-family="Times,serif" font-size="14.00">streams</text>
</g>
<!-- csv&#45;&gt;streams -->
<g id="edge6" class="edge">
<title>csv&#45;&gt;streams</title>
<path fill="none" stroke="black" d="M197.76,-510.59C226.67,-491.27 267.52,-463.96 298.54,-443.22"/>
<polygon fill="black" stroke="black" points="300.64,-446.03 307.01,-437.56 296.75,-440.21 300.64,-446.03"/>
<path fill="none" stroke="black" d="M1129.26,-502.07C1142.09,-487.29 1157.41,-469.63 1170.99,-453.99"/>
<polygon fill="black" stroke="black" points="1173.99,-455.86 1177.91,-446.02 1168.71,-451.27 1173.99,-455.86"/>
</g>
<!-- streams&#45;&gt;io -->
<g id="edge34" class="edge">
<g id="edge33" class="edge">
<title>streams&#45;&gt;io</title>
<path fill="none" stroke="black" d="M361.51,-372.88C370.32,-354.5 380.63,-333 388.5,-316.57"/>
<polygon fill="black" stroke="black" points="391.66,-318.08 392.83,-307.55 385.35,-315.05 391.66,-318.08"/>
<path fill="none" stroke="black" d="M1194.86,-370.2C1190.12,-352.84 1184.75,-333.14 1180.53,-317.66"/>
<polygon fill="black" stroke="black" points="1183.82,-316.43 1177.81,-307.7 1177.07,-318.27 1183.82,-316.43"/>
</g>
<!-- streams&#45;&gt;assert -->
<g id="edge32" class="edge">
<g id="edge31" class="edge">
<title>streams&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M301.78,-398.5C271.81,-386.64 233.4,-365.87 215,-333 196.11,-299.26 197.23,-280.34 215,-246 228.12,-220.65 253.62,-201.73 276.87,-188.82"/>
<polygon fill="black" stroke="black" points="278.78,-191.77 285.98,-184 275.5,-185.59 278.78,-191.77"/>
<path fill="none" stroke="black" d="M1219.97,-370.92C1229.68,-334.35 1236.57,-281.08 1209.12,-246 1176.95,-204.89 1027.07,-182.31 945.45,-172.87"/>
<polygon fill="black" stroke="black" points="945.69,-169.37 935.36,-171.73 944.91,-176.33 945.69,-169.37"/>
</g>
<!-- streams&#45;&gt;bytes -->
<g id="edge33" class="edge">
<g id="edge32" class="edge">
<title>streams&#45;&gt;bytes</title>
<path fill="none" stroke="black" d="M377.9,-386.31C440.09,-341.41 569.91,-247.7 637.69,-198.76"/>
<polygon fill="black" stroke="black" points="639.98,-201.43 646.04,-192.74 635.88,-195.75 639.98,-201.43"/>
<path fill="none" stroke="black" d="M1238.56,-383.12C1244.86,-378.15 1251.55,-373.23 1258.12,-369 1288.54,-349.43 1312.02,-363.72 1331.12,-333 1353.2,-297.49 1341.73,-249.78 1327.38,-214.71"/>
<polygon fill="black" stroke="black" points="1330.45,-212.98 1323.28,-205.18 1324.02,-215.75 1330.45,-212.98"/>
</g>
<!-- data_\nstructures -->
<g id="node12" class="node">
<title>data_\nstructures</title>
<polygon fill="pink" stroke="black" points="1640.42,-679.1 1569.58,-679.1 1569.58,-637.9 1640.42,-637.9 1640.42,-679.1"/>
<text text-anchor="middle" x="1605" y="-662.7" font-family="Times,serif" font-size="14.00">data_</text>
<text text-anchor="middle" x="1605" y="-645.9" font-family="Times,serif" font-size="14.00">structures</text>
<polygon fill="pink" stroke="black" points="1495.54,-679.1 1424.7,-679.1 1424.7,-637.9 1495.54,-637.9 1495.54,-679.1"/>
<text text-anchor="middle" x="1460.12" y="-662.7" font-family="Times,serif" font-size="14.00">data_</text>
<text text-anchor="middle" x="1460.12" y="-645.9" font-family="Times,serif" font-size="14.00">structures</text>
</g>
<!-- datetime -->
<g id="node13" class="node">
<title>datetime</title>
<polygon fill="pink" stroke="black" points="1722.21,-676.5 1657.79,-676.5 1657.79,-640.5 1722.21,-640.5 1722.21,-676.5"/>
<text text-anchor="middle" x="1690" y="-654.3" font-family="Times,serif" font-size="14.00">datetime</text>
<polygon fill="pink" stroke="black" points="1577.33,-676.5 1512.91,-676.5 1512.91,-640.5 1577.33,-640.5 1577.33,-676.5"/>
<text text-anchor="middle" x="1545.12" y="-654.3" font-family="Times,serif" font-size="14.00">datetime</text>
</g>
<!-- dotenv -->
<g id="node14" class="node">
<title>dotenv</title>
<polygon fill="pink" stroke="black" points="1794.11,-676.5 1739.89,-676.5 1739.89,-640.5 1794.11,-640.5 1794.11,-676.5"/>
<text text-anchor="middle" x="1767" y="-654.3" font-family="Times,serif" font-size="14.00">dotenv</text>
<polygon fill="pink" stroke="black" points="1649.23,-676.5 1595.02,-676.5 1595.02,-640.5 1649.23,-640.5 1649.23,-676.5"/>
<text text-anchor="middle" x="1622.12" y="-654.3" font-family="Times,serif" font-size="14.00">dotenv</text>
</g>
<!-- encoding -->
<g id="node15" class="node">
<title>encoding</title>
<ellipse fill="none" stroke="black" cx="1120" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1120" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1120" y="-408.3" font-family="Times,serif" font-size="14.00">encoding</text>
<ellipse fill="none" stroke="black" cx="744.12" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="744.12" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="744.12" y="-408.3" font-family="Times,serif" font-size="14.00">encoding</text>
</g>
<!-- expect -->
<g id="node16" class="node">
<title>expect</title>
<polygon fill="pink" stroke="black" points="54,-307.5 0,-307.5 0,-271.5 54,-271.5 54,-307.5"/>
<text text-anchor="middle" x="27" y="-285.3" font-family="Times,serif" font-size="14.00">expect</text>
<polygon fill="pink" stroke="black" points="238.12,-307.5 184.12,-307.5 184.12,-271.5 238.12,-271.5 238.12,-307.5"/>
<text text-anchor="middle" x="211.12" y="-285.3" font-family="Times,serif" font-size="14.00">expect</text>
</g>
<!-- expect&#45;&gt;assert -->
<g id="edge7" class="edge">
<title>expect&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M40.17,-271.13C47.52,-262.49 57.33,-252.53 68,-246 102.63,-224.8 208.79,-196.28 273.64,-180.1"/>
<polygon fill="black" stroke="black" points="274.82,-183.42 283.68,-177.62 273.13,-176.63 274.82,-183.42"/>
<path fill="none" stroke="black" d="M221.25,-271.23C227.51,-262.17 236.4,-251.78 247.12,-246 349.09,-191.01 702.65,-173.73 838.43,-169.04"/>
<polygon fill="black" stroke="black" points="838.72,-172.54 848.6,-168.7 838.48,-165.54 838.72,-172.54"/>
</g>
<!-- expect&#45;&gt;internal -->
<g id="edge8" class="edge">
<title>expect&#45;&gt;internal</title>
<path fill="none" stroke="black" d="M42.45,-271.41C49.92,-263.43 59.16,-253.96 68,-246 139.8,-181.33 230.04,-113.67 282.55,-75.53"/>
<polygon fill="black" stroke="black" points="284.91,-78.14 290.96,-69.44 280.81,-72.47 284.91,-78.14"/>
<path fill="none" stroke="black" d="M211.12,-271.34C211.12,-235.78 211.12,-152.74 211.12,-97.61"/>
<polygon fill="black" stroke="black" points="214.62,-97.32 211.12,-87.32 207.62,-97.32 214.62,-97.32"/>
</g>
<!-- fmt -->
<g id="node17" class="node">
<title>fmt</title>
<ellipse fill="none" stroke="black" cx="747" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="747" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="747" y="-285.3" font-family="Times,serif" font-size="14.00">fmt</text>
<ellipse fill="none" stroke="black" cx="744.12" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="744.12" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="744.12" y="-285.3" font-family="Times,serif" font-size="14.00">fmt</text>
</g>
<!-- front_\nmatter -->
<g id="node18" class="node">
<title>front_\nmatter</title>
<ellipse fill="none" stroke="black" cx="1508" cy="-658.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1508" cy="-658.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1508" y="-662.7" font-family="Times,serif" font-size="14.00">front_</text>
<text text-anchor="middle" x="1508" y="-645.9" font-family="Times,serif" font-size="14.00">matter</text>
<ellipse fill="none" stroke="black" cx="1363.12" cy="-658.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1363.12" cy="-658.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1363.12" y="-662.7" font-family="Times,serif" font-size="14.00">front_</text>
<text text-anchor="middle" x="1363.12" y="-645.9" font-family="Times,serif" font-size="14.00">matter</text>
</g>
<!-- toml -->
<g id="node19" class="node">
<title>toml</title>
<ellipse fill="none" stroke="black" cx="1456" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1456" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1456" y="-531.3" font-family="Times,serif" font-size="14.00">toml</text>
<ellipse fill="none" stroke="black" cx="1311.12" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1311.12" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1311.12" y="-531.3" font-family="Times,serif" font-size="14.00">toml</text>
</g>
<!-- front_\nmatter&#45;&gt;toml -->
<g id="edge9" class="edge">
<title>front_\nmatter&#45;&gt;toml</title>
<path fill="none" stroke="black" d="M1491.12,-618.21C1486.62,-607.75 1481.71,-596.32 1477.02,-585.42"/>
<polygon fill="black" stroke="black" points="1480.14,-583.81 1472.98,-576 1473.71,-586.57 1480.14,-583.81"/>
<path fill="none" stroke="black" d="M1346.24,-618.21C1341.74,-607.75 1336.83,-596.32 1332.14,-585.42"/>
<polygon fill="black" stroke="black" points="1335.26,-583.81 1328.1,-576 1328.83,-586.57 1335.26,-583.81"/>
</g>
<!-- yaml -->
<g id="node20" class="node">
<title>yaml</title>
<ellipse fill="none" stroke="black" cx="1561" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1561" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1561" y="-531.3" font-family="Times,serif" font-size="14.00">yaml</text>
<ellipse fill="none" stroke="black" cx="1416.12" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1416.12" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1416.12" y="-531.3" font-family="Times,serif" font-size="14.00">yaml</text>
</g>
<!-- front_\nmatter&#45;&gt;yaml -->
<g id="edge10" class="edge">
<title>front_\nmatter&#45;&gt;yaml</title>
<path fill="none" stroke="black" d="M1525.21,-618.21C1529.88,-607.54 1535,-595.86 1539.87,-584.75"/>
<polygon fill="black" stroke="black" points="1543.07,-586.15 1543.88,-575.59 1536.66,-583.34 1543.07,-586.15"/>
<path fill="none" stroke="black" d="M1380.33,-618.21C1385,-607.54 1390.12,-595.86 1394.99,-584.75"/>
<polygon fill="black" stroke="black" points="1398.19,-586.15 1399,-575.59 1391.78,-583.34 1398.19,-586.15"/>
</g>
<!-- toml&#45;&gt;collections -->
<g id="edge43" class="edge">
<g id="edge42" class="edge">
<title>toml&#45;&gt;collections</title>
<path fill="none" stroke="black" d="M1456,-491.84C1456,-483.62 1456,-474.91 1456,-466.41"/>
<polygon fill="black" stroke="black" points="1459.5,-466.18 1456,-456.18 1452.5,-466.18 1459.5,-466.18"/>
<path fill="none" stroke="black" d="M1311.12,-491.84C1311.12,-483.62 1311.12,-474.91 1311.12,-466.41"/>
<polygon fill="black" stroke="black" points="1314.62,-466.18 1311.12,-456.18 1307.62,-466.18 1314.62,-466.18"/>
</g>
<!-- fs -->
<g id="node21" class="node">
<title>fs</title>
<ellipse fill="none" stroke="black" cx="642" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="642" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="642" y="-285.3" font-family="Times,serif" font-size="14.00">fs</text>
</g>
<!-- fs&#45;&gt;assert -->
<g id="edge12" class="edge">
<title>fs&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M608.57,-261.09C600.82,-255.57 592.37,-250.19 584,-246 516.73,-212.35 432.29,-190.02 378.72,-178.05"/>
<polygon fill="black" stroke="black" points="379.28,-174.59 368.76,-175.87 377.78,-181.43 379.28,-174.59"/>
<ellipse fill="none" stroke="black" cx="600.12" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="600.12" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="600.12" y="-285.3" font-family="Times,serif" font-size="14.00">fs</text>
</g>
<!-- path -->
<g id="node22" class="node">
<title>path</title>
<ellipse fill="none" stroke="black" cx="1329" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1329" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1329" y="-162.3" font-family="Times,serif" font-size="14.00">path</text>
<ellipse fill="none" stroke="black" cx="128.12" cy="-166.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="128.12" cy="-166.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="128.12" y="-162.3" font-family="Times,serif" font-size="14.00">path</text>
</g>
<!-- fs&#45;&gt;path -->
<g id="edge11" class="edge">
<title>fs&#45;&gt;path</title>
<path fill="none" stroke="black" d="M672.82,-258.57C679.38,-253.63 686.58,-249.11 694,-246 830.9,-188.67 878.71,-228.31 1026,-210 1113.7,-199.1 1215.39,-184.41 1275.84,-175.47"/>
<polygon fill="black" stroke="black" points="1276.53,-178.91 1285.9,-173.98 1275.5,-171.98 1276.53,-178.91"/>
<path fill="none" stroke="black" d="M561.97,-268.25C545.99,-260.41 527,-251.92 509.12,-246 395.24,-208.25 255.95,-185.09 181.34,-174.45"/>
<polygon fill="black" stroke="black" points="181.65,-170.96 171.26,-173.03 180.67,-177.89 181.65,-170.96"/>
</g>
<!-- html -->
<g id="node23" class="node">
<title>html</title>
<polygon fill="pink" stroke="black" points="1866,-676.5 1812,-676.5 1812,-640.5 1866,-640.5 1866,-676.5"/>
<text text-anchor="middle" x="1839" y="-654.3" font-family="Times,serif" font-size="14.00">html</text>
<polygon fill="pink" stroke="black" points="1721.12,-676.5 1667.12,-676.5 1667.12,-640.5 1721.12,-640.5 1721.12,-676.5"/>
<text text-anchor="middle" x="1694.12" y="-654.3" font-family="Times,serif" font-size="14.00">html</text>
</g>
<!-- http -->
<g id="node24" class="node">
<title>http</title>
<polygon fill="pink" stroke="black" points="747,-553.5 693,-553.5 693,-517.5 747,-517.5 747,-553.5"/>
<text text-anchor="middle" x="720" y="-531.3" font-family="Times,serif" font-size="14.00">http</text>
<polygon fill="pink" stroke="black" points="610.12,-553.5 556.12,-553.5 556.12,-517.5 610.12,-517.5 610.12,-553.5"/>
<text text-anchor="middle" x="583.12" y="-531.3" font-family="Times,serif" font-size="14.00">http</text>
</g>
<!-- http&#45;&gt;assert -->
<g id="edge13" class="edge">
<g id="edge12" class="edge">
<title>http&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M692.7,-528.99C654.88,-520.02 586.62,-498.77 546,-456 477,-383.35 529.53,-321.79 464,-246 440.49,-218.81 405.13,-198.96 376.09,-186.02"/>
<polygon fill="black" stroke="black" points="377.48,-182.8 366.91,-182.06 374.7,-189.23 377.48,-182.8"/>
<path fill="none" stroke="black" d="M610.17,-533.38C658.68,-529.87 760.59,-515.4 816.12,-456 832.37,-438.62 864.45,-297.55 881.26,-219.31"/>
<polygon fill="black" stroke="black" points="884.76,-219.68 883.43,-209.17 877.91,-218.22 884.76,-219.68"/>
</g>
<!-- http&#45;&gt;async -->
<g id="edge15" class="edge">
<g id="edge14" class="edge">
<title>http&#45;&gt;async</title>
<path fill="none" stroke="black" d="M747.14,-532.22C833.13,-524.63 1098.23,-498.27 1172,-456 1221.28,-427.77 1261.1,-375.31 1285.5,-337"/>
<polygon fill="black" stroke="black" points="1288.74,-338.42 1291.07,-328.08 1282.81,-334.71 1288.74,-338.42"/>
<path fill="none" stroke="black" d="M556.1,-532.68C481.05,-527.02 272.92,-506.93 232.12,-456 207.95,-425.82 218.61,-405.23 232.12,-369 238.07,-353.05 248.88,-338.19 260.15,-325.78"/>
<polygon fill="black" stroke="black" points="262.83,-328.04 267.19,-318.39 257.76,-323.22 262.83,-328.04"/>
</g>
<!-- http&#45;&gt;cli -->
<g id="edge19" class="edge">
<g id="edge18" class="edge">
<title>http&#45;&gt;cli</title>
<path fill="none" stroke="black" d="M692.92,-527.36C652.11,-515.94 573.24,-491.18 513,-456 504.23,-450.88 495.45,-444.25 487.72,-437.75"/>
<polygon fill="black" stroke="black" points="489.61,-434.76 479.78,-430.83 485.02,-440.04 489.61,-434.76"/>
<path fill="none" stroke="black" d="M583.12,-517.42C583.12,-497.54 583.12,-464.42 583.12,-440.92"/>
<polygon fill="black" stroke="black" points="586.62,-440.88 583.12,-430.88 579.62,-440.88 586.62,-440.88"/>
</g>
<!-- http&#45;&gt;streams -->
<g id="edge18" class="edge">
<g id="edge17" class="edge">
<title>http&#45;&gt;streams</title>
<path fill="none" stroke="black" d="M692.64,-529.23C639.94,-518.63 521.17,-492.59 426,-456 413.96,-451.37 401.37,-445.5 389.74,-439.62"/>
<polygon fill="black" stroke="black" points="391.14,-436.4 380.65,-434.92 387.93,-442.62 391.14,-436.4"/>
<path fill="none" stroke="black" d="M610.24,-530.71C681.53,-520.55 879.97,-491.12 1043.12,-456 1080.66,-447.92 1122.56,-436.95 1154.49,-428.18"/>
<polygon fill="black" stroke="black" points="1155.78,-431.45 1164.48,-425.41 1153.91,-424.71 1155.78,-431.45"/>
</g>
<!-- http&#45;&gt;encoding -->
<g id="edge14" class="edge">
<g id="edge13" class="edge">
<title>http&#45;&gt;encoding</title>
<path fill="none" stroke="black" d="M747.03,-532.54C807.27,-527.29 956,-509.51 1067,-456 1071.42,-453.87 1075.79,-451.31 1080.03,-448.52"/>
<polygon fill="black" stroke="black" points="1082.36,-451.16 1088.5,-442.53 1078.32,-445.45 1082.36,-451.16"/>
<path fill="none" stroke="black" d="M607.38,-517.36C629.43,-501.67 662.75,-477.67 691.12,-456 694.91,-453.11 698.81,-450.07 702.71,-447.01"/>
<polygon fill="black" stroke="black" points="704.99,-449.67 710.67,-440.72 700.65,-444.18 704.99,-449.67"/>
</g>
<!-- http&#45;&gt;fmt -->
<g id="edge20" class="edge">
<g id="edge19" class="edge">
<title>http&#45;&gt;fmt</title>
<path fill="none" stroke="black" d="M747.07,-523.6C773.19,-511.45 811.17,-489.05 828,-456 845.55,-421.55 843.08,-404.61 828,-369 820.07,-350.27 805.23,-333.81 790.41,-320.87"/>
<polygon fill="black" stroke="black" points="792.61,-318.15 782.69,-314.42 788.12,-323.52 792.61,-318.15"/>
<path fill="none" stroke="black" d="M610.13,-533.76C657.22,-530.84 753.41,-517.26 796.12,-456 822,-418.88 799.59,-368.31 776.65,-332.88"/>
<polygon fill="black" stroke="black" points="779.32,-330.57 770.84,-324.21 773.5,-334.47 779.32,-330.57"/>
</g>
<!-- http&#45;&gt;path -->
<g id="edge16" class="edge">
<g id="edge15" class="edge">
<title>http&#45;&gt;path</title>
<path fill="none" stroke="black" d="M747.13,-532.43C839.93,-525.04 1143.69,-498.11 1231,-456 1303.52,-421.02 1331.74,-406.77 1364,-333 1380.67,-294.88 1368.17,-248.26 1353.68,-214.23"/>
<polygon fill="black" stroke="black" points="1356.83,-212.69 1349.56,-204.98 1350.43,-215.54 1356.83,-212.69"/>
<path fill="none" stroke="black" d="M556.06,-531.49C480.7,-522.67 270.31,-495.08 214.12,-456 160.98,-419.04 155.67,-394.71 136.12,-333 124.6,-296.62 122.87,-253.51 123.88,-220.41"/>
<polygon fill="black" stroke="black" points="127.39,-220.17 124.29,-210.04 120.4,-219.89 127.39,-220.17"/>
</g>
<!-- media_types -->
<g id="node25" class="node">
<title>media_types</title>
<ellipse fill="none" stroke="black" cx="615" cy="-412.5" rx="59.69" ry="18"/>
<text text-anchor="middle" x="615" y="-408.3" font-family="Times,serif" font-size="14.00">media_types</text>
<ellipse fill="none" stroke="black" cx="406.12" cy="-412.5" rx="59.69" ry="18"/>
<text text-anchor="middle" x="406.12" y="-408.3" font-family="Times,serif" font-size="14.00">media_types</text>
</g>
<!-- http&#45;&gt;media_types -->
<g id="edge17" class="edge">
<g id="edge16" class="edge">
<title>http&#45;&gt;media_types</title>
<path fill="none" stroke="black" d="M705.18,-517.42C687.18,-496.67 656.68,-461.53 636.2,-437.93"/>
<polygon fill="black" stroke="black" points="638.61,-435.36 629.41,-430.1 633.32,-439.95 638.61,-435.36"/>
<path fill="none" stroke="black" d="M558.14,-517.42C526.42,-495.74 471.71,-458.34 437.3,-434.81"/>
<polygon fill="black" stroke="black" points="439.24,-431.9 429.01,-429.15 435.29,-437.68 439.24,-431.9"/>
</g>
<!-- net -->
<g id="node26" class="node">
<title>net</title>
<polygon fill="pink" stroke="black" points="747,-430.5 693,-430.5 693,-394.5 747,-394.5 747,-430.5"/>
<text text-anchor="middle" x="720" y="-408.3" font-family="Times,serif" font-size="14.00">net</text>
<polygon fill="pink" stroke="black" points="538.12,-430.5 484.12,-430.5 484.12,-394.5 538.12,-394.5 538.12,-430.5"/>
<text text-anchor="middle" x="511.12" y="-408.3" font-family="Times,serif" font-size="14.00">net</text>
</g>
<!-- http&#45;&gt;net -->
<g id="edge21" class="edge">
<g id="edge20" class="edge">
<title>http&#45;&gt;net</title>
<path fill="none" stroke="black" d="M720,-517.42C720,-497.54 720,-464.42 720,-440.92"/>
<polygon fill="black" stroke="black" points="723.5,-440.88 720,-430.88 716.5,-440.88 723.5,-440.88"/>
<path fill="none" stroke="black" d="M572.96,-517.42C560.91,-497.18 540.71,-463.23 526.69,-439.66"/>
<polygon fill="black" stroke="black" points="529.59,-437.69 521.47,-430.88 523.57,-441.27 529.59,-437.69"/>
</g>
<!-- ini -->
<g id="node27" class="node">
<title>ini</title>
<polygon fill="pink" stroke="black" points="1938,-676.5 1884,-676.5 1884,-640.5 1938,-640.5 1938,-676.5"/>
<text text-anchor="middle" x="1911" y="-654.3" font-family="Times,serif" font-size="14.00">ini</text>
<polygon fill="pink" stroke="black" points="1793.12,-676.5 1739.12,-676.5 1739.12,-640.5 1793.12,-640.5 1793.12,-676.5"/>
<text text-anchor="middle" x="1766.12" y="-654.3" font-family="Times,serif" font-size="14.00">ini</text>
</g>
<!-- json -->
<g id="node28" class="node">
<title>json</title>
<ellipse fill="none" stroke="black" cx="331" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="331" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="331" y="-531.3" font-family="Times,serif" font-size="14.00">json</text>
<ellipse fill="none" stroke="black" cx="1206.12" cy="-535.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1206.12" cy="-535.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1206.12" y="-531.3" font-family="Times,serif" font-size="14.00">json</text>
</g>
<!-- json&#45;&gt;streams -->
<g id="edge24" class="edge">
<g id="edge23" class="edge">
<title>json&#45;&gt;streams</title>
<path fill="none" stroke="black" d="M335.2,-492.18C336.03,-483.76 336.92,-474.81 337.78,-466.09"/>
<polygon fill="black" stroke="black" points="341.28,-466.3 338.79,-456 334.32,-465.61 341.28,-466.3"/>
<path fill="none" stroke="black" d="M1206.12,-491.84C1206.12,-483.62 1206.12,-474.91 1206.12,-466.41"/>
<polygon fill="black" stroke="black" points="1209.62,-466.18 1206.12,-456.18 1202.62,-466.18 1209.62,-466.18"/>
</g>
<!-- jsonc -->
<g id="node29" class="node">
<title>jsonc</title>
<ellipse fill="none" stroke="black" cx="178" cy="-658.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="178" cy="-658.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="178" y="-654.3" font-family="Times,serif" font-size="14.00">jsonc</text>
<ellipse fill="none" stroke="black" cx="1049.12" cy="-658.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1049.12" cy="-658.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1049.12" y="-654.3" font-family="Times,serif" font-size="14.00">jsonc</text>
</g>
<!-- jsonc&#45;&gt;assert -->
<g id="edge25" class="edge">
<g id="edge24" class="edge">
<title>jsonc&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M144.96,-630.06C131.03,-616.35 116.36,-598.52 109,-579 79.03,-499.52 100.77,-297.78 140,-246 171.65,-204.23 229.77,-184.47 272.65,-175.27"/>
<polygon fill="black" stroke="black" points="273.54,-178.66 282.65,-173.25 272.16,-171.8 273.54,-178.66"/>
<path fill="none" stroke="black" d="M1028.83,-619.81C997.95,-560.6 939.73,-441.32 911.12,-333 901.39,-296.16 896.64,-253.41 894.33,-220.59"/>
<polygon fill="black" stroke="black" points="897.8,-220.05 893.66,-210.3 890.82,-220.5 897.8,-220.05"/>
</g>
<!-- jsonc&#45;&gt;json -->
<g id="edge26" class="edge">
<g id="edge25" class="edge">
<title>jsonc&#45;&gt;json</title>
<path fill="none" stroke="black" d="M211.96,-630.65C234.74,-612.63 264.89,-588.78 289.16,-569.59"/>
<polygon fill="black" stroke="black" points="291.47,-572.23 297.14,-563.28 287.12,-566.74 291.47,-572.23"/>
<path fill="none" stroke="black" d="M1083.98,-631.59C1104.27,-616.41 1130.27,-596.78 1153.12,-579 1156.88,-576.08 1160.77,-573.02 1164.66,-569.94"/>
<polygon fill="black" stroke="black" points="1166.94,-572.59 1172.59,-563.63 1162.59,-567.11 1166.94,-572.59"/>
</g>
<!-- log -->
<g id="node30" class="node">
<title>log</title>
<polygon fill="pink" stroke="black" points="819,-430.5 765,-430.5 765,-394.5 819,-394.5 819,-430.5"/>
<text text-anchor="middle" x="792" y="-408.3" font-family="Times,serif" font-size="14.00">log</text>
<polygon fill="pink" stroke="black" points="682.12,-430.5 628.12,-430.5 628.12,-394.5 682.12,-394.5 682.12,-430.5"/>
<text text-anchor="middle" x="655.12" y="-408.3" font-family="Times,serif" font-size="14.00">log</text>
</g>
<!-- log&#45;&gt;io -->
<g id="edge28" class="edge">
<g id="edge27" class="edge">
<title>log&#45;&gt;io</title>
<path fill="none" stroke="black" d="M781.74,-394.46C775.44,-385.48 766.55,-375.09 756,-369 677.76,-323.88 644.08,-352.96 556,-333 515.24,-323.76 469.11,-310.78 437.85,-301.61"/>
<polygon fill="black" stroke="black" points="438.83,-298.25 428.25,-298.77 436.85,-304.96 438.83,-298.25"/>
<path fill="none" stroke="black" d="M665.17,-394.09C671.41,-384.99 680.3,-374.6 691.12,-369 852.75,-285.26 925.47,-387.61 1099.12,-333 1113.56,-328.46 1128.27,-320.77 1140.72,-313.17"/>
<polygon fill="black" stroke="black" points="1142.79,-316.01 1149.36,-307.7 1139.04,-310.09 1142.79,-316.01"/>
</g>
<!-- log&#45;&gt;assert -->
<g id="edge30" class="edge">
<g id="edge29" class="edge">
<title>log&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M781.36,-394.17C775.05,-385.33 766.28,-375.17 756,-369 690.88,-329.95 648.89,-379.67 589,-333 554.98,-306.49 578.22,-274.67 546,-246 498.91,-204.09 427.89,-184.13 379.37,-174.92"/>
<polygon fill="black" stroke="black" points="379.84,-171.45 369.37,-173.12 378.59,-178.34 379.84,-171.45"/>
<path fill="none" stroke="black" d="M666.38,-394.23C672.75,-385.62 681.38,-375.65 691.12,-369 731.86,-341.18 758.92,-365.4 796.12,-333 828.8,-304.55 818.34,-283.46 840.12,-246 846.86,-234.4 854.63,-222.17 862.07,-210.9"/>
<polygon fill="black" stroke="black" points="865.03,-212.77 867.67,-202.5 859.21,-208.88 865.03,-212.77"/>
</g>
<!-- log&#45;&gt;fmt -->
<g id="edge27" class="edge">
<g id="edge26" class="edge">
<title>log&#45;&gt;fmt</title>
<path fill="none" stroke="black" d="M785.65,-394.42C780.38,-380.27 772.63,-359.41 765.44,-340.09"/>
<polygon fill="black" stroke="black" points="768.63,-338.62 761.86,-330.46 762.07,-341.06 768.63,-338.62"/>
<path fill="none" stroke="black" d="M667.68,-394.42C679.36,-378.55 697.23,-354.25 712.76,-333.14"/>
<polygon fill="black" stroke="black" points="715.7,-335.05 718.8,-324.92 710.06,-330.91 715.7,-335.05"/>
</g>
<!-- log&#45;&gt;fs -->
<g id="edge29" class="edge">
<g id="edge28" class="edge">
<title>log&#45;&gt;fs</title>
<path fill="none" stroke="black" d="M779.52,-394.15C773.08,-385.93 764.75,-376.32 756,-369 731.57,-348.54 720.2,-351.14 694,-333 690.29,-330.43 686.51,-327.66 682.77,-324.82"/>
<polygon fill="black" stroke="black" points="684.72,-321.9 674.68,-318.52 680.41,-327.43 684.72,-321.9"/>
<path fill="none" stroke="black" d="M647.36,-394.42C640.76,-379.91 630.97,-358.36 622,-338.64"/>
<polygon fill="black" stroke="black" points="625.15,-337.1 617.82,-329.44 618.77,-339.99 625.15,-337.1"/>
</g>
<!-- media_\ntypes -->
<g id="node31" class="node">
<title>media_\ntypes</title>
<ellipse fill="none" stroke="black" cx="2000" cy="-658.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="2000" cy="-658.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="2000" y="-662.7" font-family="Times,serif" font-size="14.00">media_</text>
<text text-anchor="middle" x="2000" y="-645.9" font-family="Times,serif" font-size="14.00">types</text>
<ellipse fill="none" stroke="black" cx="1855.12" cy="-658.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1855.12" cy="-658.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1855.12" y="-662.7" font-family="Times,serif" font-size="14.00">media_</text>
<text text-anchor="middle" x="1855.12" y="-645.9" font-family="Times,serif" font-size="14.00">types</text>
</g>
<!-- msgpack -->
<g id="node32" class="node">
<title>msgpack</title>
<polygon fill="pink" stroke="black" points="912.76,-307.5 847.24,-307.5 847.24,-271.5 912.76,-271.5 912.76,-307.5"/>
<text text-anchor="middle" x="880" y="-285.3" font-family="Times,serif" font-size="14.00">msgpack</text>
<polygon fill="pink" stroke="black" points="1321.89,-307.5 1256.36,-307.5 1256.36,-271.5 1321.89,-271.5 1321.89,-307.5"/>
<text text-anchor="middle" x="1289.12" y="-285.3" font-family="Times,serif" font-size="14.00">msgpack</text>
</g>
<!-- msgpack&#45;&gt;bytes -->
<g id="edge31" class="edge">
<g id="edge30" class="edge">
<title>msgpack&#45;&gt;bytes</title>
<path fill="none" stroke="black" d="M863.05,-271.21C854.49,-263 843.67,-253.39 833,-246 800.48,-223.47 760.64,-203.13 729.91,-188.8"/>
<polygon fill="black" stroke="black" points="731.23,-185.56 720.68,-184.55 728.3,-191.91 731.23,-185.56"/>
<path fill="none" stroke="black" d="M1291.1,-271.42C1292.66,-257.95 1294.92,-238.42 1297.06,-219.92"/>
<polygon fill="black" stroke="black" points="1300.56,-220.12 1298.23,-209.79 1293.6,-219.32 1300.56,-220.12"/>
</g>
<!-- regexp -->
<g id="node33" class="node">
<title>regexp</title>
<polygon fill="pink" stroke="black" points="2116.09,-676.5 2061.91,-676.5 2061.91,-640.5 2116.09,-640.5 2116.09,-676.5"/>
<text text-anchor="middle" x="2089" y="-654.3" font-family="Times,serif" font-size="14.00">regexp</text>
<polygon fill="pink" stroke="black" points="1971.21,-676.5 1917.03,-676.5 1917.03,-640.5 1971.21,-640.5 1971.21,-676.5"/>
<text text-anchor="middle" x="1944.12" y="-654.3" font-family="Times,serif" font-size="14.00">regexp</text>
</g>
<!-- semver -->
<g id="node34" class="node">
<title>semver</title>
<polygon fill="pink" stroke="black" points="2190.43,-676.5 2133.57,-676.5 2133.57,-640.5 2190.43,-640.5 2190.43,-676.5"/>
<text text-anchor="middle" x="2162" y="-654.3" font-family="Times,serif" font-size="14.00">semver</text>
<polygon fill="pink" stroke="black" points="2045.55,-676.5 1988.69,-676.5 1988.69,-640.5 2045.55,-640.5 2045.55,-676.5"/>
<text text-anchor="middle" x="2017.12" y="-654.3" font-family="Times,serif" font-size="14.00">semver</text>
</g>
<!-- testing -->
<g id="node35" class="node">
<title>testing</title>
<ellipse fill="none" stroke="black" cx="1015" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1015" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1015" y="-408.3" font-family="Times,serif" font-size="14.00">testing</text>
<ellipse fill="none" stroke="black" cx="285.12" cy="-412.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="285.12" cy="-412.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="285.12" y="-408.3" font-family="Times,serif" font-size="14.00">testing</text>
</g>
<!-- testing&#45;&gt;assert -->
<g id="edge35" class="edge">
<g id="edge34" class="edge">
<title>testing&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M972.46,-401.97C933.12,-391.2 875.27,-370.13 838,-333 807.98,-303.1 832.55,-271.88 799,-246 782.41,-233.2 499.22,-191.96 379.14,-174.95"/>
<polygon fill="black" stroke="black" points="379.46,-171.46 369.07,-173.52 378.48,-178.39 379.46,-171.46"/>
<path fill="none" stroke="black" d="M316.49,-381.93C322.94,-377.02 329.97,-372.42 337.12,-369 407.59,-335.33 448.52,-382.27 509.12,-333 541.86,-306.38 514.62,-272.9 547.12,-246 591.17,-209.54 753.63,-184.59 838.96,-173.7"/>
<polygon fill="black" stroke="black" points="839.49,-177.16 848.98,-172.44 838.62,-170.21 839.49,-177.16"/>
</g>
<!-- testing&#45;&gt;internal -->
<g id="edge39" class="edge">
<g id="edge38" class="edge">
<title>testing&#45;&gt;internal</title>
<path fill="none" stroke="black" d="M1046.64,-382.47C1053.07,-377.51 1060.02,-372.75 1067,-369 1114.55,-343.45 1150.98,-376.46 1183,-333 1252.12,-239.18 1133.87,-167.1 1026,-123 908.81,-75.08 523.22,-53.32 380.1,-46.76"/>
<polygon fill="black" stroke="black" points="379.97,-43.25 369.82,-46.29 379.65,-50.24 379.97,-43.25"/>
<path fill="none" stroke="black" d="M242.27,-404.72C175.83,-393.23 52.87,-367.75 27.12,-333 -29.88,-256.08 12.74,-195.63 75.12,-123 98.1,-96.25 132.59,-76.48 161.08,-63.48"/>
<polygon fill="black" stroke="black" points="162.76,-66.57 170.49,-59.33 159.93,-60.16 162.76,-66.57"/>
</g>
<!-- testing&#45;&gt;async -->
<g id="edge41" class="edge">
<g id="edge40" class="edge">
<title>testing&#45;&gt;async</title>
<path fill="none" stroke="black" d="M1046.32,-381.84C1052.78,-376.93 1059.82,-372.36 1067,-369 1143.66,-333.13 1176.42,-366.84 1254,-333 1259.71,-330.51 1265.39,-327.38 1270.85,-323.95"/>
<polygon fill="black" stroke="black" points="1272.83,-326.83 1279.2,-318.36 1268.94,-321.01 1272.83,-326.83"/>
<path fill="none" stroke="black" d="M290.37,-369.18C291.41,-360.76 292.52,-351.81 293.6,-343.09"/>
<polygon fill="black" stroke="black" points="297.1,-343.36 294.85,-333 290.15,-342.49 297.1,-343.36"/>
</g>
<!-- testing&#45;&gt;fmt -->
<g id="edge38" class="edge">
<g id="edge37" class="edge">
<title>testing&#45;&gt;fmt</title>
<path fill="none" stroke="black" d="M973.29,-399.64C929.84,-386.43 860.48,-362.96 805,-333 799.72,-330.15 794.38,-326.87 789.19,-323.43"/>
<polygon fill="black" stroke="black" points="790.85,-320.32 780.63,-317.52 786.87,-326.08 790.85,-320.32"/>
<path fill="none" stroke="black" d="M315.96,-381.61C322.52,-376.66 329.71,-372.13 337.12,-369 466.94,-314.19 516.44,-371.03 652.12,-333 667.27,-328.75 683.06,-322.29 697.19,-315.67"/>
<polygon fill="black" stroke="black" points="698.73,-318.82 706.22,-311.33 695.69,-312.51 698.73,-318.82"/>
</g>
<!-- testing&#45;&gt;fs -->
<g id="edge37" class="edge">
<g id="edge36" class="edge">
<title>testing&#45;&gt;fs</title>
<path fill="none" stroke="black" d="M972.76,-401.69C888.52,-382.06 706.6,-339.28 694,-333 689.9,-330.95 685.83,-328.54 681.88,-325.91"/>
<polygon fill="black" stroke="black" points="683.63,-322.85 673.46,-319.87 679.55,-328.54 683.63,-322.85"/>
<path fill="none" stroke="black" d="M316.12,-381.96C322.66,-376.98 329.81,-372.35 337.12,-369 421.22,-330.48 457.03,-369.29 542.12,-333 547.85,-330.56 553.54,-327.45 559.01,-324.04"/>
<polygon fill="black" stroke="black" points="560.99,-326.93 567.36,-318.47 557.1,-321.1 560.99,-326.93"/>
</g>
<!-- testing&#45;&gt;path -->
<g id="edge36" class="edge">
<g id="edge35" class="edge">
<title>testing&#45;&gt;path</title>
<path fill="none" stroke="black" d="M1046.45,-382.11C1052.9,-377.18 1059.9,-372.53 1067,-369 1128.01,-338.69 1162.79,-375.54 1216,-333 1249.69,-306.07 1234.87,-281.75 1259,-246 1268.47,-231.96 1280.27,-217.79 1291.46,-205.43"/>
<polygon fill="black" stroke="black" points="1294.13,-207.7 1298.33,-197.98 1288.98,-202.96 1294.13,-207.7"/>
<path fill="none" stroke="black" d="M246.32,-392.52C222.52,-379 193.23,-358.7 175.12,-333 151.55,-299.56 139.75,-254.52 133.87,-219.87"/>
<polygon fill="black" stroke="black" points="137.32,-219.26 132.3,-209.93 130.4,-220.36 137.32,-219.26"/>
</g>
<!-- data_structures -->
<g id="node36" class="node">
<title>data_structures</title>
<ellipse fill="none" stroke="black" cx="1105" cy="-289.5" rx="69.48" ry="18"/>
<text text-anchor="middle" x="1105" y="-285.3" font-family="Times,serif" font-size="14.00">data_structures</text>
<ellipse fill="none" stroke="black" cx="431.12" cy="-289.5" rx="69.48" ry="18"/>
<text text-anchor="middle" x="431.12" y="-285.3" font-family="Times,serif" font-size="14.00">data_structures</text>
</g>
<!-- testing&#45;&gt;data_structures -->
<g id="edge40" class="edge">
<g id="edge39" class="edge">
<title>testing&#45;&gt;data_structures</title>
<path fill="none" stroke="black" d="M1040.55,-377.15C1055.11,-357.58 1073.03,-333.48 1086.28,-315.67"/>
<polygon fill="black" stroke="black" points="1089.21,-317.59 1092.37,-307.48 1083.59,-313.41 1089.21,-317.59"/>
<path fill="none" stroke="black" d="M318.25,-384.04C343.95,-362.74 379.16,-333.56 403.39,-313.49"/>
<polygon fill="black" stroke="black" points="405.68,-316.13 411.15,-307.05 401.22,-310.74 405.68,-316.13"/>
</g>
<!-- text -->
<g id="node37" class="node">
<title>text</title>
<polygon fill="pink" stroke="black" points="278,-307.5 224,-307.5 224,-271.5 278,-271.5 278,-307.5"/>
<text text-anchor="middle" x="251" y="-285.3" font-family="Times,serif" font-size="14.00">text</text>
<polygon fill="pink" stroke="black" points="1012.12,-307.5 958.12,-307.5 958.12,-271.5 1012.12,-271.5 1012.12,-307.5"/>
<text text-anchor="middle" x="985.12" y="-285.3" font-family="Times,serif" font-size="14.00">text</text>
</g>
<!-- text&#45;&gt;assert -->
<g id="edge42" class="edge">
<g id="edge41" class="edge">
<title>text&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M261.59,-271.42C271.06,-256.14 285.36,-233.06 298.09,-212.53"/>
<polygon fill="black" stroke="black" points="301.14,-214.26 303.43,-203.91 295.19,-210.57 301.14,-214.26"/>
<path fill="none" stroke="black" d="M971.99,-271.42C959.65,-255.36 940.68,-230.68 924.32,-209.4"/>
<polygon fill="black" stroke="black" points="927.07,-207.23 918.2,-201.43 921.52,-211.49 927.07,-207.23"/>
</g>
<!-- ulid -->
<g id="node38" class="node">
<title>ulid</title>
<polygon fill="pink" stroke="black" points="2262,-676.5 2208,-676.5 2208,-640.5 2262,-640.5 2262,-676.5"/>
<text text-anchor="middle" x="2235" y="-654.3" font-family="Times,serif" font-size="14.00">ulid</text>
<polygon fill="pink" stroke="black" points="2117.12,-676.5 2063.12,-676.5 2063.12,-640.5 2117.12,-640.5 2117.12,-676.5"/>
<text text-anchor="middle" x="2090.12" y="-654.3" font-family="Times,serif" font-size="14.00">ulid</text>
</g>
<!-- url -->
<g id="node39" class="node">
<title>url</title>
<polygon fill="pink" stroke="black" points="1466,-307.5 1412,-307.5 1412,-271.5 1466,-271.5 1466,-307.5"/>
<text text-anchor="middle" x="1439" y="-285.3" font-family="Times,serif" font-size="14.00">url</text>
<polygon fill="pink" stroke="black" points="90.12,-307.5 36.12,-307.5 36.12,-271.5 90.12,-271.5 90.12,-307.5"/>
<text text-anchor="middle" x="63.12" y="-285.3" font-family="Times,serif" font-size="14.00">url</text>
</g>
<!-- url&#45;&gt;path -->
<g id="edge44" class="edge">
<g id="edge43" class="edge">
<title>url&#45;&gt;path</title>
<path fill="none" stroke="black" d="M1423.47,-271.42C1408.32,-254.75 1384.72,-228.8 1364.9,-206.99"/>
<polygon fill="black" stroke="black" points="1367.39,-204.52 1358.07,-199.48 1362.21,-209.23 1367.39,-204.52"/>
<path fill="none" stroke="black" d="M72.3,-271.42C80.28,-256.56 92.22,-234.32 103.02,-214.22"/>
<polygon fill="black" stroke="black" points="106.23,-215.64 107.88,-205.17 100.07,-212.33 106.23,-215.64"/>
</g>
<!-- uuid -->
<g id="node40" class="node">
<title>uuid</title>
<ellipse fill="none" stroke="black" cx="974" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="974" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="974" y="-285.3" font-family="Times,serif" font-size="14.00">uuid</text>
<ellipse fill="none" stroke="black" cx="1422.12" cy="-289.5" rx="39.5" ry="39.5"/>
<ellipse fill="none" stroke="black" cx="1422.12" cy="-289.5" rx="43.5" ry="43.5"/>
<text text-anchor="middle" x="1422.12" y="-285.3" font-family="Times,serif" font-size="14.00">uuid</text>
</g>
<!-- uuid&#45;&gt;bytes -->
<g id="edge45" class="edge">
<g id="edge44" class="edge">
<title>uuid&#45;&gt;bytes</title>
<path fill="none" stroke="black" d="M942.31,-259.55C935.89,-254.58 928.96,-249.8 922,-246 861.13,-212.74 783.84,-190.68 733.43,-178.63"/>
<polygon fill="black" stroke="black" points="733.95,-175.16 723.41,-176.28 732.35,-181.97 733.95,-175.16"/>
<path fill="none" stroke="black" d="M1392.09,-257.97C1376.45,-242.06 1357.17,-222.46 1340.56,-205.57"/>
<polygon fill="black" stroke="black" points="1342.65,-202.7 1333.14,-198.02 1337.66,-207.61 1342.65,-202.7"/>
</g>
<!-- uuid&#45;&gt;crypto -->
<g id="edge46" class="edge">
<g id="edge45" class="edge">
<title>uuid&#45;&gt;crypto</title>
<path fill="none" stroke="black" d="M974,-245.84C974,-237.62 974,-228.91 974,-220.41"/>
<polygon fill="black" stroke="black" points="977.5,-220.18 974,-210.18 970.5,-220.18 977.5,-220.18"/>
<path fill="none" stroke="black" d="M1422.12,-245.84C1422.12,-237.62 1422.12,-228.91 1422.12,-220.41"/>
<polygon fill="black" stroke="black" points="1425.62,-220.18 1422.12,-210.18 1418.62,-220.18 1425.62,-220.18"/>
</g>
<!-- webgpu -->
<g id="node41" class="node">
<title>webgpu</title>
<polygon fill="pink" stroke="black" points="356.32,-307.5 295.68,-307.5 295.68,-271.5 356.32,-271.5 356.32,-307.5"/>
<text text-anchor="middle" x="326" y="-285.3" font-family="Times,serif" font-size="14.00">webgpu</text>
<polygon fill="pink" stroke="black" points="1090.44,-307.5 1029.8,-307.5 1029.8,-271.5 1090.44,-271.5 1090.44,-307.5"/>
<text text-anchor="middle" x="1060.12" y="-285.3" font-family="Times,serif" font-size="14.00">webgpu</text>
</g>
<!-- webgpu&#45;&gt;assert -->
<g id="edge47" class="edge">
<g id="edge46" class="edge">
<title>webgpu&#45;&gt;assert</title>
<path fill="none" stroke="black" d="M326,-271.42C326,-258.01 326,-238.58 326,-220.14"/>
<polygon fill="black" stroke="black" points="329.5,-220.05 326,-210.05 322.5,-220.05 329.5,-220.05"/>
<path fill="none" stroke="black" d="M1046.3,-271.3C1039.25,-263.11 1030.25,-253.5 1021.12,-246 996.04,-225.4 965.05,-206.37 939.73,-192.2"/>
<polygon fill="black" stroke="black" points="941.13,-188.98 930.68,-187.21 937.74,-195.11 941.13,-188.98"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -4,7 +4,6 @@ import { basename } from "@std/path/basename";
import { join } from "@std/path/join";
import { resolve } from "@std/path/resolve";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { assert } from "@std/assert/assert";
import { getFileInfoType } from "./_get_file_info_type.ts";
import { toPathString } from "./_to_path_string.ts";
import { isSubdir } from "./_is_subdir.ts";
@ -34,6 +33,12 @@ interface InternalCopyOptions extends CopyOptions {
isFolder?: boolean;
}
function assertIsDate(date: Date | null, name: string): asserts date is Date {
if (date === null) {
throw new Error(`${name} is unavailable`);
}
}
async function ensureValidCopy(
src: string | URL,
dest: string | URL,
@ -99,8 +104,8 @@ async function copyFile(
await Deno.copyFile(src, dest);
if (options.preserveTimestamps) {
const statInfo = await Deno.stat(src);
assert(statInfo.atime instanceof Date, `statInfo.atime is unavailable`);
assert(statInfo.mtime instanceof Date, `statInfo.mtime is unavailable`);
assertIsDate(statInfo.atime, "statInfo.atime");
assertIsDate(statInfo.mtime, "statInfo.mtime");
await Deno.utime(dest, statInfo.atime, statInfo.mtime);
}
}
@ -114,8 +119,8 @@ function copyFileSync(
Deno.copyFileSync(src, dest);
if (options.preserveTimestamps) {
const statInfo = Deno.statSync(src);
assert(statInfo.atime instanceof Date, `statInfo.atime is unavailable`);
assert(statInfo.mtime instanceof Date, `statInfo.mtime is unavailable`);
assertIsDate(statInfo.atime, "statInfo.atime");
assertIsDate(statInfo.mtime, "statInfo.mtime");
Deno.utimeSync(dest, statInfo.atime, statInfo.mtime);
}
}
@ -138,8 +143,8 @@ async function copySymLink(
}
if (options.preserveTimestamps) {
const statInfo = await Deno.lstat(src);
assert(statInfo.atime instanceof Date, `statInfo.atime is unavailable`);
assert(statInfo.mtime instanceof Date, `statInfo.mtime is unavailable`);
assertIsDate(statInfo.atime, "statInfo.atime");
assertIsDate(statInfo.mtime, "statInfo.mtime");
await Deno.utime(dest, statInfo.atime, statInfo.mtime);
}
}
@ -163,8 +168,8 @@ function copySymlinkSync(
if (options.preserveTimestamps) {
const statInfo = Deno.lstatSync(src);
assert(statInfo.atime instanceof Date, `statInfo.atime is unavailable`);
assert(statInfo.mtime instanceof Date, `statInfo.mtime is unavailable`);
assertIsDate(statInfo.atime, "statInfo.atime");
assertIsDate(statInfo.mtime, "statInfo.mtime");
Deno.utimeSync(dest, statInfo.atime, statInfo.mtime);
}
}
@ -186,8 +191,8 @@ async function copyDir(
if (options.preserveTimestamps) {
const srcStatInfo = await Deno.stat(src);
assert(srcStatInfo.atime instanceof Date, `statInfo.atime is unavailable`);
assert(srcStatInfo.mtime instanceof Date, `statInfo.mtime is unavailable`);
assertIsDate(srcStatInfo.atime, "statInfo.atime");
assertIsDate(srcStatInfo.mtime, "statInfo.mtime");
await Deno.utime(dest, srcStatInfo.atime, srcStatInfo.mtime);
}
@ -228,8 +233,8 @@ function copyDirSync(
if (options.preserveTimestamps) {
const srcStatInfo = Deno.statSync(src);
assert(srcStatInfo.atime instanceof Date, `statInfo.atime is unavailable`);
assert(srcStatInfo.mtime instanceof Date, `statInfo.mtime is unavailable`);
assertIsDate(srcStatInfo.atime, "statInfo.atime");
assertIsDate(srcStatInfo.mtime, "statInfo.mtime");
Deno.utimeSync(dest, srcStatInfo.atime, srcStatInfo.mtime);
}

View File

@ -6,7 +6,6 @@ import { isAbsolute } from "@std/path/is-absolute";
import { resolve } from "@std/path/resolve";
import { SEPARATOR_PATTERN } from "@std/path/constants";
import { walk, walkSync } from "./walk.ts";
import { assert } from "@std/assert/assert";
import { toPathString } from "./_to_path_string.ts";
import {
createWalkEntry,
@ -158,7 +157,9 @@ export async function* expandGlob(
: absRoot;
while (segments.length > 0 && !isGlob(segments[0]!)) {
const seg = segments.shift();
assert(seg !== undefined);
if (seg === undefined) {
throw new TypeError("Unexpected undefined segment");
}
fixedRoot = joinGlobs([fixedRoot, seg], globOptions);
}
@ -316,7 +317,9 @@ export function* expandGlobSync(
: absRoot;
while (segments.length > 0 && !isGlob(segments[0]!)) {
const seg = segments.shift();
assert(seg !== undefined);
if (seg === undefined) {
throw new TypeError("Unexpected undefined segment");
}
fixedRoot = joinGlobs([fixedRoot, seg], globOptions);
}