Function toPosix

  • Transform a path into a POSIX string.

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

    Parameters

    • path: Segments
    • Optional options: {
          absolute?: boolean;
          directory?: boolean;
      }
      • Optional absolute?: boolean
      • Optional directory?: boolean

    Returns string

Generated using TypeDoc