SdkHasFile returns true if the file exists in the SDK's source directory.
(name string)
| 128 | |
| 129 | // SdkHasFile returns true if the file exists in the SDK's source directory. |
| 130 | func (d *Discovery) SdkHasFile(name string) bool { |
| 131 | _, ok := d.SdkFileSet[name] |
| 132 | return ok |
| 133 | } |
| 134 | |
| 135 | // AddNewFile adds a new file, with contents, to the module's source. |
| 136 | func (m *PythonSdk) AddNewFile(name, contents string) { |