Skip to content

Commit

Permalink
Documentation update 2024-12-24
Browse files Browse the repository at this point in the history
  • Loading branch information
Documentation Site Generator committed Dec 24, 2024
1 parent 5260ad9 commit 282ada0
Show file tree
Hide file tree
Showing 10 changed files with 11,014 additions and 10,831 deletions.
42 changes: 37 additions & 5 deletions docs/api/main.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"info": {
"version": "main",
"commit": "536f868be637d674ab84fdf62eacda6b95b56497"
"commit": "ccc202802c792fbbc85cce9ce262b347fbc1755c"
},
"groups": {
"sys/alloc": {
Expand Down Expand Up @@ -38307,12 +38307,43 @@
],
"group": "refspec"
},
"git_refspec_src_matches_negative": {
"kind": "function",
"name": "git_refspec_src_matches_negative",
"location": {
"file": "refspec.h",
"line": 88,
"column": 17
},
"returns": {
"type": "int",
"comment": "1 if the refspec matches, 0 otherwise"
},
"params": [
{
"name": "refspec",
"type": "const git_refspec *",
"direction": "in",
"comment": "the refspec"
},
{
"name": "refname",
"type": "const char *",
"direction": "in",
"comment": "the name of the reference to check"
}
],
"comment": [
"Check if a refspec's source descriptor matches a negative reference"
],
"group": "refspec"
},
"git_refspec_src_matches": {
"kind": "function",
"name": "git_refspec_src_matches",
"location": {
"file": "refspec.h",
"line": 88,
"line": 97,
"column": 17
},
"returns": {
Expand Down Expand Up @@ -38343,7 +38374,7 @@
"name": "git_refspec_dst_matches",
"location": {
"file": "refspec.h",
"line": 97,
"line": 106,
"column": 17
},
"returns": {
Expand Down Expand Up @@ -38374,7 +38405,7 @@
"name": "git_refspec_transform",
"location": {
"file": "refspec.h",
"line": 107,
"line": 116,
"column": 17
},
"returns": {
Expand Down Expand Up @@ -38411,7 +38442,7 @@
"name": "git_refspec_rtransform",
"location": {
"file": "refspec.h",
"line": 117,
"line": 126,
"column": 17
},
"returns": {
Expand Down Expand Up @@ -38468,6 +38499,7 @@
"git_refspec_string",
"git_refspec_force",
"git_refspec_direction",
"git_refspec_src_matches_negative",
"git_refspec_src_matches",
"git_refspec_dst_matches",
"git_refspec_transform",
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/main/.metadata
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "main",
"commit": "536f868be637d674ab84fdf62eacda6b95b56497"
"commit": "ccc202802c792fbbc85cce9ce262b347fbc1755c"
}
3 changes: 3 additions & 0 deletions docs/reference/main/refspec/git_refspec.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ <h3 class="apiParameterToHeader objectParameterToHeader">Parameter To</h3>
<li>
<a href="/docs/reference/main/refspec/git_refspec_direction.html" className="apiLink functionLink">git_refspec_direction</a>
</li>
<li>
<a href="/docs/reference/main/refspec/git_refspec_src_matches_negative.html" className="apiLink functionLink">git_refspec_src_matches_negative</a>
</li>
<li>
<a href="/docs/reference/main/refspec/git_refspec_src_matches.html" className="apiLink functionLink">git_refspec_src_matches</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/main/refspec/git_refspec_dst_matches.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h2 class="apiName functionName">git_refspec_dst_matches</h2>

<h3 class="apiSignatureHeader functionSignatureHeader">Signature</h3>
<div class="apiSignatureLink functionSignatureLink">
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L97" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L106" target="_blank" rel="noopener">GitHub</a>
</div>
<div class="apiSignature functionSignature">
int git_refspec_dst_matches(<span class="apiSignatureParameter functionSignatureParameter">const git_refspec *refspec</span>, <span class="apiSignatureParameter functionSignatureParameter">const char *refname</span>);
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/main/refspec/git_refspec_rtransform.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h2 class="apiName functionName">git_refspec_rtransform</h2>

<h3 class="apiSignatureHeader functionSignatureHeader">Signature</h3>
<div class="apiSignatureLink functionSignatureLink">
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L117" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L126" target="_blank" rel="noopener">GitHub</a>
</div>
<div class="apiSignature functionSignature">
int git_refspec_rtransform(<span class="apiSignatureParameter functionSignatureParameter">git_buf *out</span>, <span class="apiSignatureParameter functionSignatureParameter">const git_refspec *spec</span>, <span class="apiSignatureParameter functionSignatureParameter">const char *name</span>);
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/main/refspec/git_refspec_src_matches.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h2 class="apiName functionName">git_refspec_src_matches</h2>

<h3 class="apiSignatureHeader functionSignatureHeader">Signature</h3>
<div class="apiSignatureLink functionSignatureLink">
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L88" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L97" target="_blank" rel="noopener">GitHub</a>
</div>
<div class="apiSignature functionSignature">
int git_refspec_src_matches(<span class="apiSignatureParameter functionSignatureParameter">const git_refspec *refspec</span>, <span class="apiSignatureParameter functionSignatureParameter">const char *refname</span>);
Expand Down
95 changes: 95 additions & 0 deletions docs/reference/main/refspec/git_refspec_src_matches_negative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
title: git_refspec_src_matches_negative (libgit2 main)
layout: default
---

<div class="api function">
<div class="apiBreadcrumb functionBreadcrumb">
<ul>
<li><a href="/docs/reference/main/index.html">API Documentation</a></li>
<li><a href="/docs/reference/main/refspec/index.html">refspec</a></li>
</ul>
</div>
<div class="apiHeader functionHeader">
<h2 class="apiName functionName">git_refspec_src_matches_negative</h2>

<script src="/js/minisearch.js"></script>
<script src="/js/search.js"></script>
<div class="headerSearchArea functionHeaderSearchArea" id="headersearcharea">
<input class="headerSearchBox functionHeaderSearchBox" id="headersearchbox" placeholder="Search..." onInput="handleSearchSuggest({ version: 'main' })" onFocusIn="handleSearchSuggest({ version: 'main' })" onKeyUp="if (event.code === 'Enter') { submitSearch({ version: 'main' }); }"/>
<div class="headerSearchResults functionHeaderSearchResults" id="headersearchresults">
</div>
</div>

<div class="apiHeaderVersionSelect functionHeaderVersionSelect">
<span>Version:</span>
<select onChange="window.location.href = this.value">
<option value="/docs/reference/main/refspec/git_refspec_src_matches_negative.html" selected>main</option>
</select>
</div>
</div>


<div class="apiDescription functionDescription">
<p>Check if a refspec's source descriptor matches a negative reference</p>

</div>

<h3 class="apiSignatureHeader functionSignatureHeader">Signature</h3>
<div class="apiSignatureLink functionSignatureLink">
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L88" target="_blank" rel="noopener">GitHub</a>
</div>
<div class="apiSignature functionSignature">
int git_refspec_src_matches_negative(<span class="apiSignatureParameter functionSignatureParameter">const git_refspec *refspec</span>, <span class="apiSignatureParameter functionSignatureParameter">const char *refname</span>);
</div>

<h3 class="apiParametersHeader functionParametersHeader">Parameters</h3>
<div class="apiParameters functionParameters">
<div class="apiParameter functionParameter apiParameterIn functionParameterIn">
<div class="apiParameterType functionParameterType">
<a href="/docs/reference/main/refspec/git_refspec.html" class="apiLink objectLink">const git_refspec *</a>
</div>
<div class="apiParameterDirection functionParameterDirection apiParameterDirectionIn functionParameterDirectionIn">
In
</div>
<div class="apiParameterName functionParameterName">
refspec
</div>
<div class="apiParameterDescription functionParameterDescription">
<p>the refspec</p>
</div>
</div>
<div class="apiParameter functionParameter apiParameterIn functionParameterIn">
<div class="apiParameterType functionParameterType">
const char *
</div>
<div class="apiParameterDirection functionParameterDirection apiParameterDirectionIn functionParameterDirectionIn">
In
</div>
<div class="apiParameterName functionParameterName">
refname
</div>
<div class="apiParameterDescription functionParameterDescription">
<p>the name of the reference to check</p>
</div>
</div>
</div>

<h3 class="apiReturnHeader functionReturnHeader">Returns</h3>
<div class="apiReturn functionReturn">
<div class="apiReturnType functionReturnType">
int
</div>
<div class="apiReturnDescription functionReturnDescription">
<p>1 if the refspec matches, 0 otherwise</p>
</div>
</div>
<h3 class="apiVersionsHeader functionVersionsHeader">Versions</h3>
<div class="apiVersions functionVersions">
<ul>
<li class="apiVersionDeltaIntroduced functionVersionDeltaIntroduced">
<a href="/docs/reference/main/refspec/git_refspec_src_matches_negative.html" class="apiVersionLink functionVersionLink">main</a>
</li>
</ul>
</div>
</div>
2 changes: 1 addition & 1 deletion docs/reference/main/refspec/git_refspec_transform.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h2 class="apiName functionName">git_refspec_transform</h2>

<h3 class="apiSignatureHeader functionSignatureHeader">Signature</h3>
<div class="apiSignatureLink functionSignatureLink">
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L107" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/libgit2/libgit2/blob/main/include/git2/refspec.h#L116" target="_blank" rel="noopener">GitHub</a>
</div>
<div class="apiSignature functionSignature">
int git_refspec_transform(<span class="apiSignatureParameter functionSignatureParameter">git_buf *out</span>, <span class="apiSignatureParameter functionSignatureParameter">const git_refspec *spec</span>, <span class="apiSignatureParameter functionSignatureParameter">const char *name</span>);
Expand Down
10 changes: 10 additions & 0 deletions docs/reference/main/refspec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ <h3 class="apiListHeader functionListHeader">Functions</h3>
<p>Get the refspec's direction</p>
</div>
</div>
<div class="apiListItem functionListItem">
<div class="apiListName functionListName">
<a href="/docs/reference/main/refspec/git_refspec_src_matches_negative.html">
git_refspec_src_matches_negative
</a>
</div>
<div class="apiListItemDescription functionListItemDescription">
<p>Check if a refspec's source descriptor matches a negative reference</p>
</div>
</div>
<div class="apiListItem functionListItem">
<div class="apiListName functionListName">
<a href="/docs/reference/main/refspec/git_refspec_src_matches.html">
Expand Down
Loading

0 comments on commit 282ada0

Please sign in to comment.