-
Notifications
You must be signed in to change notification settings - Fork 76
refactor: add a manifest dir to hold all manifest related files #372
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
Conversation
Improve code organization by collecting manifest-related files. writer helpers are renamed with _internal.h suffix to prevent installation, keeping the public API clean.
src/iceberg/type_fwd.h
Outdated
| class ManifestListWriter; | ||
| class ManifestReader; | ||
| class ManifestWriter; | ||
| class ManifestEntryAdapter; |
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.
These two classes are not supposed to be used by downstream users. Should we remove them?
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.
Reasonable, removed, I also make the ctor of ManifestWriter and ManifestListWriter private.
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| install_headers( |
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.
Do we need to be consistent with CMakeLists.txt?
wgtmac
left a comment
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.
Thanks for refactoring this!
Improve code organization by collecting manifest-related files into a dedicate directory. Writer helpers are renamed with _internal.h suffix to prevent installation, keeping the public API clean.