Apache OpenDAL™ - v0.48.1
    Preparing search index...

    Interface WriteOptions

    interface WriteOptions {
        append?: boolean;
        cacheControl?: string;
        chunk?: bigint;
        contentDisposition?: string;
        contentType?: string;
    }
    Index

    Properties

    append?: boolean

    Append bytes into a path.

    • It always appends content to the end of the file.
    • It will create file if the path does not exist.
    cacheControl?: string

    Set the Cache-Control of op.

    chunk?: bigint

    Set the chunk of op.

    If chunk is set, the data will be chunked by the underlying writer.

    A service could have their own minimum chunk size while perform write operations like multipart uploads. So the chunk size may be larger than the given buffer size.

    contentDisposition?: string

    Set the Content-Disposition of op.

    contentType?: string

    Set the Content-Type of op.