ISPO SDK
    Preparing search index...

    Interface SharedFileApi

    Markdown

    Shared path storage is retained only for legacy importers.

    interface SharedFileApi {
        list(path?: string): Promise<string[]>;
        put(
            content: string | Uint8Array<ArrayBufferLike>,
            options?: { name?: string },
        ): Promise<SharedPutResult>;
        read(path: string): Promise<string>;
        write(path: string, content: string): Promise<SharedWriteResult>;
        writeBinary(path: string, content: Uint8Array): Promise<SharedWriteResult>;
    }
    Index
    • Parameters

      • Optionalpath: string

      Returns Promise<string[]>

    • Parameters

      • content: string | Uint8Array<ArrayBufferLike>
      • Optionaloptions: { name?: string }

      Returns Promise<SharedPutResult>

    • Parameters

      • path: string

      Returns Promise<string>