Documentation ¶
Index ¶
- func MakeRegularInode(stat *wsyscall.Stat_t) *filesystem.RegularInode
- func MakeSpecialInode(stat *wsyscall.Stat_t) *filesystem.SpecialInode
- func MakeSymlinkInode(stat *wsyscall.Stat_t) *filesystem.SymlinkInode
- func NewCpuLimitedHasher(cpuLimiter *cpulimiter.CpuLimiter, hasher Hasher) cpuLimitedHasher
- type FileSystem
- type Hasher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRegularInode ¶
func MakeRegularInode(stat *wsyscall.Stat_t) *filesystem.RegularInode
func MakeSpecialInode ¶
func MakeSpecialInode(stat *wsyscall.Stat_t) *filesystem.SpecialInode
func MakeSymlinkInode ¶
func MakeSymlinkInode(stat *wsyscall.Stat_t) *filesystem.SymlinkInode
func NewCpuLimitedHasher ¶
func NewCpuLimitedHasher(cpuLimiter *cpulimiter.CpuLimiter, hasher Hasher) cpuLimitedHasher
Types ¶
type FileSystem ¶
type FileSystem struct { filesystem.FileSystem // contains filtered or unexported fields }
func ScanFileSystem ¶
func ScanFileSystem(rootDirectoryName string, fsScanContext *fsrateio.ReaderContext, scanFilter *filter.Filter, checkScanDisableRequest func() bool, hasher Hasher, oldFS *FileSystem) ( *FileSystem, error)
func (*FileSystem) GetObject ¶
func (fs *FileSystem) GetObject(hashVal hash.Hash) ( uint64, io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.