cli-stash
Version:
CLI application to manage and work with Atlassian Stash. Work with your Stash project and repositories from Command lines.
27 lines (26 loc) • 959 B
TypeScript
/**
* Class to check all about files. If is Apex Class, Apex Trigger, Aura Component... or check if exists or is a File or Directorty
*/
export declare class FileChecker {
/**
* Method to check if file or folder exists on the system
* @param {string} fileOFolderPath path to check
*
* @returns {boolean} true if exists, false in otherwise
*/
static isExists(fileOFolderPath: string): boolean;
/**
* Method to check if the path is a Directory path (and exists)
* @param {string} folderPath path to check
*
* @returns {boolean} true if is a directory, false in otherwise
*/
static isDirectory(folderPath: string): boolean;
/**
* Method to check if the path is a File path (and exists)
* @param {string} filePath path to check
*
* @returns {boolean} true if is a file, false in otherwise
*/
static isFile(filePath: string): boolean;
}