Driver is a storagedriver.StorageDriver implementation backed by a local filesystem. All provided paths will be subpaths of the RootDirectory.
type Driver struct {
// contains filtered or unexported fields
}
func FromParameters(parameters map[string]interface{}) (*Driver, error)
FromParameters constructs a new Driver with a given parameters map Optional Parameters: - rootdirectory - maxthreads
func New(params DriverParameters) *Driver
New constructs a new Driver with a given rootDirectory
DriverParameters represents all configuration options available for the filesystem driver
type DriverParameters struct { RootDirectory string MaxThreads uint64 }