mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 06:27:19 +01:00
Deploy code docs to GitHub Pages for workflow run 4128
Commit: 599be3abd5
This commit is contained in:
@@ -185,7 +185,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> var now = DateTimeOffset.UtcNow;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> cacheHit = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#acede408c9fcd78437d26df7f66e1c2c2">clientCache</a>.TryGetValue(cacheKey, out var tuple);</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> var tokenValid = cacheHit && (!tuple.Expiry.HasValue || tuple.Expiry.Value <= now);</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> var tokenValid = cacheHit && (!tuple.Expiry.HasValue || tuple.Expiry.Value > now);</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="keywordflow">if</span> (!tokenValid)</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> {</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">if</span> (cacheHit)</div>
|
||||
@@ -420,7 +420,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a4aaa2789e76b21f8bcb5a99e928f8e5f"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a4aaa2789e76b21f8bcb5a99e928f8e5f">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.clientCacheSemaphore</a></div><div class="ttdeci">readonly SemaphoreSlim clientCacheSemaphore</div><div class="ttdoc">The SemaphoreSlim used to guard access to clientCache.</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00071">GitHubClientFactory.cs:71</a></div></div>
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a551b5e26f7192825af66a6c47811931e"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a551b5e26f7192825af66a6c47811931e">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.CreateUnauthenticatedClient</a></div><div class="ttdeci">GitHubClient CreateUnauthenticatedClient()</div><div class="ttdoc">Creates an unauthenticated GitHubClient.</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00338">GitHubClientFactory.cs:338</a></div></div>
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a558d05ae274bcf357d5a182a08f29bd3"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a558d05ae274bcf357d5a182a08f29bd3">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.generalConfigurationOptions</a></div><div class="ttdeci">readonly IOptionsMonitor< GeneralConfiguration > generalConfigurationOptions</div><div class="ttdoc">The IOptionsMonitor<TOptions> of GeneralConfiguration for the GitHubClientFactory.</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00056">GitHubClientFactory.cs:56</a></div></div>
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a559ada2294d2e2293900b2484aa1bf63"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a559ada2294d2e2293900b2484aa1bf63">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.AppTokenExpiryGraceMinutes</a></div><div class="ttdeci">const uint AppTokenExpiryGraceMinutes</div><div class="ttdoc">Minutes before tokens expire before not using them.</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00036">GitHubClientFactory.cs:36</a></div></div>
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a559ada2294d2e2293900b2484aa1bf63"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a559ada2294d2e2293900b2484aa1bf63">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.AppTokenExpiryGraceMinutes</a></div><div class="ttdeci">const uint AppTokenExpiryGraceMinutes</div><div class="ttdoc">Minutes before tokens expire before we stop using them for safety.</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00036">GitHubClientFactory.cs:36</a></div></div>
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a71a4a0b6b751cef410461b3eb71a3c0f"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a71a4a0b6b751cef410461b3eb71a3c0f">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.assemblyInformationProvider</a></div><div class="ttdeci">readonly IAssemblyInformationProvider assemblyInformationProvider</div><div class="ttdoc">The IAssemblyInformationProvider for the GitHubClientFactory.</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00046">GitHubClientFactory.cs:46</a></div></div>
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a78e1ae3c2b180077dec7f628ff14b5e0"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a78e1ae3c2b180077dec7f628ff14b5e0">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.logger</a></div><div class="ttdeci">readonly ILogger< GitHubClientFactory > logger</div><div class="ttdoc">The ILogger for the GitHubClientFactory.</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00061">GitHubClientFactory.cs:61</a></div></div>
|
||||
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory_html_a91779983ec90a97e9d61ad933df13809"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_git_hub_client_factory.html#a91779983ec90a97e9d61ad933df13809">Tgstation.Server.Host.Utils.GitHub.GitHubClientFactory.GetOrCreateClient</a></div><div class="ttdeci">async ValueTask< IGitHubClient?> GetOrCreateClient(string? accessString, RepositoryIdentifier? repositoryIdentifier, CancellationToken cancellationToken)</div><div class="ttdoc">Retrieve a GitHubClient from the clientCache or add a new one based on a given accessString .</div><div class="ttdef"><b>Definition</b> <a href="_git_hub_client_factory_8cs_source.html#l00128">GitHubClientFactory.cs:128</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user