HasFile returns true if the file exists in the original module's source directory.
(name string)
| 122 | |
| 123 | // HasFile returns true if the file exists in the original module's source directory. |
| 124 | func (d *Discovery) HasFile(name string) bool { |
| 125 | _, ok := d.FileSet[name] |
| 126 | return ok |
| 127 | } |
| 128 | |
| 129 | // SdkHasFile returns true if the file exists in the SDK's source directory. |
| 130 | func (d *Discovery) SdkHasFile(name string) bool { |
no outgoing calls
no test coverage detected