Options
All
  • Public
  • Public/Protected
  • All
Menu

Exposes information about a directory containing source files.

One my access the root directory of a project through the ProjectReflection.directory property. Traverse through directories by utilizing the SourceDirectory.parent or SourceDirectory.directories properties.

Hierarchy

  • SourceDirectory

Index

Constructors

Properties

dirName?: string

The relative path from the root directory to this directory.

directories: {} = {}

A list of all subdirectories.

Type declaration

files: SourceFile[] = []

A list of all files in this directory.

groups?: ReflectionGroup[]
name?: string

The name of this directory.

The parent directory or undefined if this is a root directory.

url?: string

The url of the page displaying the directory contents.

Methods

  • toString(indent?: string): string
  • Return a string describing this directory and its contents.

    Parameters

    • indent: string = ""

      Used internally for indention.

    Returns string

    A string representing this directory and all of its children.

Generated using TypeDoc