Documentation
¶
Index ¶
- type DirType
- type Directory
- func (d Directory) Describe(indent string) string
- func (d Directory) Generate(lsys linking.LinkSystem, rndReader io.Reader) (unixfstestutil.DirEntry, error)
- func (d Directory) GetMultiplier() int
- func (d Directory) GetName() string
- func (d Directory) IsRandomMultiplier() bool
- func (d Directory) String() string
- type Entity
- type ErrParse
- type File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct { Type DirType ShardBitwidth int Name string Multiplier int RandomMultiplier bool Children []Entity }
func (Directory) Generate ¶
func (d Directory) Generate(lsys linking.LinkSystem, rndReader io.Reader) (unixfstestutil.DirEntry, error)
func (Directory) GetMultiplier ¶
func (Directory) IsRandomMultiplier ¶
type Entity ¶
type File ¶
type File struct { Name string Size uint64 RandomSize bool ZeroContent bool Multiplier int RandomMultiplier bool }
func (File) Generate ¶
func (f File) Generate(lsys linking.LinkSystem, rndReader io.Reader) (unixfstestutil.DirEntry, error)
Generate _one_ of the files described by this descriptor. If there are multiple files described by this descriptor, call this function multiple times.
func (File) GetMultiplier ¶
func (File) IsRandomMultiplier ¶
Click to show internal directories.
Click to hide internal directories.