Documentation
¶
Index ¶
Constants ¶
View Source
const ( SnapScanTypeOnlyFile int = 1 SnapScanTypeOnlyDirAndDepth int = 2 )
View Source
const (
ModuleName = "lcNode"
)
Default of configuration value
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaWrapper ¶
type MetaWrapper interface { ReadDirLimitForSnapShotClean(parentID uint64, from string, limit uint64, verSeq uint64, isDir bool) ([]proto.Dentry, error) Delete_Ver_ll(parentID uint64, name string, isDir bool, verSeq uint64, fullPath string) (*proto.InodeInfo, error) Lookup_ll(parentID uint64, name string) (inode uint64, mode uint32, err error) BatchInodeGet(inodes []uint64) []*proto.InodeInfo DeleteWithCond_ll(parentID, cond uint64, name string, isDir bool, fullPath string) (inode *proto.InodeInfo, err error) Evict(inode uint64, fullPath string) error ReadDirLimit_ll(parentID uint64, from string, limit uint64) ([]proto.Dentry, error) Close() error }
type SnapshotScanner ¶
func NewSnapshotScanner ¶
func NewSnapshotScanner(adminTask *proto.AdminTask, l *LcNode) (*SnapshotScanner, error)
func (*SnapshotScanner) DoneScanning ¶
func (s *SnapshotScanner) DoneScanning() bool
func (*SnapshotScanner) Start ¶
func (s *SnapshotScanner) Start()
func (*SnapshotScanner) Stop ¶
func (s *SnapshotScanner) Stop()
Click to show internal directories.
Click to hide internal directories.