Function unlink

  • If path refers to a symbolic link, then the link is removed without affecting the file or directory to which that link refers. If the path refers to a file path that is not a symbolic link, the file is deleted. See the POSIX unlink(2) documentation for more detail.

    Since

    v0.0.67

    Returns

    Fulfills with undefined upon success.

    Parameters

    • path: PathLike

    Returns Promise<void>

  • If path refers to a symbolic link, then the link is removed without affecting the file or directory to which that link refers. If the path refers to a file path that is not a symbolic link, the file is deleted. See the POSIX unlink(2) documentation for more detail.

    Since

    v0.0.67

    Returns

    Fulfills with undefined upon success.

    Parameters

    • path: PathLike

    Returns Promise<void>

Generated using TypeDoc