Depscheck.Types (Depscheck v1.0.12)

View Source

Type definitions for Depscheck.

Summary

Types

check_result()

@type check_result() :: %{
  status: :pass | :fail,
  project_license: String.t() | nil,
  dependencies: [dependency()],
  violations: [String.t()],
  warnings: [String.t()]
}

config()

@type config() :: %{ignored_packages: [String.t()], project_license: String.t() | nil}

dependency()

@type dependency() :: %{name: String.t(), licenses: [String.t()]}

license_category()

@type license_category() ::
  :permissive | :weak_copyleft | :strong_copyleft | :proprietary | :unknown