/
diff.pb.go
185 lines (166 loc) · 6.33 KB
/
diff.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: diff.proto
package file_repository
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//变更信息
type Diff struct {
//
//操作类型
Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op" form:"op"`
//
//文件路径
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file" form:"file"`
//
//文件类型
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type" form:"type"`
//
//文件权限
Perm string `protobuf:"bytes,4,opt,name=perm,proto3" json:"perm" form:"perm"`
//
//新的检验值
NewMd5 string `protobuf:"bytes,5,opt,name=newMd5,proto3" json:"newMd5" form:"newMd5"`
//
//旧的检验值
OldMd5 string `protobuf:"bytes,6,opt,name=oldMd5,proto3" json:"oldMd5" form:"oldMd5"`
//
//文件原本大小
OldSize int64 `protobuf:"varint,7,opt,name=oldSize,proto3" json:"oldSize" form:"oldSize"`
//
//文件新的大小
NewSize int64 `protobuf:"varint,8,opt,name=newSize,proto3" json:"newSize" form:"newSize"`
//
//参数path的编码格式
Encoding string `protobuf:"bytes,9,opt,name=encoding,proto3" json:"encoding" form:"encoding"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Diff) Reset() { *m = Diff{} }
func (m *Diff) String() string { return proto.CompactTextString(m) }
func (*Diff) ProtoMessage() {}
func (*Diff) Descriptor() ([]byte, []int) {
return fileDescriptor_686521effc814b25, []int{0}
}
func (m *Diff) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Diff.Unmarshal(m, b)
}
func (m *Diff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Diff.Marshal(b, m, deterministic)
}
func (m *Diff) XXX_Merge(src proto.Message) {
xxx_messageInfo_Diff.Merge(m, src)
}
func (m *Diff) XXX_Size() int {
return xxx_messageInfo_Diff.Size(m)
}
func (m *Diff) XXX_DiscardUnknown() {
xxx_messageInfo_Diff.DiscardUnknown(m)
}
var xxx_messageInfo_Diff proto.InternalMessageInfo
func (m *Diff) GetOp() string {
if m != nil {
return m.Op
}
return ""
}
func (m *Diff) GetFile() string {
if m != nil {
return m.File
}
return ""
}
func (m *Diff) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Diff) GetPerm() string {
if m != nil {
return m.Perm
}
return ""
}
func (m *Diff) GetNewMd5() string {
if m != nil {
return m.NewMd5
}
return ""
}
func (m *Diff) GetOldMd5() string {
if m != nil {
return m.OldMd5
}
return ""
}
func (m *Diff) GetOldSize() int64 {
if m != nil {
return m.OldSize
}
return 0
}
func (m *Diff) GetNewSize() int64 {
if m != nil {
return m.NewSize
}
return 0
}
func (m *Diff) GetEncoding() string {
if m != nil {
return m.Encoding
}
return ""
}
func init() {
proto.RegisterType((*Diff)(nil), "file_repository.Diff")
}
func init() { proto.RegisterFile("diff.proto", fileDescriptor_686521effc814b25) }
var fileDescriptor_686521effc814b25 = []byte{
// 469 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xc1, 0x6e, 0xd3, 0x4c,
0x14, 0x85, 0x95, 0xd4, 0x7f, 0xda, 0xcc, 0x4f, 0x1b, 0xe1, 0x6e, 0xac, 0x4a, 0xc8, 0x65, 0xe8,
0xc2, 0x69, 0x99, 0x4c, 0x44, 0x54, 0x10, 0x11, 0x02, 0x1a, 0x21, 0x50, 0x85, 0xd8, 0x98, 0x5d,
0x3d, 0x31, 0x72, 0xec, 0xb1, 0xb1, 0xb0, 0x7d, 0x2d, 0xdb, 0x25, 0x4a, 0x9b, 0xee, 0x78, 0x4e,
0x23, 0xf1, 0x08, 0x7e, 0x02, 0x34, 0x33, 0x49, 0x8a, 0x82, 0xd8, 0xcd, 0x9c, 0xf3, 0x9d, 0x73,
0xef, 0xe2, 0x22, 0x14, 0xc4, 0x61, 0x38, 0xc8, 0x0b, 0xa8, 0x40, 0xef, 0x85, 0x71, 0xc2, 0xbf,
0x14, 0x3c, 0x87, 0x32, 0xae, 0xa0, 0x58, 0x1c, 0x91, 0x28, 0xae, 0xbe, 0x5e, 0xcf, 0x06, 0x3e,
0xa4, 0x34, 0x82, 0x08, 0xa8, 0xe4, 0x66, 0xd7, 0xa1, 0xfc, 0xc9, 0x8f, 0x7c, 0xa9, 0xfc, 0xd1,
0xf3, 0x3f, 0xf0, 0x74, 0x1e, 0x57, 0xdf, 0x60, 0x4e, 0x23, 0x20, 0xd2, 0x24, 0xdf, 0xbd, 0x24,
0x0e, 0xbc, 0x0a, 0x8a, 0x92, 0x6e, 0x9e, 0x2a, 0x87, 0x7f, 0x68, 0x48, 0x7b, 0x17, 0x87, 0xa1,
0xfe, 0x08, 0xb5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