@atomist/automation-client
Version:
Atomist API for software low-level client
11 lines • 462 B
TypeScript
import { SourceLocation } from "../../operations/common/SourceLocation";
import { File } from "../../project/File";
/**
* Find the given source location within this project
* @param {string} f file info: Path or File
* @param {string} content
* @param {number} offset
* @return {SourceLocation}
*/
export declare function toSourceLocation(f: string | File, content: string, offset: number): SourceLocation;
//# sourceMappingURL=sourceLocationUtils.d.ts.map