Function fromPosix

  • Transform a POSIX string into a path.

    Directories should have the format path/to/dir/ and files should have the format path/to/file.

    Leading forward slashes are removed too, so you can pass absolute paths.

    Parameters

    • path: string

    Returns Segments

Generated using TypeDoc