base/utils/packages.zeek
Rudimentary functions for helping with Zeek packages.
Summary
Functions
Checks whether @load of a given package name could be successful. |
Detailed Interface
Functions
- can_load
-
Checks whether @load of a given package name could be successful.
This tests for the existence of corresponding script files in ZEEKPATH. It does not attempt to parse and validate any actual Zeek script code.
- Parameters
path – The filename, package or path to test.
- Returns
T if the given filename, package or path may load.