6#include "faker-cxx/export.h"
7#include "faker-cxx/types/locale.h"
35FAKER_CXX_EXPORT std::string
branch(std::optional<BranchIssueType> issueType = std::nullopt,
36 unsigned maxIssueNum = 100);
49FAKER_CXX_EXPORT std::string
commitDate(
unsigned years = 15);
68FAKER_CXX_EXPORT std::string
commitEntry(std::optional<unsigned> dateYears = std::nullopt,
69 std::optional<unsigned> shaLength = std::nullopt,
70 Locale locale = Locale::en_US);
94FAKER_CXX_EXPORT std::string
commitSha(
unsigned length = 40);
FAKER_CXX_EXPORT std::string commitMessage()
Generates a random commit message.
FAKER_CXX_EXPORT std::string commitSha(unsigned length=40)
Returns a random SHA hash.
FAKER_CXX_EXPORT std::string branch(std::optional< BranchIssueType > issueType=std::nullopt, unsigned maxIssueNum=100)
Returns a random branch name.
FAKER_CXX_EXPORT std::string commitEntry(std::optional< unsigned > dateYears=std::nullopt, std::optional< unsigned > shaLength=std::nullopt, Locale locale=Locale::en_US)
Generates a random commit entry in form of string.
FAKER_CXX_EXPORT std::string commitDate(unsigned years=15)
Generates a random date in form of string.
BranchIssueType
Definition git.h:18
std::string name
Definition git.h:13
std::string email
Definition git.h:14