usb-id-database-0.3.0.1: A database of USB identifiersSource codeContentsIndex
System.USB.IDDB.LinuxUsbIdRepo
Synopsis
parseDb :: String -> Maybe IDDB
staticDb :: IO IDDB
fromFile :: FilePath -> IO (Maybe IDDB)
fromWeb :: IO (Maybe IDDB)
Documentation
parseDb :: String -> Maybe IDDBSource
Construct a database from a string in the format used by http://linux-usb.org.
staticDb :: IO IDDBSource
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 vendor database from file. If the file can not be read for some reason an error will be thrown.
fromWeb :: IO (Maybe IDDB)Source
Construct a database from the data available at http://linux-usb.org/usb.ids.
Produced by Haddock version 2.4.2