UNPKG

@ui5/task-adaptation

Version:

Custom task for ui5-builder which allows building UI5 Flexibility Adaptation Projects for SAP BTP, Cloud Foundry environment

12 lines (11 loc) 701 B
export default class ResourceUtil { static getRootFolder(projectNamespace?: string): string; static relativeToRoot(resourcePath: string, projectNamespace?: string): string; static getResourcePath(projectNamespace?: string, ...paths: string[]): string; static write(dir: string, files: Map<string, string>): Promise<void[]>; static read(rootFolder: string, folder: string, files: Map<string, string>, exclude?: string[]): void; static getString(resource: any): Promise<string>; static getJson(resource: any): Promise<any>; static setString(resource: any, str: string): void; static createResource(filename: string, projectNamespace: string, content: string): any; }