Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
func RandomStringWithCharset ¶
Types ¶
type PathsGenerator ¶
type PathsGenerator struct { WatchEntireFilesystem bool OutOfScope bool Depth int Breadth int NumOfFiles int NamesLength int Root string // contains filtered or unexported fields }
PathsGenerator - Paths generator used for the benchmark
func (*PathsGenerator) Close ¶
func (pg *PathsGenerator) Close() error
Close - Delete all generated files and folders
func (*PathsGenerator) CreateFiles ¶
func (pg *PathsGenerator) CreateFiles() error
func (*PathsGenerator) CreateFolders ¶
func (pg *PathsGenerator) CreateFolders() error
func (*PathsGenerator) GetRandomFile ¶
func (pg *PathsGenerator) GetRandomFile() string
func (*PathsGenerator) GetWatchedPaths ¶
func (pg *PathsGenerator) GetWatchedPaths() []string
func (*PathsGenerator) Init ¶
func (pg *PathsGenerator) Init() error
Click to show internal directories.
Click to hide internal directories.