Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Path

Hierarchy

  • Path

Index

Constructors

constructor

  • new Path(path: string): Path

Accessors

directory

  • get directory(): Path

extension

  • get extension(): string
  • set extension(value: string): void

name

  • get name(): string

parent

  • get parent(): Path

path

  • get path(): string

Methods

join

  • join(path: string): Path

relative

  • relative(base?: string | Path): string
  • Parameters

    • Optional base: string | Path

    Returns string

toString

  • toString(): string