(path Path, subName string)
| 90 | } |
| 91 | |
| 92 | func subPath(path Path, subName string) Path { |
| 93 | return func(name Name) (string, error) { |
| 94 | p, err := path(name) |
| 95 | if err != nil { |
| 96 | return "", err |
| 97 | } |
| 98 | return filepath.Join(p, subName), nil |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | func errorPath(err error) Path { |
| 103 | return func(_ Name) (string, error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…