Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Location

Abstraction for a URL or file location.

Hierarchy

  • Location

Index

Constructors

Properties

path: string

Accessors

  • get absolute(): string
  • get base(): string
  • get ext(): undefined | string
  • get isAbsolute(): boolean
  • get isUrl(): boolean
  • get isYaml(): boolean
  • get name(): string
  • get parent(): undefined | string
  • get scheme(): undefined | string
  • get timestamp(): undefined | number
  • Returns zero for URLs, undefined if file does not exist

    Returns undefined | number

Methods

  • isChildOf(parent: string): boolean
  • relativeTo(parent: string): string
  • toString(): string

Generated using TypeDoc