Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Path

Hierarchy

  • Path

Index

Constructors

constructor

  • new Path(root: Path | undefined, rootPath: string, fileName?: undefined | string, type?: undefined | string): Path
  • Parameters

    • root: Path | undefined
    • rootPath: string
    • Optional fileName: undefined | string
    • Optional type: undefined | string

    Returns Path

Properties

Optional fileName

fileName: undefined | string

root

root: Path | undefined

rootPath

rootPath: string

Optional type

type: undefined | string

Accessors

directory

  • get directory(): string

exists

  • get exists(): boolean

fullName

  • get fullName(): string

fullPath

  • get fullPath(): string

isFile

  • get isFile(): boolean

name

  • get name(): string

Methods

mkdirp

  • mkdirp(): void

relative

  • relative(to: string | Path): string

Generated using TypeDoc