@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
26 lines (25 loc) • 791 B
TypeScript
import { ProjectFile } from "@atomist/automation-client";
/**
* Indent the given content appropriately. it should have its
* own internal indentation
* @param {string} what
* @param {string} indentToUse
* @param {number} n
* @return {string}
*/
export declare function indent(what: string, indentToUse: string, n: number): string;
/**
* Insert at the given position
* @param {File} f
* @param {number} position
* @param {string} what
* @return {Promise<void>}
*/
export declare function insertAt(f: ProjectFile, position: number, what: string): Promise<ProjectFile>;
/**
* Return the count of characters till the desired character is found
* @param {string} s
* @param {string} char
* @return {number}
*/
export declare function countTill(s: string, char: string): number;