remove filer grpc API GetEntryAttributes

This commit is contained in:
Chris Lu
2018-09-25 09:18:06 -07:00
parent 578f8a6dec
commit 60c1ada4c1
4 changed files with 92 additions and 277 deletions

View File

@@ -12,9 +12,6 @@ service SeaweedFiler {
rpc ListEntries (ListEntriesRequest) returns (ListEntriesResponse) {
}
rpc GetEntryAttributes (GetEntryAttributesRequest) returns (GetEntryAttributesResponse) {
}
rpc CreateEntry (CreateEntryRequest) returns (CreateEntryResponse) {
}
@@ -94,26 +91,6 @@ message FuseAttributes {
int32 ttl_sec = 10;
}
message GetEntryAttributesRequest {
string name = 1;
string parent_dir = 2;
string file_id = 3;
}
message GetEntryAttributesResponse {
FuseAttributes attributes = 1;
repeated FileChunk chunks = 2;
map<string, bytes> extended = 3;
}
message GetFileContentRequest {
string file_id = 1;
}
message GetFileContentResponse {
bytes content = 1;
}
message CreateEntryRequest {
string directory = 1;
Entry entry = 2;