• Home
Name Date Size #Lines LOC

..--

cpp/06-May-2025-175143

csharp/06-May-2025-12795

dart/06-May-2025-174133

go/06-May-2025-167131

java/06-May-2025-131103

kotlin/06-May-2025-148130

lobster/06-May-2025-6951

lua/06-May-2025-14795

nim/06-May-2025-8569

php/06-May-2025-240127

py/06-May-2025-153100

rust/06-May-2025-325247

schema/06-May-2025-1511

swift/06-May-2025-9772

ts/06-May-2025-161110

README.mdD06-May-2025966 2717

generate_goldens.pyD06-May-2025820 3328

golden_utils.pyD06-May-2025955 3114

README.md

1# Golden Generated Files
2
3This directory is a repository for the generated files of `flatc`.
4
5We check in the generated code so we can see, during a PR review, how the
6changes affect the generated output. Its also useful as a reference to point too
7as how things work across various languages.
8
9These files are **NOT** intended to be depended on by any code, such as tests or
10or compiled examples.
11
12## Languages Specifics
13
14Each language should keep their generated code in their respective directories.
15However, the parent schemas can, and should, be shared so we have a consistent
16view of things across languages. These are kept in the `schema/` directory.
17
18Some languages may not support every generation feature, so each language is
19required to specify the `flatc` arguments individually.
20
21* Try to avoid includes and nested directories, preferring it as flat as
22possible.
23
24## Updating
25
26Just run the `generate_goldens.py` script and it should generate them all.
27