UNPKG

@altostra/core

Version:

Core library for shared types and logic

19 lines (18 loc) 727 B
export declare const ALTOSTRA_DIR_NAME = ".altostra"; export declare const ALTOSTRA_PROJECT_FILE = "project.json"; /** * If `path` is provided, returns the path's altostra's directory. \ * Otherwise, returns the path of the global altostra's directory. * @param path The path for which to return altostra's dir. \ * If not provided the path for the global altostra dir is returned * * @returns Path of altostra's directory */ export declare function altostraDir(path?: string): string; /** * Returns the path to altostra's project file * @param path The path for which to return altostra's project file. * * @returns Path to altostra's project file */ export declare function altostraProject(path: string): string;