FOSSology  4.4.0
Open Source License Compliance by Open Source Software
directoryScan.cc File Reference

Utilities to scan directories. More...

#include "directoryScan.hpp"
Include dependency graph for directoryScan.cc:

Go to the source code of this file.

Functions

void scanDirectory (const bool json, const string &directoryPath)
 

Detailed Description

Utilities to scan directories.

Definition in file directoryScan.cc.

Function Documentation

◆ scanDirectory()

void scanDirectory ( const bool  json,
const string &  directoryPath 
)

Scan a given directory with OJO and print as JSON or to STDOUT based on json parameter.

Parameters
jsonSet true to print results as JSON, false to print as plain text
directoryPathDirectory to be scanned.

Definition at line 23 of file directoryScan.cc.