cache

package
v0.2.1-0...-8f33b48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_finfo_proto protoreflect.FileDescriptor

Functions

func Snapshot

func Snapshot(list rsync.FileList, module string, prepath string)

Test

Types

type FInfo

type FInfo struct {
	Size  int64 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"`
	Mtime int32 `protobuf:"varint,2,opt,name=Mtime,proto3" json:"Mtime,omitempty"`
	Mode  int32 `protobuf:"varint,3,opt,name=Mode,proto3" json:"Mode,omitempty"` // hash 16bytes
	// contains filtered or unexported fields
}

func (*FInfo) Descriptor deprecated

func (*FInfo) Descriptor() ([]byte, []int)

Deprecated: Use FInfo.ProtoReflect.Descriptor instead.

func (*FInfo) GetMode

func (x *FInfo) GetMode() int32

func (*FInfo) GetMtime

func (x *FInfo) GetMtime() int32

func (*FInfo) GetSize

func (x *FInfo) GetSize() int64

func (*FInfo) ProtoMessage

func (*FInfo) ProtoMessage()

func (*FInfo) ProtoReflect

func (x *FInfo) ProtoReflect() protoreflect.Message

func (*FInfo) Reset

func (x *FInfo) Reset()

func (*FInfo) String

func (x *FInfo) String() string

type TbFInfo

type TbFInfo struct {
	Size  int64  `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"`
	Mtime int32  `protobuf:"varint,2,opt,name=Mtime,proto3" json:"Mtime,omitempty"`
	Mode  int32  `protobuf:"varint,3,opt,name=Mode,proto3" json:"Mode,omitempty"`
	ObjId []byte `protobuf:"bytes,4,opt,name=ObjId,proto3" json:"ObjId,omitempty"`
	// contains filtered or unexported fields
}

func (*TbFInfo) Descriptor deprecated

func (*TbFInfo) Descriptor() ([]byte, []int)

Deprecated: Use TbFInfo.ProtoReflect.Descriptor instead.

func (*TbFInfo) GetMode

func (x *TbFInfo) GetMode() int32

func (*TbFInfo) GetMtime

func (x *TbFInfo) GetMtime() int32

func (*TbFInfo) GetObjId

func (x *TbFInfo) GetObjId() []byte

func (*TbFInfo) GetSize

func (x *TbFInfo) GetSize() int64

func (*TbFInfo) ProtoMessage

func (*TbFInfo) ProtoMessage()

func (*TbFInfo) ProtoReflect

func (x *TbFInfo) ProtoReflect() protoreflect.Message

func (*TbFInfo) Reset

func (x *TbFInfo) Reset()

func (*TbFInfo) String

func (x *TbFInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL