mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +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
|
||
|---|---|---|
| .. | ||
| functional | ||
| installer | ||
| nixos | ||
| repl-completion.nix | ||