@ibm/sourceorbit
Version:
IBM i dependency management tool
28 lines (27 loc) • 1.28 kB
TypeScript
import { Logger } from "./logger";
import { ILEObject } from "./targets";
import { CommandParameters } from "./builders/environment";
export declare function getSystemNameFromPath(inputName: string): string;
/**
* @deprecated Use {@link ReadFileSystem} instead
*/
export declare function getFiles(cwd: string, globPath: string, additionalOpts?: any): string[];
export declare function asPosix(inPath?: string): string;
export declare function toLocalPath(inPath: string): string;
export declare function replaceIncludes(logger: Logger): void;
export declare function renameFiles(logger: Logger): void;
export declare function getReferenceObjectsFrom(content: string): ILEObject[];
export declare function fromCl(cl: string): {
command: string;
parameters: CommandParameters;
};
/**
*
* @param command Optionally qualified CL command
* @param parameters A key/value object of parameters
* @returns Formatted CL string
*/
export declare function toCl(command: string, parameters?: CommandParameters): string;
export declare function checkFileExists(file: any): Promise<boolean>;
export declare function globalEntryIsValid(fullPath: string, search: string, ignoreBase?: string): boolean;
export declare function trimQuotes(input: string | boolean, value?: string): string;