mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
fix: add comment about longest-possible match
This commit is contained in:
parent
269efa01b3
commit
753f00c351
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ struct GitArchiveInputScheme : InputScheme
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Search for the longest possible match starting from the begining and ending at either the end or a path segment.
|
||||||
std::optional<std::string> getAccessToken(const fetchers::Settings & settings, const std::string & host, const std::string & url) const override
|
std::optional<std::string> getAccessToken(const fetchers::Settings & settings, const std::string & host, const std::string & url) const override
|
||||||
{
|
{
|
||||||
auto tokens = settings.accessTokens.get();
|
auto tokens = settings.accessTokens.get();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue