#include <ArchiveInspector.hpp>
Public Member Functions | |
| ArchiveInspector (std::string worker_path, int sandbox_timeout_seconds=10) | |
| ArchiveInspectionResult | inspect (const std::string &input_path) const |
Static Public Member Functions | |
| static bool | looks_like_zip_path (const std::string &path) |
Private Attributes | |
| std::string | worker_path_ |
| int | timeout_seconds_ = 10 |
Definition at line 26 of file ArchiveInspector.hpp.
|
explicit |
Definition at line 27 of file ArchiveInspector.cpp.
References timeout_seconds_, and worker_path_.
| ArchiveInspectionResult ArchiveInspector::inspect | ( | const std::string & | input_path | ) | const |
Definition at line 43 of file ArchiveInspector.cpp.
References analyze_archive_in_sandbox(), timeout_seconds_, and worker_path_.
Referenced by InotifyEngine::maybe_inspect_archive().
|
static |
Definition at line 31 of file ArchiveInspector.cpp.
|
private |
Definition at line 36 of file ArchiveInspector.hpp.
Referenced by ArchiveInspector(), and inspect().
|
private |
Definition at line 35 of file ArchiveInspector.hpp.
Referenced by ArchiveInspector(), and inspect().