@@ -12,12 +12,21 @@ struct DecodePreference;
1212class DecodedFile ;
1313enum class DocumentType ;
1414
15- // / @brief Get the version of the Open Document Reader library.
16- // / @return The version of the Open Document Reader library.
17- [[nodiscard]] std::string get_version () noexcept ;
18- // / @brief Get the commit hash of the Open Document Reader library.
19- // / @return The commit hash of the Open Document Reader library.
20- [[nodiscard]] std::string get_commit () noexcept ;
15+ // / @brief Get the version of the library.
16+ // / @return The version of the library.
17+ [[nodiscard]] std::string version () noexcept ;
18+ // / @brief Get the commit hash of the library.
19+ // / @return The commit hash of the library.
20+ [[nodiscard]] std::string commit_hash () noexcept ;
21+ // / @brief Check if the library is dirty (i.e., has uncommitted changes).
22+ // / @return True if the library is dirty, false otherwise.
23+ [[nodiscard]] bool is_dirty () noexcept ;
24+ // / @brief Check if the library is built in debug mode.
25+ // / @return True if the library is built in debug mode, false otherwise.
26+ [[nodiscard]] bool is_debug () noexcept ;
27+ // / @brief Get the identification string of the library.
28+ // / @return The identification string of the library.
29+ [[nodiscard]] std::string identify () noexcept ;
2130
2231// / @brief Get the file type by the file extension.
2332// / @param extension The file extension.
0 commit comments