cache

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 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

Jump to

Keyboard shortcuts

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