Skip to content

Commit

Permalink
path_util: Removing outdated comment, added explanation for pathSpecR…
Browse files Browse the repository at this point in the history
…egex
  • Loading branch information
Lucas Hinderberger committed Jun 7, 2024
1 parent 61d734e commit d3517d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/lib/util/path_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import (
"strconv"
)

/*
throughout this file we assume 'manifestDir' to be an absolute path
*/

// pathSpecRegex validates and (via its capture groups) breaks up a
// path spec string in a single step (see ParsePathSpec).
var pathSpecRegex *regexp.Regexp = regexp.MustCompile(`^([0-9]*)@([^"]+)$`)

// PathSpec is a path specifier for including tests within manifests.
Expand Down

0 comments on commit d3517d9

Please sign in to comment.