Documentation ¶
Index ¶
- type RepeatFileScanner
- func (s *RepeatFileScanner) Debug(debug bool) *RepeatFileScanner
- func (s *RepeatFileScanner) Delete(doDelete bool) *RepeatFileScanner
- func (s *RepeatFileScanner) DeleteOld(deleteOld bool) *RepeatFileScanner
- func (s *RepeatFileScanner) DeleteRepeat()
- func (s *RepeatFileScanner) Logfile(logfile string) *RepeatFileScanner
- func (s *RepeatFileScanner) OutputJSON(outputJSON bool) *RepeatFileScanner
- func (s *RepeatFileScanner) RepeatResult() (result []RepeatResultItem)
- func (s *RepeatFileScanner) Scan() *RepeatFileScanner
- func (s *RepeatFileScanner) WorkersCount(workersCount int) *RepeatFileScanner
- type RepeatResultItem
- type ResultItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepeatFileScanner ¶
type RepeatFileScanner struct {
// contains filtered or unexported fields
}
func NewRepeatFileScanner ¶
func NewRepeatFileScanner(dir string) *RepeatFileScanner
func (*RepeatFileScanner) Debug ¶
func (s *RepeatFileScanner) Debug(debug bool) *RepeatFileScanner
func (*RepeatFileScanner) Delete ¶
func (s *RepeatFileScanner) Delete(doDelete bool) *RepeatFileScanner
func (*RepeatFileScanner) DeleteOld ¶ added in v0.0.44
func (s *RepeatFileScanner) DeleteOld(deleteOld bool) *RepeatFileScanner
func (*RepeatFileScanner) DeleteRepeat ¶
func (s *RepeatFileScanner) DeleteRepeat()
func (*RepeatFileScanner) Logfile ¶
func (s *RepeatFileScanner) Logfile(logfile string) *RepeatFileScanner
func (*RepeatFileScanner) OutputJSON ¶ added in v0.0.44
func (s *RepeatFileScanner) OutputJSON(outputJSON bool) *RepeatFileScanner
func (*RepeatFileScanner) RepeatResult ¶
func (s *RepeatFileScanner) RepeatResult() (result []RepeatResultItem)
func (*RepeatFileScanner) Scan ¶
func (s *RepeatFileScanner) Scan() *RepeatFileScanner
func (*RepeatFileScanner) WorkersCount ¶
func (s *RepeatFileScanner) WorkersCount(workersCount int) *RepeatFileScanner
type RepeatResultItem ¶
type RepeatResultItem struct { MD5 string `json:"md5"` FileItem ResultItem `json:"raw_file"` RepeatFiles []ResultItem `json:"repeat_files"` }
Click to show internal directories.
Click to hide internal directories.