PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
git_metadata.hpp
Go to the documentation of this file.
1 
12 #ifndef PLSSVM_VERSION_GIT_METADATA_GIT_METADATA_HPP_
13 #define PLSSVM_VERSION_GIT_METADATA_GIT_METADATA_HPP_
14 #pragma once
15 
16 #include <string_view> // std::string_view
17 
18 namespace plssvm::version::git_metadata {
19 
25 [[nodiscard]] bool is_populated();
30 [[nodiscard]] bool has_uncommitted_changes();
35 [[nodiscard]] std::string_view author_name();
40 [[nodiscard]] std::string_view author_email();
45 [[nodiscard]] std::string_view commit_sha1();
50 [[nodiscard]] std::string_view commit_date();
55 [[nodiscard]] std::string_view commit_subject();
60 [[nodiscard]] std::string_view commit_body();
65 [[nodiscard]] std::string_view describe();
70 [[nodiscard]] std::string_view branch();
75 [[nodiscard]] std::string_view remote_url();
76 
77 } // namespace plssvm::version::git_metadata
78 
79 #endif // PLSSVM_VERSION_GIT_METADATA_GIT_METADATA_HPP_
std::string_view remote_url()
The remote repository URL.
std::string_view describe()
The commit description.
std::string_view commit_sha1()
The full hash of the current commit.
std::string_view branch()
The symbolic reference tied to HEAD.
bool has_uncommitted_changes()
Check whether there are any uncommitted changes that won't be reflected in the CommitID.
bool is_populated()
Check whether the metadata has been successfully populated.
std::string_view author_name()
The name of the author of this commit.
std::string_view commit_date()
The ISO 8601 commit date.
std::string_view author_email()
The E-Mail of the author of this commit.
std::string_view commit_subject()
The commit subject.
std::string_view commit_body()
The commit body.