isLocalReference checks if the source exists on the filesystem.
(source string)
| 151 | |
| 152 | // isLocalReference checks if the source exists on the filesystem. |
| 153 | func isLocalReference(source string) bool { |
| 154 | _, err := os.Stat(source) |
| 155 | return err == nil |
| 156 | } |
| 157 | |
| 158 | // isRemoteHTTPYAML checks if the source is a http/https url and a yaml |
| 159 | func isRemoteHTTPYAML(source string) bool { |
no outgoing calls
no test coverage detected