mise API - v0.0.0
    Preparing search index...

    Function files_create

    • Uploads content to a specified ChRIS path, effectively creating or overwriting a file.

      Parameters

      • content: string | Buffer<ArrayBufferLike> | Blob

        The content to upload (string, Buffer, or Blob).

      • pathStr: string

        The ChRIS path for the new file.

      • options: { folderClear?: boolean } = {}

      Returns Promise<boolean>

      A Promise resolving to true on success, false on failure.