Options
All
  • Public
  • Public/Protected
  • All
Menu

simple-fake-path — Reference

Index

Classes

Type aliases

Variables

Functions

Type aliases

Path

StringKey

StringKey<Object>: {}

Type parameters

  • Object

Type declaration

Variables

Const symCwd

symCwd: unique symbol = Symbol('cwd')

Const symRoot

symRoot: unique symbol = Symbol('root')

Functions

Const isEmpty

  • isEmpty(path: string): boolean
  • Parameters

    • path: string

    Returns boolean

Const normalizeEmptyPath

  • normalizeEmptyPath(path: string, def?: string): string
  • Parameters

    • path: string
    • Default value def: string = "."

    Returns string

Generated using TypeDoc