@@ -28,6 +28,7 @@ export const enum OperationKind {
28
28
GetBranches = 'GetBranches' ,
29
29
GetCommitTemplate = 'GetCommitTemplate' ,
30
30
GetObjectDetails = 'GetObjectDetails' ,
31
+ GetObjectFiles = 'GetObjectFiles' ,
31
32
GetRefs = 'GetRefs' ,
32
33
GetRemoteRefs = 'GetRemoteRefs' ,
33
34
HashObject = 'HashObject' ,
@@ -65,12 +66,12 @@ export const enum OperationKind {
65
66
export type Operation = AddOperation | ApplyOperation | BlameOperation | BranchOperation | CheckIgnoreOperation | CherryPickOperation |
66
67
CheckoutOperation | CheckoutTrackingOperation | CleanOperation | CommitOperation | ConfigOperation | DeleteBranchOperation |
67
68
DeleteRefOperation | DeleteRemoteTagOperation | DeleteTagOperation | DiffOperation | FetchOperation | FindTrackingBranchesOperation |
68
- GetBranchOperation | GetBranchesOperation | GetCommitTemplateOperation | GetObjectDetailsOperation | GetRefsOperation | GetRemoteRefsOperation |
69
- HashObjectOperation | IgnoreOperation | LogOperation | LogFileOperation | MergeOperation | MergeAbortOperation | MergeBaseOperation |
70
- MoveOperation | PostCommitCommandOperation | PullOperation | PushOperation | RemoteOperation | RenameBranchOperation | RemoveOperation |
71
- ResetOperation | RebaseOperation | RebaseAbortOperation | RebaseContinueOperation | RefreshOperation | RevertFilesOperation | RevListOperation |
72
- RevParseOperation | SetBranchUpstreamOperation | ShowOperation | StageOperation | StatusOperation | StashOperation | SubmoduleUpdateOperation |
73
- SyncOperation | TagOperation ;
69
+ GetBranchOperation | GetBranchesOperation | GetCommitTemplateOperation | GetObjectDetailsOperation | GetObjectFilesOperation | GetRefsOperation |
70
+ GetRemoteRefsOperation | HashObjectOperation | IgnoreOperation | LogOperation | LogFileOperation | MergeOperation | MergeAbortOperation |
71
+ MergeBaseOperation | MoveOperation | PostCommitCommandOperation | PullOperation | PushOperation | RemoteOperation | RenameBranchOperation |
72
+ RemoveOperation | ResetOperation | RebaseOperation | RebaseAbortOperation | RebaseContinueOperation | RefreshOperation | RevertFilesOperation |
73
+ RevListOperation | RevParseOperation | SetBranchUpstreamOperation | ShowOperation | StageOperation | StatusOperation | StashOperation |
74
+ SubmoduleUpdateOperation | SyncOperation | TagOperation ;
74
75
75
76
type BaseOperation = { kind : OperationKind ; blocking : boolean ; readOnly : boolean ; remote : boolean ; retry : boolean ; showProgress : boolean } ;
76
77
export type AddOperation = BaseOperation & { kind : OperationKind . Add } ;
@@ -95,6 +96,7 @@ export type GetBranchOperation = BaseOperation & { kind: OperationKind.GetBranch
95
96
export type GetBranchesOperation = BaseOperation & { kind : OperationKind . GetBranches } ;
96
97
export type GetCommitTemplateOperation = BaseOperation & { kind : OperationKind . GetCommitTemplate } ;
97
98
export type GetObjectDetailsOperation = BaseOperation & { kind : OperationKind . GetObjectDetails } ;
99
+ export type GetObjectFilesOperation = BaseOperation & { kind : OperationKind . GetObjectFiles } ;
98
100
export type GetRefsOperation = BaseOperation & { kind : OperationKind . GetRefs } ;
99
101
export type GetRemoteRefsOperation = BaseOperation & { kind : OperationKind . GetRemoteRefs } ;
100
102
export type HashObjectOperation = BaseOperation & { kind : OperationKind . HashObject } ;
@@ -151,6 +153,7 @@ export const Operation = {
151
153
GetBranches : { kind : OperationKind . GetBranches , blocking : false , readOnly : true , remote : false , retry : false , showProgress : true } as GetBranchesOperation ,
152
154
GetCommitTemplate : { kind : OperationKind . GetCommitTemplate , blocking : false , readOnly : true , remote : false , retry : false , showProgress : true } as GetCommitTemplateOperation ,
153
155
GetObjectDetails : { kind : OperationKind . GetObjectDetails , blocking : false , readOnly : true , remote : false , retry : false , showProgress : false } as GetObjectDetailsOperation ,
156
+ GetObjectFiles : { kind : OperationKind . GetObjectFiles , blocking : false , readOnly : true , remote : false , retry : false , showProgress : false } as GetObjectFilesOperation ,
154
157
GetRefs : { kind : OperationKind . GetRefs , blocking : false , readOnly : true , remote : false , retry : false , showProgress : false } as GetRefsOperation ,
155
158
GetRemoteRefs : { kind : OperationKind . GetRemoteRefs , blocking : false , readOnly : true , remote : true , retry : false , showProgress : false } as GetRemoteRefsOperation ,
156
159
HashObject : { kind : OperationKind . HashObject , blocking : false , readOnly : false , remote : false , retry : false , showProgress : true } as HashObjectOperation ,
0 commit comments