ecluse
Safe HaskellNone
LanguageGHC2021

Ecluse.Pilot.Osv.Compile

Synopsis

Documentation

compileOsvToSqlite :: (MonadResource m, MonadMask m, MonadUnliftIO m, KatipContext m) => Telemetry -> FilePath -> Text -> String -> m FilePath Source #

Compile an ecosystem's OSV advisory export into the SQLite artifact and return its path. The artifact's name, epoch stamp, and meta table follow the contract in Ecluse.Core.Osv.Schema.