(value string)
| 401 | } |
| 402 | |
| 403 | func parseSubDirPath(value string) (string, error) { |
| 404 | subDirPath, err := normalpath.NormalizeAndValidate(value) |
| 405 | if err != nil { |
| 406 | return "", err |
| 407 | } |
| 408 | if subDirPath == "." { |
| 409 | return "", nil |
| 410 | } |
| 411 | return subDirPath, nil |
| 412 | } |
| 413 | |
| 414 | // getRawPathAndOptions returns the raw path and options from the value provided, |
| 415 | // the rawPath will be non-empty when returning without error here. |
no test coverage detected
searching dependent graphs…