16size_t handleApiCallBack(
char* data,
size_t size,
size_t numOfBytes,
string* buffer);
This file contains all the enums used in the whole program.
CommitTypeMatchResults
Enumeration for the result of matching a commit type (e.g., fix: or fix(GUI):) against any commit typ...
Definition Enums.h:42
InputErrors
Definition Enums.h:19
void handleGithubApiErrorCodes(long errorCode, string apiResponse)
Throws runtime exceptions with appropriate messages that describe the given GitHub API error code All...
Definition Utils.cpp:78
CommitTypeMatchResults checkCommitTypeMatch(string commitMessage, int commitTypeIndex)
Checks how the given commit message matches the expected conventional commit type.
Definition Utils.cpp:96
void printInputError(InputErrors inputError)
Prints error messages when user runs the script with incorrect parameters/input.
Definition Utils.cpp:27
void writeGeneratedNotesInFiles(string markdownGeneratedNotes, string githubToken)
Writes the generated markdown notes in the markdown file and converts these markdown notes to HTML an...
Definition Utils.cpp:174
string convertMarkdownToHtml(string markdownText, string githubToken)
Converts markdown to HTML using the GitHub API markdown endpoint.
Definition Utils.cpp:116
size_t handleApiCallBack(char *data, size_t size, size_t numOfBytes, string *buffer)
Callback function that is required to handle API response in libcurl.
Definition Utils.cpp:66