Skip to content

Commit 741357d

Browse files
authored
Remove File Actions (#1048)
1 parent 9dcd9a9 commit 741357d

File tree

9 files changed

+306
-371
lines changed

9 files changed

+306
-371
lines changed

api/grpc/mpi/v1/files.pb.go

Lines changed: 75 additions & 157 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/grpc/mpi/v1/files.pb.validate.go

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/grpc/mpi/v1/files.proto

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -126,23 +126,8 @@ message FileOverview {
126126
message File {
127127
// Meta information about the file, the name (including path) and hash
128128
FileMeta file_meta = 1;
129-
// Action enumeration
130-
enum FileAction {
131-
// Default value, no action
132-
FILE_ACTION_UNSPECIFIED = 0;
133-
// No changes to the file
134-
FILE_ACTION_UNCHANGED = 1;
135-
// New file
136-
FILE_ACTION_ADD = 2;
137-
// Updated file
138-
FILE_ACTION_UPDATE = 3;
139-
// File deleted
140-
FILE_ACTION_DELETE = 4;
141-
}
142-
// Optional action
143-
optional FileAction action = 2;
144129
// Unmanaged files will not be modified
145-
bool unmanaged = 3;
130+
bool unmanaged = 2;
146131
}
147132

148133
// Represents the get file request

docs/proto/protos.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
- [UpdateOverviewResponse](#mpi-v1-UpdateOverviewResponse)
3737
- [X509Name](#mpi-v1-X509Name)
3838

39-
- [File.FileAction](#mpi-v1-File-FileAction)
4039
- [SignatureAlgorithm](#mpi-v1-SignatureAlgorithm)
4140

4241
- [FileService](#mpi-v1-FileService)
@@ -304,7 +303,6 @@ Represents meta data about a file
304303
| Field | Type | Label | Description |
305304
| ----- | ---- | ----- | ----------- |
306305
| file_meta | [FileMeta](#mpi-v1-FileMeta) | | Meta information about the file, the name (including path) and hash |
307-
| action | [File.FileAction](#mpi-v1-File-FileAction) | optional | Optional action |
308306
| unmanaged | [bool](#bool) | | Unmanaged files will not be modified |
309307

310308

@@ -591,21 +589,6 @@ Represents the dates for which a certificate is valid as seen at https://pkg.go.
591589

592590

593591

594-
<a name="mpi-v1-File-FileAction"></a>
595-
596-
### File.FileAction
597-
Action enumeration
598-
599-
| Name | Number | Description |
600-
| ---- | ------ | ----------- |
601-
| FILE_ACTION_UNSPECIFIED | 0 | Default value, no action |
602-
| FILE_ACTION_UNCHANGED | 1 | No changes to the file |
603-
| FILE_ACTION_ADD | 2 | New file |
604-
| FILE_ACTION_UPDATE | 3 | Updated file |
605-
| FILE_ACTION_DELETE | 4 | File deleted |
606-
607-
608-
609592
<a name="mpi-v1-SignatureAlgorithm"></a>
610593

611594
### SignatureAlgorithm

0 commit comments

Comments
 (0)