Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
dd043965
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
dd043965
编写于
11月 28, 2016
作者:
J
Joao Moreno
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
move git lib over to extension
上级
1f38d8e8
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
670 addition
and
76 deletion
+670
-76
extensions/git/package.json
extensions/git/package.json
+5
-2
extensions/git/src/git.ts
extensions/git/src/git.ts
+617
-69
extensions/git/src/main.ts
extensions/git/src/main.ts
+3
-0
extensions/git/src/typings.json
extensions/git/src/typings.json
+3
-2
extensions/git/src/typings/globals/autodetect-decoder-stream/index.d.ts
.../src/typings/globals/autodetect-decoder-stream/index.d.ts
+15
-0
extensions/git/src/typings/globals/mime/index.d.ts
extensions/git/src/typings/globals/mime/index.d.ts
+15
-0
extensions/git/src/typings/globals/mime/typings.json
extensions/git/src/typings/globals/mime/typings.json
+8
-0
extensions/git/src/typings/index.d.ts
extensions/git/src/typings/index.d.ts
+1
-0
extensions/git/src/typings/refs.d.ts
extensions/git/src/typings/refs.d.ts
+1
-1
extensions/git/tsconfig.json
extensions/git/tsconfig.json
+2
-2
未找到文件。
extensions/git/package.json
浏览文件 @
dd043965
...
...
@@ -91,7 +91,10 @@
]
},
"dependencies"
:
{
"autodetect-decoder-stream"
:
"^1.0.0"
,
"denodeify"
:
"^1.2.1"
,
"lodash"
:
"^4.17.2"
"lodash"
:
"^4.17.2"
,
"mime"
:
"^1.3.4"
,
"vscode-nls"
:
"^2.0.1"
}
}
\ No newline at end of file
}
extensions/git/src/git.ts
浏览文件 @
dd043965
此差异已折叠。
点击以展开。
extensions/git/src/main.ts
浏览文件 @
dd043965
...
...
@@ -9,6 +9,9 @@ import { scm, ExtensionContext, workspace, Uri, window, Disposable } from 'vscod
import
*
as
path
from
'
path
'
;
import
{
findGit
,
Git
}
from
'
./git
'
;
import
{
registerCommands
}
from
'
./commands
'
;
import
*
as
nls
from
'
vscode-nls
'
;
nls
.
config
();
export
function
log
(...
args
:
any
[]):
void
{
console
.
log
.
apply
(
console
,
[
'
git:
'
,
...
args
]);
...
...
extensions/git/src/typings.json
浏览文件 @
dd043965
{
"globalDependencies"
:
{
"denodeify"
:
"registry:dt/denodeify#1.2.1+20160316155526"
,
"lodash"
:
"registry:dt/lodash#4.14.0+20161110215204"
"lodash"
:
"registry:dt/lodash#4.14.0+20161110215204"
,
"mime"
:
"registry:dt/mime#0.0.0+20160316155526"
}
}
\ No newline at end of file
}
extensions/git/src/typings/globals/autodetect-decoder-stream/index.d.ts
0 → 100644
浏览文件 @
dd043965
declare
module
'
autodetect-decoder-stream
'
{
import
*
as
stream
from
'
stream
'
;
module
_
{
}
class
_
extends
stream
.
Duplex
{
constructor
(
options
?:
{
defaultEncoding
?:
string
;
});
}
export
=
_
;
}
extensions/git/src/typings/globals/mime/index.d.ts
0 → 100644
浏览文件 @
dd043965
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/mime/mime.d.ts
declare
module
"
mime
"
{
export
function
lookup
(
path
:
string
):
string
;
export
function
extension
(
mime
:
string
):
string
;
export
function
load
(
filepath
:
string
):
void
;
export
function
define
(
mimes
:
Object
):
void
;
interface
Charsets
{
lookup
(
mime
:
string
):
string
;
}
export
var
charsets
:
Charsets
;
export
var
default_type
:
string
;
}
extensions/git/src/typings/globals/mime/typings.json
0 → 100644
浏览文件 @
dd043965
{
"resolution"
:
"main"
,
"tree"
:
{
"src"
:
"https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/mime/mime.d.ts"
,
"raw"
:
"registry:dt/mime#0.0.0+20160316155526"
,
"typings"
:
"https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/mime/mime.d.ts"
}
}
extensions/git/src/typings/index.d.ts
浏览文件 @
dd043965
/// <reference path="globals/denodeify/index.d.ts" />
/// <reference path="globals/lodash/index.d.ts" />
/// <reference path="globals/mime/index.d.ts" />
extensions/git/src/typings/refs.d.ts
浏览文件 @
dd043965
...
...
@@ -7,4 +7,4 @@
/// <reference path='../../../../src/vs/vscode.proposed.d.ts'/>
/// <reference path='../../../../src/typings/mocha.d.ts'/>
/// <reference path='../../../../extensions/node.d.ts'/>
/// <reference path='../../../../extensions/lib.core.d.ts'/>
\ No newline at end of file
// / <reference path='../../../../extensions/lib.core.d.ts'/>
\ No newline at end of file
extensions/git/tsconfig.json
浏览文件 @
dd043965
{
"compilerOptions"
:
{
"
noLib"
:
true
,
"
target"
:
"es5"
,
"
target"
:
"es6"
,
"
lib"
:
[
"es2016"
]
,
"module"
:
"commonjs"
,
"outDir"
:
"./out"
,
"strictNullChecks"
:
true
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录