alamb commented on issue #909: URL: https://github.com/apache/arrow-rs-object-store/issues/909#issuecomment-7421686585
The public APIs seem to be: * https://github.com/apache/arrow-rs-object-store/blob/9a260ceec4d8b3cd8f52c24a9d89058aca0a1702/src/lib.rs#L1621 * https://github.com/apache/arrow-rs-object-store/blob/9a260ceec4d8b3cd8f52c24a9d89058aca0a1702/src/lib.rs#L1666 * https://github.com/apache/arrow-rs-object-store/blob/9a260ceec4d8b3cd8f52c24a9d89058aca0a1702/src/lib.rs#L1674 * https://github.com/apache/arrow-rs-object-store/blob/9a260ceec4d8b3cd8f52c24a9d89058aca0a1702/src/lib.rs#L1763 * https://github.com/apache/arrow-rs-object-store/blob/9a260ceec4d8b3cd8f52c24a9d89058aca0a1702/src/lib.rs#L1772 So the new API would look like ```rust use std::time::SystemTime; pub struct ObjectMeta { pub location: Path, pub last_modified: SystemTime, // <---- was DateTime<Utc> // ... } pub struct GetOptions { pub if_modified_since: Option<SystemTime>, // <----- was Option<DateTime<Utc>> pub if_unmodified_since: Option<SystemTime>, // ... } impl GetOptions { pub fn with_if_modified_since(mut self, dt: Option<impl Into<SystemTime>>) -> Self { ... } pub fn with_if_unmodified_since(mut self, dt: Option<impl Into<SystemTime>>) -> Self { ... } } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
