mirror of
https://github.com/NixOS/nix.git
synced 2025-12-04 16:10:59 +01:00
Turns out there's a much better API for this that doesn't have the
footguns of the previous method.
isLegalRefName is somewhat of a misnomer, since it's mainly used to
validate user inputs that can be either references, branch names,
psedorefs or tags.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| data/public-key | ||
| .version | ||
| access-tokens.cc | ||
| git-utils.cc | ||
| git.cc | ||
| meson.build | ||
| nix-meson-build-support | ||
| nix_api_fetchers.cc | ||
| package.nix | ||
| public-key.cc | ||