Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
烟灰好
edex-ui
提交
0d9a4632
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 搜索 >>
未验证
提交
0d9a4632
编写于
3月 31, 2020
作者:
G
Gabriel Saillard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
📦
(fsDisp): Update file icons
上级
c15799c0
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
62 addition
and
5 deletion
+62
-5
file-icons/atom
file-icons/atom
+1
-1
file-icons/font-awesome
file-icons/font-awesome
+1
-1
file-icons/source
file-icons/source
+1
-1
src/assets/icons/file-icons.json
src/assets/icons/file-icons.json
+40
-0
src/assets/misc/file-icons-match.js
src/assets/misc/file-icons-match.js
+19
-2
未找到文件。
atom
@
574a6707
比较
ac7ada7f
...
574a6707
Subproject commit
ac7ada7ff82b3b21ed7ccdb1110d77f7386cf6ae
Subproject commit
574a6707f1f94e39b66768d262f014507d631027
font-awesome
@
4e640244
比较
0d1f27ef
...
4e640244
Subproject commit
0d1f27efb836eb2ab994ba37221849ed64a73e5c
Subproject commit
4e6402443679e0a9d12c7401ac8783ef4646657f
source
@
33b0fc0d
比较
cd5ddd19
...
33b0fc0d
Subproject commit
cd5ddd199ecf96674238296e941608d72a91c711
Subproject commit
33b0fc0dd975a67db12ff2a73433049009b7725d
src/assets/icons/file-icons.json
浏览文件 @
0d9a4632
此差异已折叠。
点击以展开。
src/assets/misc/file-icons-match.js
浏览文件 @
0d9a4632
...
...
@@ -22,6 +22,7 @@ function matchIcon(filename) {
if
(
/^CVS$/
.
test
(
filename
))
{
return
"
cvs
"
;
}
if
(
/
\.
deno$/i
.
test
(
filename
))
{
return
"
deno
"
;
}
if
(
/
\.
dependabot$/i
.
test
(
filename
))
{
return
"
dependabot
"
;
}
if
(
/^
\.
devcontainer$/i
.
test
(
filename
))
{
return
"
devcontainer
"
;
}
if
(
/^
\.
docker$/
.
test
(
filename
))
{
return
"
docker
"
;
}
if
(
/^
(
Dropbox|
\.
dropbox
\.
cache
)
$/
.
test
(
filename
))
{
return
"
dropbox
"
;
}
if
(
/^
\.
emacs
\.
d$/
.
test
(
filename
))
{
return
"
emacs
"
;
}
...
...
@@ -449,6 +450,7 @@ function matchIcon(filename) {
if
(
/^jsxconfig
\.
json$/i
.
test
(
filename
))
{
return
"
config-react
"
;
}
if
(
/^rubyconfig
\.
json$/i
.
test
(
filename
))
{
return
"
config-ruby
"
;
}
if
(
/^rustconfig
\.
json$/i
.
test
(
filename
))
{
return
"
config-rust
"
;
}
if
(
/^rust-toolchain$/i
.
test
(
filename
))
{
return
"
config-rust
"
;
}
if
(
/^tsconfig
(\.
.+
)?\.
json$/i
.
test
(
filename
))
{
return
"
config-ts
"
;
}
if
(
/^tslint
\.
json$/i
.
test
(
filename
))
{
return
"
config-ts
"
;
}
if
(
/
\.
conll$/i
.
test
(
filename
))
{
return
"
conll
"
;
}
...
...
@@ -544,6 +546,7 @@ function matchIcon(filename) {
if
(
/
\.
dpr$/i
.
test
(
filename
))
{
return
"
delphi
"
;
}
if
(
/
\.
dmark$/i
.
test
(
filename
))
{
return
"
icon-star
"
;
}
if
(
/^d
[
_
\W]?
mark$/i
.
test
(
filename
))
{
return
"
icon-star
"
;
}
if
(
/^devcontainer
\.
json$/i
.
test
(
filename
))
{
return
"
devcontainer
"
;
}
if
(
/
\.
dts$/i
.
test
(
filename
))
{
return
"
devicetree
"
;
}
if
(
/
\.
dtsi$/i
.
test
(
filename
))
{
return
"
devicetree
"
;
}
if
(
/
\.
dhall$/i
.
test
(
filename
))
{
return
"
dhall
"
;
}
...
...
@@ -672,6 +675,7 @@ function matchIcon(filename) {
if
(
/
\.
tlf$/i
.
test
(
filename
))
{
return
"
font-bitmap
"
;
}
if
(
/
\.
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
"
;
}
if
(
/
\.
f90$/i
.
test
(
filename
))
{
return
"
fortran
"
;
}
if
(
/
\.
f03$/i
.
test
(
filename
))
{
return
"
fortran
"
;
}
...
...
@@ -705,7 +709,6 @@ function matchIcon(filename) {
if
(
/
\.
gss$/i
.
test
(
filename
))
{
return
"
gauss
"
;
}
if
(
/
\.
gdb$/i
.
test
(
filename
))
{
return
"
gdb
"
;
}
if
(
/gdbinit$/i
.
test
(
filename
))
{
return
"
gdb
"
;
}
if
(
/
\.
gd$/i
.
test
(
filename
))
{
return
"
godot
"
;
}
if
(
/^
\.
htaccess$/i
.
test
(
filename
))
{
return
"
gear
"
;
}
if
(
/^
\.
htpasswd$/i
.
test
(
filename
))
{
return
"
gear
"
;
}
if
(
/^
\.
env
\.
/i
.
test
(
filename
))
{
return
"
gear
"
;
}
...
...
@@ -881,6 +884,11 @@ function matchIcon(filename) {
if
(
/
\.
gtk/
.
test
(
filename
))
{
return
"
gnome
"
;
}
if
(
/
\.(
gp|plo
?
t|gnuplot
)
$/i
.
test
(
filename
))
{
return
"
gnuplot
"
;
}
if
(
/
\.
go$/i
.
test
(
filename
))
{
return
"
go
"
;
}
if
(
/
\.
gd$/i
.
test
(
filename
))
{
return
"
godot
"
;
}
if
(
/
\.
godot$/i
.
test
(
filename
))
{
return
"
godot
"
;
}
if
(
/
\.
tres$/i
.
test
(
filename
))
{
return
"
godot
"
;
}
if
(
/
\.
tscn$/i
.
test
(
filename
))
{
return
"
godot
"
;
}
if
(
/
\.
import$/i
.
test
(
filename
))
{
return
"
godot
"
;
}
if
(
/
\.
golo$/i
.
test
(
filename
))
{
return
"
golo
"
;
}
if
(
/
\.
gs$/i
.
test
(
filename
))
{
return
"
gosu
"
;
}
if
(
/
\.
gst$/i
.
test
(
filename
))
{
return
"
gosu
"
;
}
...
...
@@ -1078,7 +1086,7 @@ function matchIcon(filename) {
if
(
/^_config
\.
yml$/
.
test
(
filename
))
{
return
"
jekyll
"
;
}
if
(
/
\.
nojekyll$/i
.
test
(
filename
))
{
return
"
jekyll
"
;
}
if
(
/^Jenkinsfile$/
.
test
(
filename
))
{
return
"
jenkins
"
;
}
if
(
/^jest
(\.
config
)?\.(
js
(
on|x
)?
|
[
cm
]
js|tsx
?)
$/i
.
test
(
filename
))
{
return
"
jest
"
;
}
if
(
/^jest
(\.
config
)?
(\.
babel
)?
\.(
js
(
on|x
)?
|
[
cm
]
js|tsx
?)
$/i
.
test
(
filename
))
{
return
"
jest
"
;
}
if
(
/^
\.
jestrc
(
$|
\.)
/i
.
test
(
filename
))
{
return
"
jest
"
;
}
if
(
/
\.(
mjs|tsx
?)\.
snap$/i
.
test
(
filename
))
{
return
"
jest
"
;
}
if
(
/
\.
cjs
\.
snap$/i
.
test
(
filename
))
{
return
"
jest
"
;
}
...
...
@@ -1413,8 +1421,11 @@ function matchIcon(filename) {
if
(
/^nginx
(\.[
-
\w]
+
)
*
\.
conf$/i
.
test
(
filename
))
{
return
"
nginx
"
;
}
if
(
/
\.
nginxconf$/i
.
test
(
filename
))
{
return
"
nginx
"
;
}
if
(
/
\.
nib$/i
.
test
(
filename
))
{
return
"
nib
"
;
}
if
(
/
\.
5c$/i
.
test
(
filename
))
{
return
"
nickle
"
;
}
if
(
/^nightwatch
\.
conf
(
ig
)?\.[
cm
]?
js$/i
.
test
(
filename
))
{
return
"
nightwatch
"
;
}
if
(
/
\.
nim
(
rod
)?
$/i
.
test
(
filename
))
{
return
"
nimrod
"
;
}
if
(
/Nimrod$/i
.
test
(
filename
))
{
return
"
nimrod
"
;
}
if
(
/
\.
nimble$/i
.
test
(
filename
))
{
return
"
nimble
"
;
}
if
(
/
\.
ninja$/i
.
test
(
filename
))
{
return
"
shuriken
"
;
}
if
(
/
\.
ninja
\.
d$/i
.
test
(
filename
))
{
return
"
shuriken
"
;
}
if
(
/
\.
n64$/i
.
test
(
filename
))
{
return
"
n64
"
;
}
...
...
@@ -1561,6 +1572,8 @@ function matchIcon(filename) {
if
(
/
\.
plsql$/i
.
test
(
filename
))
{
return
"
sql
"
;
}
if
(
/
\.
pkb$/i
.
test
(
filename
))
{
return
"
sql
"
;
}
if
(
/^ecosystem.conf
(
ig
)?
./i
.
test
(
filename
))
{
return
"
pm2
"
;
}
if
(
/^pnpm-
(
lock|workspace
)\.
ya
?
ml$/i
.
test
(
filename
))
{
return
"
pnpm
"
;
}
if
(
/^pnpmfile
\.
js$/i
.
test
(
filename
))
{
return
"
pnpm
"
;
}
if
(
/
\.
pod$/i
.
test
(
filename
))
{
return
"
pod
"
;
}
if
(
/
\.
pogo$/i
.
test
(
filename
))
{
return
"
pogo
"
;
}
if
(
/^polymer
\.
json$/i
.
test
(
filename
))
{
return
"
polymer
"
;
}
...
...
@@ -1745,6 +1758,7 @@ function matchIcon(filename) {
if
(
/
\.
webarchive$/i
.
test
(
filename
))
{
return
"
safari
"
;
}
if
(
/
\.
sage$/i
.
test
(
filename
))
{
return
"
sage
"
;
}
if
(
/
\.
sagews$/i
.
test
(
filename
))
{
return
"
sage
"
;
}
if
(
/^
\.
sailsrc$/i
.
test
(
filename
))
{
return
"
sails
"
;
}
if
(
/
\.
sls$/i
.
test
(
filename
))
{
return
"
saltstack
"
;
}
if
(
/^Salt
(
State
)?
$/i
.
test
(
filename
))
{
return
"
saltstack
"
;
}
if
(
/
\.
sas$/i
.
test
(
filename
))
{
return
"
sas
"
;
}
...
...
@@ -1778,6 +1792,7 @@ function matchIcon(filename) {
if
(
/
\.
sfproj$/i
.
test
(
filename
))
{
return
"
sf
"
;
}
if
(
/
\.
sequelizerc
(\.[
cm
]?
js|
\.
json
)?
$/i
.
test
(
filename
))
{
return
"
sequelize
"
;
}
if
(
/
\.(
sgi|iris
)
$/i
.
test
(
filename
))
{
return
"
sgi
"
;
}
if
(
/^shadow-cljs
\.
edn$/i
.
test
(
filename
))
{
return
"
shadowcljs
"
;
}
if
(
/
\.(
sh|rc|bats|bash|tool|install|command
)
$/i
.
test
(
filename
))
{
return
"
terminal
"
;
}
if
(
/^
(\.?
bash
(
rc|
[
-_
]?(
profile|login|logout|history|prompt
))
|_osc|config|install-sh|PKGBUILD
)
$/i
.
test
(
filename
))
{
return
"
terminal
"
;
}
if
(
/
\.(
ksh|mksh|pdksh
)
$/i
.
test
(
filename
))
{
return
"
terminal
"
;
}
...
...
@@ -2191,6 +2206,8 @@ function matchIcon(filename) {
if
(
/
\.
ztl$/i
.
test
(
filename
))
{
return
"
zbrush
"
;
}
if
(
/^now
\.
json$/i
.
test
(
filename
))
{
return
"
zeit
"
;
}
if
(
/
\.
nowignore$/i
.
test
(
filename
))
{
return
"
zeit
"
;
}
if
(
/
\.
zs$/i
.
test
(
filename
))
{
return
"
crafttweaker
"
;
}
if
(
/^
\.
zsrc
\.
json$/i
.
test
(
filename
))
{
return
"
crafttweaker
"
;
}
if
(
/
\.
zep$/i
.
test
(
filename
))
{
return
"
zephir
"
;
}
if
(
/
\.
zig$/i
.
test
(
filename
))
{
return
"
zig
"
;
}
if
(
/
\.(
zimpl|zmpl|zpl
)
$/i
.
test
(
filename
))
{
return
"
zimpl
"
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录