swh.scanner.scanner module#
- async swh.scanner.scanner.run(config: Dict[str, Any], policy, source_tree: Directory, nodes_data: MerkleNodeInfo, extra_info: set) None [source]#
Scan a given source code according to the policy given in input.
- swh.scanner.scanner.get_policy_obj(source_tree: Directory, nodes_data: MerkleNodeInfo, policy: str)[source]#