Options
All
  • Public
  • Public/Protected
  • All
Menu

Build paths

Hierarchy

  • PathBuilder

Index

Methods

Static asset

  • asset(paths: Array<string>, file?: string): string
  • Build a path that is appended to the root asset path and return the full path

    Parameters

    • paths: Array<string>

      Series of partial paths to be appended to root asset path.

    • Optional file: string

      Name of asset file (optional)

    Returns string

Static concat

  • concat(paths: Array<string>, file?: string): string
  • Concatenate a series of paths (and optionally a file name) and return the full path

    Parameters

    • paths: Array<string>

      Series of partial paths

    • Optional file: string

      Name of file (optional)

    Returns string

Static hasTrailingPathSeperator

  • hasTrailingPathSeperator(path: string): boolean
  • Parameters

    • path: string

    Returns boolean