FOSSology  4.7.0-rc1
Open Source License Compliance by Open Source Software
CleanupResult Struct Reference

Outcome of the Cleanup() function. More...

#include <copyscan.hpp>

Collaboration diagram for CleanupResult:
Collaboration graph

Public Types

enum class  Disposition { KEEP , DEACTIVATE , DISCARD }
 

Public Attributes

std::string content
 Cleaned text; empty when the copyright was removed.
 
enum CleanupResult::Disposition disposition
 

Detailed Description

Outcome of the Cleanup() function.

Definition at line 20 of file copyscan.hpp.

Member Enumeration Documentation

◆ Disposition

Disposition when content is empty:

  • KEEP: content is valid, store as an active finding
  • DEACTIVATE: removed by an uncertain rule that may occasionally misfire; store the raw text as a deactivated finding so reviewers can inspect it in the UI
  • DISCARD: definitively not a copyright (binary noise, template syntax, package-metadata fields, etc.); ignore silently

Definition at line 31 of file copyscan.hpp.


The documentation for this struct was generated from the following file: