Interface DirContent

interface DirContent {
    [dir: string]: {
        validDir: boolean;
        baseDirPath: string;
        files: {
            filename: string;
            path: string;
        }[];
        subDirs: DirContent;
    };
}

Indexable

[dir: string]: {
    validDir: boolean;
    baseDirPath: string;
    files: {
        filename: string;
        path: string;
    }[];
    subDirs: DirContent;
}
  • validDir: boolean

    Whether the directory is valid (exists).

  • baseDirPath: string

    Absolute path to the directory.

  • files: {
        filename: string;
        path: string;
    }[]

    Files contained within the directory.

  • subDirs: DirContent

    Subdirectories contained within the directory.

Generated using TypeDoc