Skip to main content

File

File

Provides package curation data from all given paths.

Description​

A PackageCurationProvider that loads PackageCurations from all given curation paths. A path can either be a file or a directory. In the latter case, the directory is searched recursively for curation files. In any case, all FileFormats are supported, and each file is expected to contain a list of curations.

Configuration​

Example​

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
packageCurationProviders:
File:
options:
path: <OPTIONAL_STRING>
mustExist: false

Options​

path​

STRING Required

The path of the package curation file or directory.

mustExist​

BOOLEAN Default

A flag to denote whether the path is required to exist.