Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
烟灰好
edex-ui
提交
f79657ee
E
edex-ui
项目概览
烟灰好
/
edex-ui
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
edex-ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
f79657ee
编写于
4月 22, 2020
作者:
G
Gabriel Saillard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
📦
(fsDisp): update file icons
:skip
上级
ec7aa28c
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
32 addition
and
8 deletion
+32
-8
file-icons/atom
file-icons/atom
+1
-1
file-icons/source
file-icons/source
+1
-1
src/assets/icons/file-icons.json
src/assets/icons/file-icons.json
+10
-0
src/assets/misc/file-icons-match.js
src/assets/misc/file-icons-match.js
+20
-6
未找到文件。
atom
@
2a02aa53
比较
574a6707
...
2a02aa53
Subproject commit
574a6707f1f94e39b66768d262f014507d631027
Subproject commit
2a02aa531de15a9615ebaf17ae374b4ca8cdac7f
source
@
06cfb43e
比较
33b0fc0d
...
06cfb43e
Subproject commit
33b0fc0dd975a67db12ff2a73433049009b7725d
Subproject commit
06cfb43e9955b1d0df3e66d0c569b75355afd0c7
src/assets/icons/file-icons.json
浏览文件 @
f79657ee
...
...
@@ -4364,6 +4364,11 @@
"height": 512,
"svg": "<path d=\"M280.5223389,250.3642578c-7.1095886-0.9390106-5.1937561-5.6148682-7.720459-5.6148682c-2.5266724,0-5.0533752,6.3167267-8.2819214,9.9664001c-3.2285461,3.6496582-8.8434296,2.6670532-8.8434296-5.1937561c0-7.8608246-1.6844635-6.1763611-1.6844635-6.1763611c-1.8248291,2.8074341-11.4825897,21.2805786-16.2459259,20.1188049c-4.6351624-1.1305237-7.348114-1.9102478-8.139801-4.5221252c0,0-8.7050629,6.8962402-15.4882202,11.7575073c-6.2127686,4.4524841-11.5399323,3.0429993-11.5399323,3.0429993c0-4.9485474,3.9664307-15.5487061-0.2537689-12.9424133c-10.3766937,6.4084167-30.2577667,20.0366516-28.6763458,12.0542297c2.6646118-13.4499817,2.3558655-17.9631958,2.3558655-17.9631958c-12.0551605,8.5004272-30.7561035,11.5914917-34.0017242,11.7460632c-3.2456207,0.154541-10.9732819-4.6365967,2.9365082-14.5280151c13.9098053-9.8914185,12.0551605-12.0551605,11.7460632-14.8371277c-0.3091125-2.7819519-13.2915955,2.4728546-23.3375549,3.0910797c-2.7937927,0.1719208-24.4194336-1.0818787-10.5096283-6.800354c13.90979-5.7184753,31.0572662-21.4471283,31.0572662-21.4471283c-22.0514069,13.5700989-45.7990723,9.4506073-52.3417969,5.5734253c-6.5427246-3.8771667-0.2423248-5.0887756-0.2423248-5.0887756c42.1642303-6.7850494,42.1642303-14.5393982,42.1642303-14.5393982c-49.9185715,11.3891907-60.5807877,4.1194916-69.5467453-2.423233s-0.2423248-7.5120087-0.2423248-7.5120087c54.038063,0.4846497,71.9699783-11.6315155,71.9699783-11.6315155l-3.6149902-0.7471466c-37.3045425,8.6950531-78.8163757,4.4877625-88.3528748-3.0853424s3.3658257-9.536499,3.3658257-9.536499c62.267746,5.8901978,93.682106-7.0121307,93.682106-7.0121307s-53.011734-0.2804871-79.0968704-1.9633942c-26.0851364-1.6829224-45.7191086-15.9876709-48.2434769-21.5973816c-2.5243683-5.6097031,7.2926197-3.3658142,7.2926197-3.3658142c16.0632973,2.9399567,27.2242126,6.6493835,38.9874649,8.1340637c57.7799759,7.2926331,71.8042526-2.5243683,71.8042526-2.5243683s-1.9634094,0-15.7071838,1.4024353c-13.743782,1.40242-15.1462097-5.0487366-15.1462097-5.0487366c-24.4645462,1.4940186-33.3315659-1.4850464-70.1013031-14.3454056C2.6145315,103.5453644,0,94.7680054,0,92.1534729s12.919713-1.4195862,12.919713-1.4195862c37.3589096,16.7131958,120.4137344,28.0746155,133.5221252,24.1420975c13.1083984-3.932518-0.7996826-3.8240967-0.7996826-3.8240967s-33.7872696-1.600647-70.0390244-10.4850693c-33.1672211-8.128479-61.076683-19.5179443-71.8654327-29.8879547c-10.2174444-9.8208885,5.2495012-9.111145,13.7699547-8.1280174c8.5204525,0.9831314,86.5153656,30.4770088,148.2636719,32.7936897c11.3257904,1.5064163,12.2316437,0.1979599,12.2316437,0.1979599c-11.2110443-2.6231232-32.1450806-3.8649139-40.3289185-9.9138412c-8.1838531-6.0489349-6.3875275-14.7071457-1.2702637-10.8881149c13.0201111,9.7169495,47.6131439,14.4647446,47.6131439,14.4647446c37.3610535,2.4907379,51.6434631-5.8235245,77.9244537,8.5396652c20.8126526,11.3746109,13.8930664,25.3147125,11.769989,38.6430359c-5.4222412,34.0396729,2.4701538,50.389801,14.0455933,63.4367828c13.5307312,15.2508545,30.7597351,18.8988037,30.7597351,18.8988037c8.8954773,1.7790985,7.8280334,8.1838379,2.8465576,10.6745758C321.3632507,229.3981476,287.9620361,251.3468628,280.5223389,250.3642578z M263.1275024,140.3143158c0,0,7.4060974-18.6619339-4.9371033-31.0051346c-10.8616791-10.8616714-28.1366119-8.2224121-28.1366119-8.2224121c-1.5741425,0.5247192-1.3278503,2.1705933,0.4887238,2.2978592c0,0,15.2063293,1.1849136,22.7107544,10.4667053s8.6893311,21.7233429,8.6893311,24.6856079C261.9425964,141.4992218,263.1275024,140.3143158,263.1275024,140.3143158z M386.6365967,188.2844086c21.2539062-13.7924957,73.0320435-12.8880157,73.0320435-12.8880157c-72.4663391-45.1306152-126.1668701-38.8901367-171.4727478-40.0939636C299.539093,136.4536285,370.88797,167.5007935,386.6365967,188.2844086z M321.0357666,335.526123c0,0-16.3628845-10.6977234-25.3123169-24.1789246c-4.2364807-6.3817444-4.850647-16.1594543-4.9113464-20.5898743c-0.1860657-13.5830078,10.3894043-17.1897278,16.4341431-16.0563354c7.2204895,1.3538513,15.5947266,8.4796448,15.5947266,8.4796448c-3.6941528-18.4912415,2.8183594-24.1193542,55.9976196-23.4025879c8.9771729,0.1210022,16.2452087-1.8889771,29.492157,6.712677l29.5089722,19.0940247l41.8933105-9.5904541c-0.8090515,16.8026428,7.9769592,48.3937378,7.9769592,48.3937378c0.5565491,2.956543,2.5513611,5.8913269-3.0134583,7.4945068c-2.1643372,0.6235352-5.4144897,1.6680298-8.3411255,2.2286072c-3.538269,0.6777344-6.2614441,3.5093689-6.8215027,7.0681458l-2.443634,15.5283813h-20.5769653v6.0104065c1.8195801,1.8952637,10.1451721,4.1166687,13.9655457,3.6062317c6.1607361-0.8231201,5.6161499,7.9776001,3.6979675,8.7633972c-1.9182129,0.7857971-5.7039795,0.0730286-7.7849121,1.7840271c-0.8504944,0.6992798-2.349823,2.5330505-2.2705994,4.7033997c0.1145935,3.1401062,2.1911011,6.9814453,3.0815125,9.0823975c3.6588745,8.6331482,8.2778625,21.4649353,0.0704956,25.3526611c-4.6408691,2.1983032-18.5206604,0.4353638-29.851593-1.0017395c-41.0709839-5.2090149-76.9329529-41.5088806-77.9346924-43.3120117c-1.0017395-1.8031006-5.6097107-6.5742188-5.6097107-6.5742188c7.0121155,52.8914185,38.3712463,58.0731812,48.2025452,61.5141296c-7.6192322,11.5517578-8.1108093,23.3493347-8.1108093,23.3493347c5.946991-8.2606506,14.0332947-11.8491516,33.9602356-18.6554871c4.627594-1.5805969,8.5869446-1.8901062,12.3287659-1.9083252c33.9138184-0.1649475,36.8815308-13.8242188,38.997467-18.7613831c2.2120361-5.1614075,0.2457581-21.3830566-1.7204895-25.0697937c-1.9662476-3.6867065,6.1445618-9.5855103,6.1445618-9.5855103s0-9.8312683,0-11.0601807s1.9662476-2.7036133,3.6867371-4.9156494c1.720459-2.2120361-0.0819397-17.2866821-0.0819397-17.2866821s21.7293701,2.2391357,20.7462158-7.2644348c-0.9831238-9.5035706-8.2932434-23.8680115-9.9317932-31.0776062c-1.6385498-7.2096252,4.5879517-40.3083191,4.5879517-40.3083191c23.267395-15.0746307,19.0071411-78.9780273,19.0071411-78.9780273c-79.3057556,7.20961-132.8862915,29.1661682-158.939209,39.9805908c-26.0529175,10.8144073-44.8489075,25.6529999-82.2078247,52.6890564c-51.2519989,37.0902405-92.2976074,74.134613-92.2976074,74.134613s-14.746933,15.7300415-9.8312836,27.0360413c4.9156342,11.3059998,11.3059845,11.3059998,11.3059845,11.3059998s60.4624481-78.158783,101.2622986-89.9563293C299.627655,334.518158,309.8319092,332.8994446,321.0357666,335.526123z\"/>"
},
"mermaid": {
"width": 367,
"height": 512,
"svg": "<path d=\"M366.3450928,400.1548767c-27.789032,12.2000427-25.5113525,40.6948547-57.0782776,80.0321045c-30.0215759,37.4114685-81.6324005,42.4969177-130.7093201,11.6911011c-14.9933167-9.4114075-52.6532135-20.0047607-70.666153-54.1831665c-17.2627335-32.7549438-28.2895584-108.9725342-16.8582687-151.5800781c5.5587463-20.7189636,22.6753159-38.2214508,44.3395462-49.1025848c20.7768707-10.4354401,36.718689-16.9737396,14.0870514-54.2697601c0,0-18.1769714,9.6988983-20.9417267,19.2036896c-3.8746262,13.3203278-50.4694214,46.9579315-54.1222153,52.4371185c-11.3615112,17.0422668-27.2908859,22.1860046-35.3280754,26.5611572c-1.2971306-7.0415649,17.7892418-16.8627014,9.4505348-18.901062s-31.739851,10.3552246-33.725441,5.0032043c-0.7015152-1.8908691,12.2119942-5.8309326,14.0831547-9.2652283c-8.338707-2.0383148-13.3419323-6.115036-13.3419323-6.115036s36.3197021-3.3354797,50.9587669-1.1118164c6.6760483-9.8177032,15.0096664-28.9075317,33.3548279-46.3261566c0,0-22.8614502,2.552002-26.4448471,4.385376c-3.5834045,1.8333588-3.8334122,14.3336029-6.0834503,15.0002899c-2.2500458,0.6666718,6.6667938-21.4170837-24.7258263-13.7539062c0,0-11.5841846,11.8519897-12.433691,32.7255249c0,0-5.8320465-5.9685364-9.087162-14.7059479c-1.7126999-4.5972443-10.6219587,3.2550964-14.2197189,0.6853027c8.5177794-5.7279968,10.438015-15.2484741,9.251379-26.5549164C8.43571,203.5832672,3.4481308,201.4595642,0,197.2130737c15.2020979,1.7965088,27.8862286-20.1561584,39.404026-53.109787l-15.0763226,8.737442c6.8528748-39.9180069,37.0055161-32.7224808,57.5641403-66.3015671c-6.5659561-2.2758789-12.1380386-0.8904266-16.9608536,3.2551041c9.2513733-19.3593674,28.0833969,3.6138763,44.4797897-48.1155968c3.6949615-10.8539524,10.8413849-15.9129124,20.4194031-24.7476254c7.3816986-6.8088522,12.9823608-12.9088926,25.8797607-16.3886051c9.7321777-2.6257372,48.1402893,3.9133925,61.4137268,27.7044296c11.5431671,20.6897392,5.7733765,66.9711914-12.0086365,80.827301c0,0-2.8866882,4.9651031,2.3093567,9.1219406c5.1960449,4.1568298,14.8953247,14.8953171,25.9802094,43.3003464c4.8496399,14.8953094,31.638092,14.3179626,59.0039368,37.8733673c0.4407654-8.683075,5.3831482-16.0627289,10.1221924-22.8069458c5.955719-8.4756927,12.2540283-15.3066254,16.3956909-15.2124939c16.0576477,10.4797211-9.3132019,30.9759216-9.3132019,30.9759216c2.3205872,1.2048645,6.2139893,1.2491455,11.003479,0.6322632c-5.1221619,11.363678-21.5110474,18.6508179-27.7338562,18.6089325c-14.9346619-0.1004944-51.0491028-13.8142242-74.1158905-25.9959259c-5.8631287,5.8654327-11.6243439,21.1842194-18.6458893,36.6608429c-6.9280243,32.0999908,32.4934998,76.3876953-43.4157867,133.7114563c-9.7858887,7.3899231-16.6567078,39.4077454-16.2520752,56.5791016c0.6966705,29.5650635,15.8192596,50.3076172,42.2611237,65.3546448c46.7379456-15.4898987,19.1785278-106.164856,145.8066711-127.7937622c-25.8908997,25.6434326-29.7197266,47.5023499-43.7333374,76.0643005C314.8578186,420.0611572,303.3487549,407.0601196,366.3450928,400.1548767z\"/>"
},
"meson-old": {
"width": 512,
"height": 512,
...
...
@@ -5834,6 +5839,11 @@
"height": 512,
"svg": "<polygon points=\"205.6878662,188.670517 0,185.7109833 308.5317993,281.8959656 276.7167664,210.1271667 335.1676331,212.346817 312.2312012,435.7919006 480.9248657,435.7919006 490.5433655,347.7456665 435.7919006,347.7456665 449.1098328,217.5260162 503.8612671,217.5260162 512,129.4797668 457.2485657,129.4797668 462.4277344,76.2080917 347.7456665,76.2080917 341.8265991,131.6994171 183.491333,131.6994171 \"/>"
},
"tilt": {
"width": 470,
"height": 512,
"svg": "<path d=\"M157.1739655,14.947897v127.9085617c0,8.0835724-6.5489197,14.6327362-14.6327209,14.6327362H14.6327238C6.5489097,157.4891968,0,150.940033,0,142.8564606V89.8256302c0-5.0910187,2.6604676-9.8233719,7.0093546-12.4841232L129.6736603,2.4640307C142.4738922-3.6804657,157.1739655,2.1054225,157.1739655,14.947897z M470,141.6285553V14.9479237c0-8.0582333-6.5489197-14.6071482-14.6327209-14.6071482H202.5946045c-8.0838013,0-14.6327209,6.5489154-14.6327209,14.6327286v482.3937683c0,8.0837708,6.5489197,14.6327209,14.6327209,14.6327209h141.2876587c8.0838318,0,14.6327209-6.5489502,14.6327209-14.6327209V170.8940125c0-8.0838318,6.5489502-14.6327362,14.6327515-14.6327362h82.2195435C463.4510803,156.2612762,470,149.7123566,470,141.6285553z\"/>"
},
"tinymce": {
"width": 512,
"height": 512,
src/assets/misc/file-icons-match.js
浏览文件 @
f79657ee
...
...
@@ -219,10 +219,6 @@ function matchIcon(filename) {
if
(
/
\.
bal$/i
.
test
(
filename
))
{
return
"
ballerina
"
;
}
if
(
/
\.
balx$/i
.
test
(
filename
))
{
return
"
ballerina
"
;
}
if
(
/
\.
bzrignore$/i
.
test
(
filename
))
{
return
"
bazaar
"
;
}
if
(
/^
(\.
bazelrc|bazel
\.
rc|bazel
\.
bazelrc
)
$/i
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/^
(
BUILD|WORKSPACE
)(
.
[
Bb
][
Aa
][
Zz
][
Ee
][
Ll
])?
$/
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/
\.
bzl$/i
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/^
\.
gazelcfg
\.
json$/i
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/^behat
(\.[^
.
]
+
)
*
\.
ya
?
ml$/i
.
test
(
filename
))
{
return
"
behat
"
;
}
if
(
/
\.
bemjson
(\.[
cm
]?
js
)?
$/i
.
test
(
filename
))
{
return
"
bem
"
;
}
if
(
/
\.
cbx$/i
.
test
(
filename
))
{
return
"
bibtex
"
;
}
...
...
@@ -293,6 +289,7 @@ function matchIcon(filename) {
if
(
/
\.
upc$/i
.
test
(
filename
))
{
return
"
c
"
;
}
if
(
/
\.
xbm$/i
.
test
(
filename
))
{
return
"
c
"
;
}
if
(
/
\.
xpm$/i
.
test
(
filename
))
{
return
"
c
"
;
}
if
(
/
(\\
|
\/)
share
(?:\1
misc
)?\1
getopts
?\d?
$/
.
test
(
filename
))
{
return
"
c
"
;
}
if
(
/
\.
c
[
+px
]{2}
$|
\.
cc$/i
.
test
(
filename
))
{
return
"
cpp
"
;
}
if
(
/
\.
h
[
+px
]{2}
$/i
.
test
(
filename
))
{
return
"
cpp
"
;
}
if
(
/
\.[
it
]
pp$/i
.
test
(
filename
))
{
return
"
cpp
"
;
}
...
...
@@ -403,6 +400,7 @@ function matchIcon(filename) {
if
(
/
\.
bz2$/i
.
test
(
filename
))
{
return
"
zip
"
;
}
if
(
/
\.
maff$/i
.
test
(
filename
))
{
return
"
zip
"
;
}
if
(
/
\.
iso$/i
.
test
(
filename
))
{
return
"
zip
"
;
}
if
(
/
\.
hqx$/i
.
test
(
filename
))
{
return
"
zip
"
;
}
if
(
/
\.
xpi$/i
.
test
(
filename
))
{
return
"
zip
"
;
}
if
(
/
\.
gem$/i
.
test
(
filename
))
{
return
"
zip
"
;
}
if
(
/
\.
whl$/i
.
test
(
filename
))
{
return
"
zip
"
;
}
...
...
@@ -426,6 +424,7 @@ function matchIcon(filename) {
if
(
/^mimeapps
\.
list$/i
.
test
(
filename
))
{
return
"
config
"
;
}
if
(
/
(\.
|^
)
terminal
(
rc
)?
$/i
.
test
(
filename
))
{
return
"
config
"
;
}
if
(
/^ld
\.
script$/i
.
test
(
filename
))
{
return
"
config
"
;
}
if
(
/^shells$/i
.
test
(
filename
))
{
return
"
config
"
;
}
if
(
/^
\.?
XCompose$/
.
test
(
filename
))
{
return
"
config
"
;
}
if
(
/^buildozer
\.
spec$/i
.
test
(
filename
))
{
return
"
config
"
;
}
if
(
/^settings
\.
bsp$/i
.
test
(
filename
))
{
return
"
config
"
;
}
...
...
@@ -525,6 +524,8 @@ function matchIcon(filename) {
if
(
/
(
^|
\.)
encodings
\.
dir$/i
.
test
(
filename
))
{
return
"
database
"
;
}
if
(
/^pkginfo$/i
.
test
(
filename
))
{
return
"
database
"
;
}
if
(
/^term
(
cap|info
)
/i
.
test
(
filename
))
{
return
"
database
"
;
}
if
(
/^
(
birthtoken|flowers
)
$/
.
test
(
filename
))
{
return
"
database
"
;
}
if
(
/
(\\
|
\/)
share
(?:\1
misc
)?\1(?:
ascii|trace
\.
codes
)
$/
.
test
(
filename
))
{
return
"
database
"
;
}
if
(
/^
(
mime
\.
types|fstab
)
$/i
.
test
(
filename
))
{
return
"
database
"
;
}
if
(
/^METADATA
\.
pb$/
.
test
(
filename
))
{
return
"
database
"
;
}
if
(
/
\.(
ldj|ldjson|jsonl
)
$/
.
test
(
filename
))
{
return
"
database
"
;
}
...
...
@@ -673,7 +674,7 @@ function matchIcon(filename) {
if
(
/
\.
snf$/i
.
test
(
filename
))
{
return
"
font-bitmap
"
;
}
if
(
/
\.
flf$/i
.
test
(
filename
))
{
return
"
font-bitmap
"
;
}
if
(
/
\.
tlf$/i
.
test
(
filename
))
{
return
"
font-bitmap
"
;
}
if
(
/
\.
pe
$/i
.
test
(
filename
))
{
return
"
ff
"
;
}
if
(
/
\.
(
ff|pe
)
$/i
.
test
(
filename
))
{
return
"
ff
"
;
}
if
(
/
\.
sfd$/i
.
test
(
filename
))
{
return
"
ff
"
;
}
if
(
/^
\.
issuetracker$/i
.
test
(
filename
))
{
return
"
fork
"
;
}
if
(
/
\.
f$/i
.
test
(
filename
))
{
return
"
fortran
"
;
}
...
...
@@ -1209,6 +1210,7 @@ function matchIcon(filename) {
if
(
/
\.
pri$/i
.
test
(
filename
))
{
return
"
checklist
"
;
}
if
(
/
\.
mak
?
o$/i
.
test
(
filename
))
{
return
"
mako
"
;
}
if
(
/
\.(
1
([
bcmstx
]
|has|in
)?
|
[
24568
]
|3
(
avl|bsm|cfgadm|in|
[
cmx
]
|perl|pm
?
|qt
)?
|7
(
d|fs|i|ipp|m|p
)?
|9
[
efps
]?
|chem|eqn|groff|man|mandoc|mdoc|me|mom|nr
?
|nroff|pic|roff
?
|tmac|tmac-u|tr|troff
)
$/i
.
test
(
filename
))
{
return
"
manpage
"
;
}
if
(
/^
(
man|mdoc
)\.
template$/i
.
test
(
filename
))
{
return
"
manpage
"
;
}
if
(
/
\.(
rnh|rno|run|runoff
)
$/i
.
test
(
filename
))
{
return
"
manpage
"
;
}
if
(
/
(
^|
\.)((
troff|eqn
)
rc
(
-end
)?)
$/i
.
test
(
filename
))
{
return
"
manpage
"
;
}
if
(
/^tmac
\.
|^
(
mmn|mmt|toc
\.
entries
)
$/i
.
test
(
filename
))
{
return
"
manpage
"
;
}
...
...
@@ -1268,6 +1270,7 @@ function matchIcon(filename) {
if
(
/
\.
hgsub$/i
.
test
(
filename
))
{
return
"
hg
"
;
}
if
(
/
\.
hgsubstate$/i
.
test
(
filename
))
{
return
"
hg
"
;
}
if
(
/
\.
moo$/i
.
test
(
filename
))
{
return
"
mercury
"
;
}
if
(
/
\.(
mmd|mermaid
)
$/i
.
test
(
filename
))
{
return
"
mermaid
"
;
}
if
(
/^
(
meson
\.
build|meson_options
\.
txt
)
$/i
.
test
(
filename
))
{
return
"
meson
"
;
}
if
(
/
\.
metal$/i
.
test
(
filename
))
{
return
"
metal
"
;
}
if
(
/
\.
accda$/i
.
test
(
filename
))
{
return
"
access
"
;
}
...
...
@@ -1479,6 +1482,7 @@ function matchIcon(filename) {
if
(
/
\.
odin$/i
.
test
(
filename
))
{
return
"
odin
"
;
}
if
(
/
\.
ooc$/i
.
test
(
filename
))
{
return
"
ooc
"
;
}
if
(
/
\.
opa$/i
.
test
(
filename
))
{
return
"
opa
"
;
}
if
(
/^
\+(
CONTENTS|DESC|DISPLAY
)
$/
.
test
(
filename
))
{
return
"
openbsd
"
;
}
if
(
/
\.
opencl$/i
.
test
(
filename
))
{
return
"
opencl
"
;
}
if
(
/
\.(
p|abl
)
$/i
.
test
(
filename
))
{
return
"
progress
"
;
}
if
(
/^
(
progress|openedge|abl
)
$/i
.
test
(
filename
))
{
return
"
progress
"
;
}
...
...
@@ -1813,6 +1817,7 @@ function matchIcon(filename) {
if
(
/^shipitfile
(\b
.+
)?\.[
cm
]?
js$/i
.
test
(
filename
))
{
return
"
shipit
"
;
}
if
(
/^shippable
\.
ya
?
ml$/i
.
test
(
filename
))
{
return
"
shippable
"
;
}
if
(
/
\.
liquid$/i
.
test
(
filename
))
{
return
"
shopify
"
;
}
if
(
/
\.
sieve$/i
.
test
(
filename
))
{
return
"
filter
"
;
}
if
(
/
\.
sigils$/i
.
test
(
filename
))
{
return
"
sigils
"
;
}
if
(
/
\.
ss$/i
.
test
(
filename
))
{
return
"
silverstripe
"
;
}
if
(
/
\.
sketch$/i
.
test
(
filename
))
{
return
"
sketch
"
;
}
...
...
@@ -1867,6 +1872,10 @@ function matchIcon(filename) {
if
(
/^git-credential-osxkeychain$/i
.
test
(
filename
))
{
return
"
key
"
;
}
if
(
/
\.
ssh
[\/\\][^\/\\\s]
+$/
.
test
(
filename
))
{
return
"
key
"
;
}
if
(
/
\.
stan$/i
.
test
(
filename
))
{
return
"
stan
"
;
}
if
(
/^
(\.
bazelrc|bazel
\.
rc|bazel
\.
bazelrc
)
$/i
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/^
(
BUILD|WORKSPACE
)(
.
[
Bb
][
Aa
][
Zz
][
Ee
][
Ll
])?
$/
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/
\.(
bzl|star
)
$/i
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/^
\.
gazelcfg
\.
json$/i
.
test
(
filename
))
{
return
"
bazel
"
;
}
if
(
/
\.
do$/i
.
test
(
filename
))
{
return
"
stata
"
;
}
if
(
/
\.
ado$/i
.
test
(
filename
))
{
return
"
stata
"
;
}
if
(
/
\.
doh$/i
.
test
(
filename
))
{
return
"
stata
"
;
}
...
...
@@ -1971,11 +1980,12 @@ function matchIcon(filename) {
if
(
/
\.
mkii$/i
.
test
(
filename
))
{
return
"
tex
"
;
}
if
(
/
\.
pgf$/i
.
test
(
filename
))
{
return
"
tex
"
;
}
if
(
/
\.
tikz$/i
.
test
(
filename
))
{
return
"
tex
"
;
}
if
(
/
\.
texi
$/i
.
test
(
filename
))
{
return
"
tex
"
;
}
if
(
/
\.
(
texi
(
nfo
)?
|txi
)
$/i
.
test
(
filename
))
{
return
"
tex
"
;
}
if
(
/^hyphen
(
ex
)?\.(
cs|den|det|fr|sv|us
)
$/
.
test
(
filename
))
{
return
"
tex
"
;
}
if
(
/
\.
te
?
xt$/i
.
test
(
filename
))
{
return
"
icon-file-text
"
;
}
if
(
/
\.
log$|^Terminal
[
-_
\s]
Saved
[
-_
\s]
Output$/i
.
test
(
filename
))
{
return
"
icon-file-text
"
;
}
if
(
/
\.
git
[\/\\]
description$/
.
test
(
filename
))
{
return
"
icon-file-text
"
;
}
if
(
/
(\\
|
\/)
share
(?:\1
misc
)?\1(?:
operator|mail
\.(?:
tilde
)?
help
)
$/
.
test
(
filename
))
{
return
"
icon-file-text
"
;
}
if
(
/
\.
err$|
\.
std
(
err|out
)
$/i
.
test
(
filename
))
{
return
"
icon-file-text
"
;
}
if
(
/
\.
rtf$/i
.
test
(
filename
))
{
return
"
icon-file-text
"
;
}
if
(
/
\.
i
?
nfo$/i
.
test
(
filename
))
{
return
"
icon-file-text
"
;
}
...
...
@@ -2012,6 +2022,7 @@ function matchIcon(filename) {
if
(
/
\.
thor$/i
.
test
(
filename
))
{
return
"
thor
"
;
}
if
(
/^Thorfile$/i
.
test
(
filename
))
{
return
"
thor
"
;
}
if
(
/
\.
8x
[
pk
](\.
txt
)?
$/i
.
test
(
filename
))
{
return
"
calc
"
;
}
if
(
/^Tiltfile$/i
.
test
(
filename
))
{
return
"
tilt
"
;
}
if
(
/
\.
tipe$/i
.
test
(
filename
))
{
return
"
tipe
"
;
}
if
(
/
\.
tla$/i
.
test
(
filename
))
{
return
"
tla
"
;
}
if
(
/
(\.
|_|^
)
tmux
\.
conf$/i
.
test
(
filename
))
{
return
"
tmux
"
;
}
...
...
@@ -2039,6 +2050,9 @@ function matchIcon(filename) {
if
(
/
\.
unibeautifyrc
\.
ya
?
ml$/i
.
test
(
filename
))
{
return
"
unibeautify
"
;
}
if
(
/^
(
ArabicShaping|Bidi
(
Brackets|CharacterTest|Mirroring|Test
)
|Blocks|CJKRadicals|CaseFolding|CompositionExclusions|Derived
(
Age|CoreProperties|NormalizationProps
)
|EastAsianWidth|EmojiSources|EquivalentUnifiedIdeograph|HangulSyllableType|Index|Indic
(
Positional|Syllabic
)
Category|Jamo|LineBreak|NameAliases|NamedSequences
(
Prov
)?
|NamesList|Normalization
(
Corrections|Test
)
|NushuSources|PropList|Property
(
Value
)?
Aliases|Script
(
Extension
)?
s|SpecialCasing|StandardizedVariants|TangutSources|U
(
nicode|Source
)
Data|VerticalOrientation
)\.
txt$/
.
test
(
filename
))
{
return
"
unicode
"
;
}
if
(
/
([\\\/])(
UNIDATA|UCD
)\1[^\\\/]
+
\.
txt$/i
.
test
(
filename
))
{
return
"
unicode
"
;
}
if
(
/
\.
units$/i
.
test
(
filename
))
{
return
"
scales
"
;
}
if
(
/^units
\.
lib$/i
.
test
(
filename
))
{
return
"
scales
"
;
}
if
(
/^
\.?
units
[
-_
]?
history$/i
.
test
(
filename
))
{
return
"
scales
"
;
}
if
(
/
\.
anim$/i
.
test
(
filename
))
{
return
"
unity3d
"
;
}
if
(
/
\.
asset$/i
.
test
(
filename
))
{
return
"
unity3d
"
;
}
if
(
/
\.
cubemap$/i
.
test
(
filename
))
{
return
"
unity3d
"
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录