ZenFS
    Preparing search index...

    Function appendFile

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

      Parameters

      Returns void

      encoding Defaults to 'utf8'.

      mode Defaults to 0644.

      flag Defaults to 'a'.

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

      Parameters

      • this: V_Context
      • filename: PathLike
      • data: FileContents
      • Optionaloptions: EncodingOption & { mode?: Mode | undefined; flag?: OpenMode | undefined; }
      • Optionalcb: Callback

      Returns void

      encoding Defaults to 'utf8'.

      mode Defaults to 0644.

      flag Defaults to 'a'.

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

      Parameters

      • this: V_Context
      • filename: PathLike
      • data: FileContents
      • Optionalencoding: BufferEncoding
      • Optionalcb: Callback

      Returns void

      encoding Defaults to 'utf8'.

      mode Defaults to 0644.

      flag Defaults to 'a'.