• Normalize .. and . in a path

    Returns InvalidPath if the path tries to escape the root directory.

    Parameters

    • p: string

    Returns FsResult<string>