Skip to content

please add path scanned to JSON #747

@armijnhemel

Description

@armijnhemel

When I am scanning a directory it would be very useful if the scanned path would be available in the JSON. For example if I would do this:

./scancode --full-root -f json-pp -n 4 ~/tmp/linux-4.10.1/ > /tmp/scancode.json

I would like to have the scanned path (expanded) available in the JSON in "scancode_options", as I would want to be able to easily cut this path from all of the file names in the JSON (so I have relative paths). The standard option (when not using --full-root) is too aggressive pruning paths.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions