ZenFS
    Preparing search index...

    Function appendFile

    • Asynchronously append data to a file, creating the file if it not yet exists.

      Parameters

      • this: V_Context
      • path: PathLike | FileHandle
      • data: FileContents
      • Optional_options:
            | null
            | BufferEncoding
            | (
                EncodingOption & { mode?: Mode | undefined; flag?: OpenMode | undefined; }
            )

      Returns Promise<void>

      encoding Defaults to 'utf8'.

      mode Defaults to 0644.

      flag Defaults to 'a'.