avascript fs select_all / Javascript:fs.select_all();

Avascript Fs Select_all

avascript fs select_all

<Buffer> <URL> source filename to copy

  • <string> <URL>
  • <Object>
    • <boolean> When , exceptions will be ignored if does not exist. Default:.
    • <integer> If an , , , , or error is encountered, Node.js will retry the operation with a linear backoff wait of milliseconds longer on each try. This option represents the number of retries. This option is ignored if the option is not . Default:.
    • <boolean> If , perform a recursive directory removal. In recursive mode operations are retried on failure. Default:.
    • <integer> The amount of time in milliseconds to wait between retries. This option is ignored if the option is not . Default:.
  • Returns: <Promise> Fulfills with upon success.
  • Removes files and directories (modeled on the standard POSIX utility).

    #

    #

    Added in: v19.6.0, v18.15.0

    #

    Creates a symbolic link.

    The argument is only used on Windows platforms and can be one of , , or . If the argument is not a string, Node.js will autodetect type and use or . If the does not exist, will be used. Windows junction points require the destination path to be absolute. When using , the argument will automatically be normalized to absolute path. Junction points on NTFS volumes can only point to directories.

    #

    Added in: v10.0.0

    Truncates (shortens or extends the length) of the content at to bytes.

    #

    Added in: v10.0.0

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

    #

    Added in: v10.0.0

    Change the file system timestamps of the object referenced by .

    The and arguments follow these rules:

    #

    Added in: v15.9.0, v14.18.0

    <URL>
  • <Object>
  • Returns: <Promise> Fulfills with upon success.
  • Removes the directory identified by .

    Using on a file (not a directory) results in the promise being rejected with an error on Windows and an error on POSIX.

    To get a behavior similar to the Unix command, use with options .

    #

    Added in: v14.14.0