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

    Implemented by

    Index

    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