UNPKG

@broadcom/endevor-bridge-for-git-for-zowe-cli

Version:

Endevor Bridge for Git plug-in for Zowe CLI

25 lines (24 loc) 808 B
import { IMappingMetadata } from "../doc/IMappingMetadata"; export declare enum FileLocation { /** * The file in a directory that cannot contain files */ FORBIDDEN_DIR = 0, /** * The file is in a type directory */ TYPE_DIR = 1, /** * The file is not an element or a metadata file */ NOT_VALIDATED_DIR = 2 } export declare const SYSTEM_DIR_INDEX = 1; export declare const SUBSYSTEM_DIR_INDEX: number; export declare class ChangeValidator { static validateAndGetPathComponents(path: string, mappingMetadata: IMappingMetadata): string[]; static getPathComponents(path: string): string[]; static validate(path: string, mappingMetadata: IMappingMetadata): boolean; private static overwritePathComponents; private static getFileLocation; }