-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix file identifier check in lsvast #1123
Conversation
c97b135
to
b30f5c1
Compare
Instead of doing the indentation by hand like this, does it make sense to just use You already link against libvast anyways, you might as well use the provided functionality. This is not a requirement for this pull request, but rather a note do this properly later on. |
With |
Yes, it makes a lot of sense. I did not have a use case for it yet, but I'll be happy to approve a PR that switches to JSON output. |
I'll create a story. |
b30f5c1
to
a034f22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a slight nit on the changelog. Approving as is, I've tested this locally yesterday. Let's get this in before the release.
a034f22
to
d00a122
Compare
The new `read_flatbuffer_file<>()` function already checks the file identifier and returns a pointer to the flatbuffer type, not the raw buffer. Therefore, checking it again can not succeed. Also, added proper indentation to the output of lsvast.
d00a122
to
03f3cdf
Compare
📔 Description
📝 Checklist
🎯 Review Instructions