Interface PluginDeployerEntry

interface PluginDeployerEntry {
    rootPath: string;
    type: PluginType;
    accept(...types): void;
    getChanges(): string[];
    getValue<T>(key): T;
    hasError(): boolean;
    id(): string;
    isAccepted(...types): boolean;
    isDirectory(): Promise<boolean>;
    isFile(): Promise<boolean>;
    isResolved(): boolean;
    originalPath(): string;
    path(): string;
    resolvedBy(): string;
    storeValue<T>(key, value): void;
    updatePath(newPath): void;
}

Implemented by

Properties

rootPath: string

A fs path to a directory where a plugin is located. Depending on a plugin format it can be different from path. Use path if you want to resolve something within a plugin, like README.md file. Use rootPath if you want to manipulate the entire plugin location, like delete or move it.

Methods