types/stat.proto
raw| 1 | syntax = "proto3"; |
| 2 | |
| 3 | package fsutil.types; |
| 4 | |
| 5 | option go_package = "github.com/tonistiigi/fsutil/types"; |
| 6 | |
| 7 | import "github.com/planetscale/vtprotobuf/vtproto/ext.proto"; |
| 8 | |
| 9 | message Stat { |
| 10 | string path = 1; |
| 11 | uint32 mode = 2; |
| 12 | uint32 uid = 3; |
| 13 | uint32 gid = 4; |
| 14 | int64 size = 5; |
| 15 | int64 modTime = 6; |
| 16 | // int32 typeflag = 7; |
| 17 | string linkname = 7; |
| 18 | int64 devmajor = 8; |
| 19 | int64 devminor = 9; |
| 20 | map<string, bytes> xattrs = 10; |
| 21 | } |