blob: cd440820c49efaecba9b605976e819ac490ad5ec [file] [log] [blame]
James Feist3cb5fec2018-01-23 14:41:51 -08001/*
2// Copyright (c) 2017 Intel Corporation
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15*/
16
17#pragma once
18#include <experimental/filesystem>
James Feistb4383f42018-08-06 16:54:10 -070019#include <nlohmann/json.hpp>
James Feist3cb5fec2018-01-23 14:41:51 -080020
James Feista3c180a2018-08-09 16:06:04 -070021bool findFiles(const std::experimental::filesystem::path &dirPath,
22 const std::string &matchString,
23 std::vector<std::experimental::filesystem::path> &foundPaths);
James Feistb4383f42018-08-06 16:54:10 -070024
25bool validateJson(const nlohmann::json &schemaFile,
26 const nlohmann::json &input);