Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DirectoryNode<Node>

Type parameters

Hierarchy

Index

Constructors

constructor

  • new DirectoryNode(prefix: string, parent: string, pathPart: string): DirectoryNode

Properties

Private _leaves

_leaves: Map<string, Node> = new Map<string, Node>()

Private _subdirs

_subdirs: Map<string, DirectoryNode<Node>> = new Map<string, DirectoryNode<Node>>()

id

id: string

parent

parent: string

pathPart

pathPart: string

prefix

prefix: string

Accessors

fsPath

  • get fsPath(): string

Methods

getChildren

getOrderTuple

  • getOrderTuple(): string[]

getTreeItem

  • getTreeItem(): TreeItem

update

  • update<InputItem>(opts: object): void
  • Type parameters

    Parameters

    • opts: object
      • context: TreeUpdateContext
      • tree: PathedTree<InputItem>
      • create: function
        • create(input: InputItem): Node
        • Parameters

          • input: InputItem

          Returns Node

      • update: function
        • update(existingNode: Node, input: InputItem): void
        • Parameters

          • existingNode: Node
          • input: InputItem

          Returns void

    Returns void

Generated using TypeDoc