commit | 619e654eb36d28e0fa0b9d59b636274a1c6945e0 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Mon Jun 29 14:13:43 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Mon Jun 29 15:05:28 2020 +0200 |
tree | 584c886122e24b1af85d008c3b3a00ee28104932 | |
parent | 548cb1922a2582b5fe6bfed75a932a59747e6e7b [diff] [blame] |
yang-cli: Allow loading module by name Linking with filesystem is back! Change-Id: I355f0991848df1dd72aceff5a57559ddc20a6082
diff --git a/src/yang_access.cpp b/src/yang_access.cpp index 8eccef4..d5c0ade 100644 --- a/src/yang_access.cpp +++ b/src/yang_access.cpp
@@ -279,6 +279,11 @@ return ""; } +void YangAccess::loadModule(const std::string& name) +{ + m_schema->loadModule(name); +} + void YangAccess::addSchemaFile(const std::string& path) { m_schema->addSchemaFile(path.c_str());