| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR introduces a commit_wrapper class with a skeleton implementation and refactors the existing wrapper base class architecture. The main purpose is to provide a foundation for commit operations that can be quickly merged and improved incrementally.
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file| File | Description |
|---|---|
| src/wrapper/wrapper_base.hpp | New dedicated header containing the extracted wrapper_base template class with improved noexcept specifications |
| src/wrapper/commit_wrapper.hpp | New wrapper class declaration for Git commit operations |
| src/wrapper/commit_wrapper.cpp | Implementation of commit wrapper with destructor and last_commit static method |
| src/wrapper/status_wrapper.hpp | Updated include path and added noexcept to move operations |
| src/wrapper/repository_wrapper.hpp | Updated include path and added noexcept to move operations |
| src/wrapper/refs_wrapper.hpp | Updated include path and added noexcept to move operations |
| src/wrapper/index_wrapper.hpp | Updated include path and added noexcept to move operations |
| src/wrapper/index_wrapper.cpp | Added missing include for common.hpp |
| src/utils/common.hpp | Removed wrapper_base template class (moved to dedicated file) |
| CMakeLists.txt | Added new commit wrapper and wrapper base files to build configuration |
Sorry, something went wrong.
|
|
||
| ~commit_wrapper(); | ||
|
|
||
| commit_wrapper(commit_wrapper&&) = default; |
There was a problem hiding this comment.
The move constructor should be marked as noexcept to match the pattern used in other wrapper classes and the base class implementation.
| commit_wrapper(commit_wrapper&&) = default; | |
| commit_wrapper(commit_wrapper&&) noexcept = default; |
Sorry, something went wrong.
| ~commit_wrapper(); | ||
|
|
||
| commit_wrapper(commit_wrapper&&) = default; | ||
| commit_wrapper& operator=(commit_wrapper&&) = default; |
There was a problem hiding this comment.
The move assignment operator should be marked as noexcept to match the pattern used in other wrapper classes and the base class implementation.
| commit_wrapper& operator=(commit_wrapper&&) = default; | |
| commit_wrapper& operator=(commit_wrapper&&) noexcept = default; |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR contains a skeleton implementation of commit_wrapper only, so that it can be reviewed and merged quickly, and improved in future PRs without blocking anyone.