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
10
#include "
flutter/tools/licenses_cpp/src/catalog.h
"
11
#include "
flutter/tools/licenses_cpp/src/filter.h
"
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.
17
struct
Data
{
18
static
absl::StatusOr<Data>
Open
(std::string_view data_dir);
19
Filter
include_filter
;
20
Filter
exclude_filter
;
21
Catalog
catalog
;
22
std::filesystem::path
secondary_dir
;
23
};
24
25
#endif
// FLUTTER_TOOLS_LICENSES_CPP_SRC_DATA_H_
catalog.h
Catalog
Definition
catalog.h:21
Filter
Definition
filter.h:17
filter.h
Data
Definition
data.h:17
Data::catalog
Catalog catalog
Definition
data.h:21
Data::include_filter
Filter include_filter
Definition
data.h:19
Data::Open
static absl::StatusOr< Data > Open(std::string_view data_dir)
Definition
data.cc:14
Data::secondary_dir
std::filesystem::path secondary_dir
Definition
data.h:22
Data::exclude_filter
Filter exclude_filter
Definition
data.h:20
tools
licenses_cpp
src
data.h
Generated on Thu Nov 6 2025 16:11:30 for Flutter Engine by
1.9.8