Documentation ¶
Index ¶
- type Diff
- func (*Diff) Descriptor() ([]byte, []int)
- func (m *Diff) GetEncoding() string
- func (m *Diff) GetFile() string
- func (m *Diff) GetNewMd5() string
- func (m *Diff) GetNewSize() int64
- func (m *Diff) GetOldMd5() string
- func (m *Diff) GetOldSize() int64
- func (m *Diff) GetOp() string
- func (m *Diff) GetPerm() string
- func (m *Diff) GetType() string
- func (*Diff) ProtoMessage()
- func (m *Diff) Reset()
- func (m *Diff) String() string
- func (this *Diff) Validate() error
- func (m *Diff) XXX_DiscardUnknown()
- func (m *Diff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Diff) XXX_Merge(src proto.Message)
- func (m *Diff) XXX_Size() int
- func (m *Diff) XXX_Unmarshal(b []byte) error
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)
- func (m *FileInfo) GetCtime() string
- func (m *FileInfo) GetEncoding() string
- func (m *FileInfo) GetLink() string
- func (m *FileInfo) GetMd5() string
- func (m *FileInfo) GetMtime() string
- func (m *FileInfo) GetName() string
- func (m *FileInfo) GetPerm() string
- func (m *FileInfo) GetSize_() int64
- func (m *FileInfo) GetType() string
- func (*FileInfo) ProtoMessage()
- func (m *FileInfo) Reset()
- func (m *FileInfo) String() string
- func (this *FileInfo) Validate() error
- func (m *FileInfo) XXX_DiscardUnknown()
- func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileInfo) XXX_Merge(src proto.Message)
- func (m *FileInfo) XXX_Size() int
- func (m *FileInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diff ¶
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 (*Diff) Descriptor ¶
func (*Diff) GetEncoding ¶
func (*Diff) GetNewSize ¶
func (*Diff) GetOldSize ¶
func (*Diff) ProtoMessage ¶
func (*Diff) ProtoMessage()
func (*Diff) XXX_DiscardUnknown ¶
func (m *Diff) XXX_DiscardUnknown()
func (*Diff) XXX_Unmarshal ¶
type FileInfo ¶
type FileInfo struct { // //文件名 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //文件类型 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //文件大小 Size_ int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size" form:"size"` // //文件权限 Perm string `protobuf:"bytes,4,opt,name=perm,proto3" json:"perm" form:"perm"` // //文件修改时间 Mtime string `protobuf:"bytes,5,opt,name=mtime,proto3" json:"mtime" form:"mtime"` // //文件创建时间 Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //如果type=link,link为链接地址 Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link" form:"link"` // //参数path的编码格式 Encoding string `protobuf:"bytes,8,opt,name=encoding,proto3" json:"encoding" form:"encoding"` // //文件hash Md5 string `protobuf:"bytes,9,opt,name=md5,proto3" json:"md5" form:"md5"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
归档文件信息
func (*FileInfo) Descriptor ¶
func (*FileInfo) GetEncoding ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) XXX_DiscardUnknown ¶
func (m *FileInfo) XXX_DiscardUnknown()
func (*FileInfo) XXX_Marshal ¶
func (*FileInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.