Flutter Engine
 
Loading...
Searching...
No Matches
data.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_TOOLS_LICENSES_CPP_SRC_DATA_H_
6#define FLUTTER_TOOLS_LICENSES_CPP_SRC_DATA_H_
7
8#include <filesystem>
9
12#include "third_party/abseil-cpp/absl/status/statusor.h"
13
14/// In memory representation of the contents of the data directory
15///
16/// All the data needed to run the license checker.
17struct Data {
18 static absl::StatusOr<Data> Open(std::string_view data_dir);
22 std::filesystem::path secondary_dir;
23};
24
25#endif // FLUTTER_TOOLS_LICENSES_CPP_SRC_DATA_H_
Definition data.h:17
Catalog catalog
Definition data.h:21
Filter include_filter
Definition data.h:19
static absl::StatusOr< Data > Open(std::string_view data_dir)
Definition data.cc:14
std::filesystem::path secondary_dir
Definition data.h:22
Filter exclude_filter
Definition data.h:20