aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/filer.proto
diff options
context:
space:
mode:
Diffstat (limited to 'weed/pb/filer.proto')
-rw-r--r--weed/pb/filer.proto9
1 files changed, 7 insertions, 2 deletions
diff --git a/weed/pb/filer.proto b/weed/pb/filer.proto
index a19aa7dbc..124eabcd2 100644
--- a/weed/pb/filer.proto
+++ b/weed/pb/filer.proto
@@ -2,6 +2,9 @@ syntax = "proto3";
package filer_pb;
+option java_package = "seaweedfs.client";
+option java_outer_classname = "FilerProto";
+
//////////////////////////////////////////////////
service SeaweedFiler {
@@ -83,15 +86,17 @@ message FileChunk {
message FuseAttributes {
uint64 file_size = 1;
- int64 mtime = 2;
+ int64 mtime = 2; // unix time in seconds
uint32 file_mode = 3;
uint32 uid = 4;
uint32 gid = 5;
- int64 crtime = 6;
+ int64 crtime = 6; // unix time in seconds
string mime = 7;
string replication = 8;
string collection = 9;
int32 ttl_sec = 10;
+ string user_name = 11; // for hdfs
+ repeated string group_name = 12; // for hdfs
}
message CreateEntryRequest {