Copyright | (c) 2017 Red Hat Inc. |
---|---|
License | LGPL |
Maintainer | https://github.com/weldr |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Functions for importing NPM packages into the database
- loadFromURI :: URI -> ReaderT ImportState IO ()
Documentation
loadFromURI :: URI -> ReaderT ImportState IO () Source #
Fetch an NPM from a given URI
and load it into the MDDB. This function must be
run within the ReaderT
monad, which should be given an ImportState
record. This
is how importing knows where to store the results. Errors will be printed to the
screen.