usb-id-database- A database of USB identifiersSource codeContentsIndex
parseDb :: String -> Maybe IDDB
staticDb :: IO IDDB
fromFile :: FilePath -> IO (Maybe IDDB)
fromWeb :: IO (Maybe IDDB)
parseDb :: String -> Maybe IDDBSource
Construct a database from a string in the format used by
staticDb :: IO IDDBSource
Load a database from a snapshot of the 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 list of companies available at The website informs us that: "Remember this list changes almost daily, be sure to get a fresh copy when you use the tools". However, the list seems to be quite stable. Using this function more than once a day is probably overkill.
Produced by Haddock version 2.4.2