Hierarchy

  • fromSlash
  • FromSlash returns the result of replacing each slash ('/') character in path with a separator character. Multiple slashes are replaced by multiple separators.

    See also the Localize function, which converts a slash-separated path as used by the io/fs package to an operating system path.

    Parameters

    • path: string

    Returns string

Generated using TypeDoc