Definition at line 918 of file yaml_decoders.cc.
◆ decode()
static bool YAML::convert< glob_t >::decode |
( |
const Node & |
node, |
|
|
glob_t & |
rhs |
|
) |
| |
|
inlinestatic |
Definition at line 919 of file yaml_decoders.cc.
920 {
921 if (node.Type() == NodeType::Sequence) {
922 rhs.include = node.as<std::vector<string_or_regex>>();
923 return true;
924 }
925
926 if (node.Type() == NodeType::Map) {
928 rhs.include =
929 node["include"].as<std::vector<string_or_regex>>();
931 rhs.exclude =
932 node["exclude"].as<std::vector<string_or_regex>>();
933 return true;
934 }
935
936 return false;
937 }
The documentation for this struct was generated from the following file: