# Functions
FileByAttr returns the first file found with the requested attributes.
FileById returns the file with the requested file id.
FileByName returns the latest (File.ModTime) file found with the requested name.
InitDemo creates the following test files:
+ over 1000 small test files Name: small-test-file-%d.dat Data: text == filename + 150 MB big test file (150*1024*1024 + 1 byte) Name: big-test-file-150.dat Data: random bytes MD5: 4DB84342E76FC08B993C528E2C2CDC6A + ..
NewCache return the default implementation of interf.Cache.
NewFile return the default implementation of interf.File.
NewFiles return the default implementation of interf.Files.
NewMultiReader combine two or more ReaderAt and behave like a normal ReaderAT for a single file.
NewRamReaderAt return a ReaderAt implementation that provides data from the ram ([]byte).
NewRamService return the RAM implementation of interf.Service.
NewReaderAt creates a new interf.ReaderAt object for random read access to the file.
NewSubReaderAt creates a new interf.ReaderAt object for random read access to the file.
NewZeroReaderAt is a dummy ReaderAt with no data.