Faker C++
Loading...
Searching...
No Matches
Git.h File Reference
#include <optional>
#include <string>
#include "faker-cxx/Export.h"
#include "faker-cxx/types/Country.h"
Include dependency graph for Git.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  faker::git::Author
 

Namespaces

namespace  faker
 
namespace  faker::git
 

Functions

FAKER_CXX_EXPORT std::string faker::git::branch (unsigned maxIssueNum=100)
 Returns a random branch name.
 
FAKER_CXX_EXPORT std::string faker::git::commitDate (unsigned years=15)
 Generates a random date in form of string.
 
FAKER_CXX_EXPORT std::string faker::git::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 faker::git::commitMessage ()
 Generates a random commit message.
 
FAKER_CXX_EXPORT std::string faker::git::commitSha (unsigned length=40)
 Returns a random SHA hash.