Documentation ¶
Overview ¶
Package filerandom provides utilities to get random files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { // FSIndex is the index of the filesystem where the file is located. FSIndex int // Path is the path of the file in the filesystem. Path string }
File represents a file.
type Option ¶
type Option func(*options)
Option represents an option.
func WithErrorHandler ¶
WithErrorHandler is an Option that defines the error handler.
If it is defined, the error handler is called for each error, otherwise the error is returned.
func WithMinSize ¶
WithMinSize is an Option that defines the minimum file size to consider.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
file-random
Package file-duplicate provides a command line tool to find duplicate files.
|
Package file-duplicate provides a command line tool to find duplicate files. |
Click to show internal directories.
Click to hide internal directories.