Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Folder

A folder is a virtual abstraction over the a collection of things. In this case, it holds a reference to a file system path pointing to a Directory.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new Folder(rootPath: string): Folder
  • Create a new instance by providing a folder path. Instancing will populate the filePaths property with the result of the listFiles method using the rootPath as a parameter.

    Parameters

    • rootPath: string

      absolute folder where to load files from

    Returns Folder

Properties

rootPath

rootPath: string

the folder where the files are located

Generated using TypeDoc