(481827547f3ba06ecf5d02b85f5f99de2d08b717)
#include "scanner.h"
#include "logging.h"
#include <QtCore/qdir.h>
#include <QtCore/qhash.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsondocument.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qtextstream.h>
#include <QtCore/qvariant.h>
#include <iostream>
Go to the source code of this file.
|
static void | Scanner::missingPropertyWarning (const QString &filePath, const QString &property) |
|
static bool | Scanner::validatePackage (Package &p, const QString &filePath, Checks checks, LogLevel logLevel) |
|
static std::optional< QStringList > | Scanner::toStringList (const QJsonValue &value) |
|
static std::optional< QString > | Scanner::arrayToMultiLineString (const QJsonValue &value) |
|
static QStringList | Scanner::extractLicenseIdsFromSPDXExpression (QString expression) |
|
static QString | Scanner::locateLicensesDir (const QString &packageDir) |
|
static bool | Scanner::autoDetectLicenseFiles (Package &p) |
|
static bool | Scanner::handleStringOrStringArrayJsonKey (QStringList &outList, const QString &key, QJsonValueConstRef jsonValue, const QString &filePath, LogLevel logLevel) |
|
static std::optional< Package > | Scanner::readPackage (const QJsonObject &object, const QString &filePath, Checks checks, LogLevel logLevel) |
|
static Package | Scanner::parseChromiumFile (QFile &file, const QString &filePath, LogLevel logLevel) |
|
static CursorPosition | Scanner::mapFromOffset (const QByteArray &content, int offset) |
|
std::optional< QList< Package > > | Scanner::readFile (const QString &filePath, Checks checks, LogLevel logLevel) |
|
std::optional< QList< Package > > | Scanner::scanDirectory (const QString &directory, InputFormats inputFormats, Checks checks, LogLevel logLevel) |
|