isLocalReference checks if the source exists on the filesystem.
(source string)
| 171 | |
| 172 | // isLocalReference checks if the source exists on the filesystem. |
| 173 | func isLocalReference(source string) bool { |
| 174 | _, err := os.Stat(source) |
| 175 | return err == nil |
| 176 | } |
| 177 | |
| 178 | // isRemoteHTTPArchive checks if the source is a http/https url and is an archive |
| 179 | // |
no outgoing calls
no test coverage detected
searching dependent graphs…