diff options
| author | Jared Barocsi | 2021-04-13 17:11:10 -0700 |
|---|---|---|
| committer | GitHub | 2021-04-13 17:11:10 -0700 |
| commit | 20890bbd6bef2f33adace433a2d01f89458f0466 (patch) | |
| tree | 3d926b83d7ccee47f8bab6d4b0ffa94388311b54 /.github/workflows | |
| parent | 344083ba3bdc30a25d8f2ecdf490749db9c36e4a (diff) | |
Add indent parameter to Serializer.serialize() (#2177)
Using Utils.indent() gives deprecation warnings to use Serializer instead. However,
the Serializer class itself doesn't provide a means to manually indent a FirrtlNode
string a certain number of times.
The indent variable, previously hardcoded to 0, is now exposed as a second parameter
for the modified serialize function, and the old serialize function just calls the
modified serialize with indents = 0 for binary compatibility
Co-authored-by: Megan Wachs <megan@sifive.com>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions
