method Project.prototype.getSourceFileimport { Project } from "https://deno.land/x/fresh@1.2.0/src/dev/deps.ts"; getSourceFile(fileNameOrPath: string): SourceFile | undefinedGets a source file by a file name or file path. Returns undefined if none exists. getSourceFile(searchFunction: (file: SourceFile) => boolean): SourceFile | undefinedGets a source file by a search function. Returns undefined if none exists. Gets a source file by a file name or file path. Returns undefined if none exists. ParametersfileNameOrPath: string File name or path that the path could end with or equal. ReturnsSourceFile | undefinedGets a source file by a search function. Returns undefined if none exists. ParameterssearchFunction: (file: SourceFile) => boolean Search function. ReturnsSourceFile | undefined