-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add Dataset::build_overviews #164
Conversation
cd24087
to
5623d4d
Compare
5623d4d
to
3a92302
Compare
src/dataset.rs
Outdated
/// | ||
/// [`GDALBuildOverviews`]: https://gdal.org/doxygen/gdal_8h.html#a767f4456a6249594ee18ea53f68b7e80 | ||
pub fn build_overviews( | ||
&self, |
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.
In line with #161, I wonder if @rmanoka or @jdroenner have thoughts about whether this should be &mut.
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.
i guess &mut is the better choice.
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.
Besides my comment, lgtm!
src/dataset.rs
Outdated
/// | ||
/// [`GDALBuildOverviews`]: https://gdal.org/doxygen/gdal_8h.html#a767f4456a6249594ee18ea53f68b7e80 | ||
pub fn build_overviews( | ||
&self, |
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.
Should this take &mut self
if it's modifying self.c_dataset
?
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.
Lol @michaelkirk just commented about the same thing :)
Updated. Unrelated, tests fail intermittently on my computer: process didn't exit successfully: (but only when |
CHANGES.md
if knowledge of this change could be valuable to users.