1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

fix: add comment about longest-possible match

This commit is contained in:
Thomas Bereknyei 2025-02-13 12:47:09 -05:00
parent 269efa01b3
commit 753f00c351

View file

@ -172,6 +172,7 @@ struct GitArchiveInputScheme : InputScheme
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
{
auto tokens = settings.accessTokens.get();