Documentation
¶
Overview ¶
Package licenses provides functionality for updating licenses metadata in a graph. It fetches licenses from a remote source and updates them in the graph.
Package licenses provides functionality for updating licenses metadata in a graph. It fetches licenses from a remote source and updates them in the graph.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Update ¶
Update updates the licenses metadata in the provided graph. It fetches the licenses from a remote source and updates them in the graph. Returns an error if there is a problem when fetching or updating licenses.
func UseUpstream ¶
func UseUpstream(url string) (restore func())
UseUpstream points the mirror at another SPDX license list URL and returns a function that undoes it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.