Function splitFilePath

  • Splits the specified filePath into separate elements based on the host platform path separator.

    Parameters

    • filePath: string

      File path to split.

    Returns string[]

    Array of path elements.