JackDrogon opened a new pull request, #6448:
URL: https://github.com/apache/opendal/pull/6448

   Adopt Google C++ Style Guide for API naming
   
   - Rename public methods from snake_case to PascalCase
     - available() -> Available()
     - read() -> Read()
     - write() -> Write()
     - exists() -> Exists()
     - create_dir() -> CreateDir()
     - reader() -> GetReader()
     - lister() -> GetLister()
     - And all corresponding method implementations
   - Update documentation and comments to reference new API names
   - Add Google C++ Style Guide compliance notes to README and CONTRIBUTING
   - Update all test files and examples to use new API conventions
   - Preserve standard library virtual function names (underflow, uflow)
   - remove Get prefix from simple accessor methods
     - GetContentLength() -> ContentLength()
     - GetCacheControl() -> CacheControl()
     - GetContentDisposition() -> ContentDisposition()
     - GetContentMd5() -> ContentMd5()
     - GetContentType() -> ContentType()
     - GetContentEncoding() -> ContentEncoding()
     - GetEtag() -> Etag()
     - GetLastModified() -> LastModified()
     - GetVersion() -> Version()
     - GetIsCurrent() -> IsCurrent()
     - GetIsDeleted() -> IsDeleted()
   
   
   This change improves code consistency and follows industry standard
   C++ naming conventions while maintaining full backward compatibility
   for existing functionality.


-- 
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: commits-unsubscr...@opendal.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to