Skip to content

consider truncate large write rather than throw error #222

@shiyuhang0

Description

@shiyuhang0

An error will throw when the write size is larger than the max file size.

you can check the code here

"write length %d exceeds maximum file size %d", writeLen, l.max(),

Is it acceptable to add a truncate option to truncate the writes? I can contribute if it is accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions