Hierarchy (view full)

Constructors

Properties

absolute: string

The resolved absolute filesystem path represented by this object.

separator: "\\" | "/" = sep

Accessors

  • get [toStringTag](): string
  • Returns string

  • get dirname(): string
  • Returns string

    absolute path to parent directory.

  • get name(): string
  • Returns string

    name of this file or directory.

  • get short(): string
  • Returns string

  • get url(): URL
  • Returns URL

    this.absolute represented as a file:/// URL

Methods

  • Parameters

    • Optional ext: string

    Returns string

    name of this file or directory.

  • Type Parameters

    • T

    Parameters

    • command: ((argv) => T)
        • (argv): T
        • Parameters

          • argv: string[]

          Returns T

    Returns T

  • Returns this

  • Parameters

    • base: string = ...

    Returns string

  • Parameters

    • target: string = ...

    Returns string

  • Parameters

    • Rest ...fragments: string[]

    Returns string

Generated using TypeDoc