-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b74a4e
commit d257507
Showing
74 changed files
with
5,772 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=11"/> | ||
<meta name="generator" content="Doxygen 1.9.8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>Faker C++: include/faker-cxx/Git.h Source File</title> | ||
<link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="dynsections.js"></script> | ||
<link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="resize.js"></script> | ||
<script type="text/javascript" src="navtreedata.js"></script> | ||
<script type="text/javascript" src="navtree.js"></script> | ||
<link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="search/searchdata.js"></script> | ||
<script type="text/javascript" src="search/search.js"></script> | ||
<link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/> | ||
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/> | ||
</head> | ||
<body> | ||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr id="projectrow"> | ||
<td id="projectalign"> | ||
<div id="projectname">Faker C++ | ||
</div> | ||
<div id="projectbrief">C++ Faker library for generating testing data</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.9.8 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
var searchBox = new SearchBox("searchBox", "search/",'.html'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript" src="menudata.js"></script> | ||
<script type="text/javascript" src="menu.js"></script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */ | ||
</script> | ||
<div id="main-nav"></div> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(document).ready(function() { init_codefold(0); }); | ||
/* @license-end */ | ||
</script> | ||
</div><!-- top --> | ||
<div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
<div id="nav-tree"> | ||
<div id="nav-tree-contents"> | ||
<div id="nav-sync" class="sync"></div> | ||
</div> | ||
</div> | ||
<div id="splitbar" style="-moz-user-select:none;" | ||
class="ui-resizable-handle"> | ||
</div> | ||
</div> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(document).ready(function(){initNavTree('Git_8h_source.html',''); initResizable(); }); | ||
/* @license-end */ | ||
</script> | ||
<div id="doc-content"> | ||
<!-- window showing the filter options --> | ||
<div id="MSearchSelectWindow" | ||
onmouseover="return searchBox.OnSearchSelectShow()" | ||
onmouseout="return searchBox.OnSearchSelectHide()" | ||
onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<div id="MSearchResults"> | ||
<div class="SRPage"> | ||
<div id="SRIndex"> | ||
<div id="SRResults"></div> | ||
<div class="SRStatus" id="Loading">Loading...</div> | ||
<div class="SRStatus" id="Searching">Searching...</div> | ||
<div class="SRStatus" id="NoMatches">No Matches</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="header"> | ||
<div class="headertitle"><div class="title">Git.h</div></div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div> | ||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div> | ||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include <optional></span></div> | ||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <string></span></div> | ||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div> | ||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include "faker-cxx/types/Language.h"</span></div> | ||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div> | ||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">namespace </span>faker</div> | ||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span>{</div> | ||
<div class="foldopen" id="foldopen00010" data-start="{" data-end="};"> | ||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classfaker_1_1Git.html"> 10</a></span><span class="keyword">class </span><a class="code hl_class" href="classfaker_1_1Git.html">Git</a></div> | ||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span>{</div> | ||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">public</span>:</div> | ||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classfaker_1_1Git.html#a1f7cb15191d37320df92098770b01eed"> 23</a></span> <span class="keyword">static</span> std::string <a class="code hl_function" href="classfaker_1_1Git.html#a1f7cb15191d37320df92098770b01eed">branch</a>(<span class="keywordtype">unsigned</span> maxIssueNum = 100);</div> | ||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div> | ||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classfaker_1_1Git.html#ab0404e11d51cd0d3a8a0b6037d3e7fb5"> 35</a></span> <span class="keyword">static</span> std::string <a class="code hl_function" href="classfaker_1_1Git.html#ab0404e11d51cd0d3a8a0b6037d3e7fb5">commitDate</a>(<span class="keywordtype">unsigned</span> years = 15);</div> | ||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div> | ||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classfaker_1_1Git.html#a636ece6e5afd20073ac54da56249b32b"> 53</a></span> <span class="keyword">static</span> std::string <a class="code hl_function" href="classfaker_1_1Git.html#a636ece6e5afd20073ac54da56249b32b">commitEntry</a>(std::optional<unsigned> dateYears = std::nullopt, std::optional<unsigned> shaLength = std::nullopt, Language language = Language::English);</div> | ||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div> | ||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="classfaker_1_1Git.html#acff32a57f9fb98aa7aec672c9b10f0f8"> 64</a></span> <span class="keyword">static</span> std::string <a class="code hl_function" href="classfaker_1_1Git.html#acff32a57f9fb98aa7aec672c9b10f0f8">commitMessage</a>();</div> | ||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div> | ||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classfaker_1_1Git.html#a7e8969371065ec43e151a0ec264be99c"> 77</a></span> <span class="keyword">static</span> std::string <a class="code hl_function" href="classfaker_1_1Git.html#a7e8969371065ec43e151a0ec264be99c">commitSha</a>(<span class="keywordtype">unsigned</span> length = 40);</div> | ||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span>};</div> | ||
</div> | ||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span>}</div> | ||
<div class="ttc" id="aclassfaker_1_1Git_html"><div class="ttname"><a href="classfaker_1_1Git.html">faker::Git</a></div><div class="ttdef"><b>Definition</b> Git.h:11</div></div> | ||
<div class="ttc" id="aclassfaker_1_1Git_html_a1f7cb15191d37320df92098770b01eed"><div class="ttname"><a href="classfaker_1_1Git.html#a1f7cb15191d37320df92098770b01eed">faker::Git::branch</a></div><div class="ttdeci">static std::string branch(unsigned maxIssueNum=100)</div><div class="ttdoc">Returns a random branch name.</div></div> | ||
<div class="ttc" id="aclassfaker_1_1Git_html_a636ece6e5afd20073ac54da56249b32b"><div class="ttname"><a href="classfaker_1_1Git.html#a636ece6e5afd20073ac54da56249b32b">faker::Git::commitEntry</a></div><div class="ttdeci">static std::string commitEntry(std::optional< unsigned > dateYears=std::nullopt, std::optional< unsigned > shaLength=std::nullopt, Language language=Language::English)</div><div class="ttdoc">Generates a random commit entry in form of string.</div></div> | ||
<div class="ttc" id="aclassfaker_1_1Git_html_a7e8969371065ec43e151a0ec264be99c"><div class="ttname"><a href="classfaker_1_1Git.html#a7e8969371065ec43e151a0ec264be99c">faker::Git::commitSha</a></div><div class="ttdeci">static std::string commitSha(unsigned length=40)</div><div class="ttdoc">Returns a random SHA hash.</div></div> | ||
<div class="ttc" id="aclassfaker_1_1Git_html_ab0404e11d51cd0d3a8a0b6037d3e7fb5"><div class="ttname"><a href="classfaker_1_1Git.html#ab0404e11d51cd0d3a8a0b6037d3e7fb5">faker::Git::commitDate</a></div><div class="ttdeci">static std::string commitDate(unsigned years=15)</div><div class="ttdoc">Generates a random date in form of string.</div></div> | ||
<div class="ttc" id="aclassfaker_1_1Git_html_acff32a57f9fb98aa7aec672c9b10f0f8"><div class="ttname"><a href="classfaker_1_1Git.html#acff32a57f9fb98aa7aec672c9b10f0f8">faker::Git::commitMessage</a></div><div class="ttdeci">static std::string commitMessage()</div><div class="ttdoc">Generates a random commit message.</div></div> | ||
</div><!-- fragment --></div><!-- contents --> | ||
</div><!-- doc-content --> | ||
<!-- start footer part --> | ||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> | ||
<ul> | ||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_21275a4f97039163a157995766de70c2.html">faker-cxx</a></li><li class="navelem"><b>Git.h</b></li> | ||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.