mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Move a few of the zeek::util methods and variables to zeek::util::detail
This commit is contained in:
parent
5a2ac84eee
commit
ddf48d7529
35 changed files with 1221 additions and 1226 deletions
|
@ -58,12 +58,12 @@ static string NormalizeScriptPath(const string& path)
|
|||
{
|
||||
if ( auto p = zeek::plugin_mgr->LookupPluginByPath(path) )
|
||||
{
|
||||
auto rval = zeek::util::normalize_path(path);
|
||||
auto rval = zeek::util::detail::normalize_path(path);
|
||||
auto prefix = zeek::util::SafeBasename(p->PluginDirectory()).result;
|
||||
return prefix + "/" + rval.substr(p->PluginDirectory().size() + 1);
|
||||
}
|
||||
|
||||
return zeek::util::without_zeekpath_component(path);
|
||||
return zeek::util::detail::without_zeekpath_component(path);
|
||||
}
|
||||
|
||||
Manager::Manager(const string& arg_config, const string& bro_command)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue