(s string)
| 260 | } |
| 261 | |
| 262 | func isNamedVolume(s string) bool { |
| 263 | err := identifiers.ValidateDockerCompat(s) |
| 264 | |
| 265 | // If the volume name is invalid, we assume it is a path |
| 266 | return err == nil |
| 267 | } |
no test coverage detected
searching dependent graphs…