Skip to content

Commit

Permalink
removed a function I didn't end up using
Browse files Browse the repository at this point in the history
  • Loading branch information
hallettj committed Jan 27, 2025
1 parent dacea5d commit ca3fafc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,6 @@ rec {
in
if builtins.isString str && isValidHash then normalized else null;

# Returns input unchanged if it is a non-empty string. Otherwise returns
# null.
parseCommitRef = str:
if builtins.isString str && builtins.match "^\s*$" str != null then str else null;

gatherLockFiles = crateDir:
let
fromCrateDir =
Expand Down

0 comments on commit ca3fafc

Please sign in to comment.