Safe Haskell | None |
---|
Functions to acquire a database from http://linux-usb.org.
Parsing
parseDb :: String -> Maybe IDDBSource
Construct a database from a string in the format used by http://linux-usb.org.
Acquiring a database
Load a database from a snapshot of the linux-usb.org database which is supplied with the package.
fromFile :: FilePath -> IO (Maybe IDDB)Source
Load a database from file. If the file can not be read for some reason an error will be thrown.
The source of the database. Download this file for the most up-to-date version.