Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DirectoryHandler

An interface represents a handle to a file system directory.

api-version

2

user

Hierarchy

  • DirectoryHandler

Index

Properties

Methods

Properties

name: string

A directory name.

api-version

2

user

Methods

  • write(name: string, data: string | Blob): Promise<boolean>
  • Write data to the file in the picked directory.

    api-version

    2

    user

    Parameters

    • name: string

      A file name to create.

    • data: string | Blob

      Data to write the name file.

    Returns Promise<boolean>

    Return Fulfills with true if the request has been operated successfully, otherwise false.

Generated using TypeDoc