6#include "faker-cxx/Export.h"
7#include "faker-cxx/types/Country.h"
27FAKER_CXX_EXPORT std::string
branch(
unsigned maxIssueNum = 100);
39FAKER_CXX_EXPORT std::string
commitDate(
unsigned years = 15);
58FAKER_CXX_EXPORT std::string
commitEntry(std::optional<unsigned> dateYears = std::nullopt,
59 std::optional<unsigned> shaLength = std::nullopt, Country country = Country::England);
83FAKER_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 commitEntry(std::optional< unsigned > dateYears=std::nullopt, std::optional< unsigned > shaLength=std::nullopt, Country country=Country::England)
Generates a random commit entry in form of string.
FAKER_CXX_EXPORT std::string branch(unsigned maxIssueNum=100)
Returns a random branch name.
FAKER_CXX_EXPORT std::string commitDate(unsigned years=15)
Generates a random date in form of string.
std::string name
Definition Git.h:13
std::string email
Definition Git.h:14