You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Examples: https://github.com/tern-tools/tern/tree/main/docs/examples
JSON is default and has most information Image -> [ImageLayer] -> [Package]
Image is a root. It can have multiple layers if things like OverlayFS are used (which we might be able to ignore...). The layer then contains packages and files. Packages also contain files.
A file has its full path and attached information.
In the example only the packages have license information but no files while all files have no information.
-> Need real-world example
Should be straight-forward. Just iterate all files (those directly in a Layer and those that are contained in the packages of the layers). See JS code for a possible mapping.
Maybe need a decision for handling the layers. If a file where to appear twice, then we could just merge the information.
No description provided.
The text was updated successfully, but these errors were encountered: