licence_audit
Types
pub type Clients {
Clients(
fetcher: fn(String) -> Result(hex.PackageMetadata, hex.Error),
osv_batch_fetcher: fn(List(String)) -> Result(
List(osv.BatchEntry),
osv.Error,
),
osv_detail_fetcher: fn(String) -> Result(
osv.Vulnerability,
osv.Error,
),
notice_clients: notice.Clients,
)
}
Constructors
-
Clients( fetcher: fn(String) -> Result(hex.PackageMetadata, hex.Error), osv_batch_fetcher: fn(List(String)) -> Result( List(osv.BatchEntry), osv.Error, ), osv_detail_fetcher: fn(String) -> Result( osv.Vulnerability, osv.Error, ), notice_clients: notice.Clients, )
Values
pub fn default_clients() -> Clients
pub fn run_configured(
args: List(String),
clients: Clients,
reporter: progress.Reporter,
) -> #(RunResult, List(progress.Event))