Skip to content

Commit 08d8b16

Browse files
committed
capabilities,general: move FileOperationRegistrationOptions
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent e18da2e commit 08d8b16

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

capabilities.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,14 @@ type ServerCapabilitiesWorkspaceFolders struct {
10361036
ChangeNotifications interface{} `json:"changeNotifications,omitempty"` // string | boolean
10371037
}
10381038

1039+
// FileOperationRegistrationOptions is the options to register for file operations.
1040+
//
1041+
// @since 3.16.0.
1042+
type FileOperationRegistrationOptions struct {
1043+
// filters is the actual filters.
1044+
Filters []FileOperationFilter `json:"filters"`
1045+
}
1046+
10391047
// ServerCapabilitiesWorkspaceFileOperations is the server is interested in file notifications/requests.
10401048
//
10411049
// @since 3.16.0.

general.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,6 @@ type SetTraceParams struct {
108108
Value TraceValue `json:"value"`
109109
}
110110

111-
// FileOperationRegistrationOptions is the options to register for file operations.
112-
//
113-
// @since 3.16.0.
114-
type FileOperationRegistrationOptions struct {
115-
// filters is the actual filters.
116-
Filters []FileOperationFilter `json:"filters"`
117-
}
118-
119111
// FileOperationPatternKind is a pattern kind describing if a glob pattern matches a file a folder or
120112
// both.
121113
//

0 commit comments

Comments
 (0)