kist
Version:
Package Pipeline Processor
31 lines (30 loc) • 1.15 kB
TypeScript
import { Action } from "../../core/pipeline/Action";
import { ActionOptionsType } from "../../types/ActionOptionsType";
/**
* DirectoryCreatorAction ensures that specified directory structures
* exist within a base path. It creates missing directories recursively.
*/
export declare class DirectoryCreateAction extends Action {
/**
* Executes the directory creation action.
*
* @param options - The options specifying the base directory and
* the list of directories to create.
* @returns A Promise that resolves when all directories are created.
*/
execute(options: ActionOptionsType): Promise<void>;
/**
* Ensures that directories exist under the specified base path.
*
* @param basePath - The base directory where subdirectories should be created.
* @param directories - An array of relative paths for directories to create.
* @returns A Promise that resolves when all directories exist.
*/
private createDirectories;
/**
* Provides a description of the action.
*
* @returns A string description of the action.
*/
describe(): string;
}