Skip to content

Need a method remove all keys but keep the file size not changed #1097

@calvin2021y

Description

@calvin2021y

This is not a bug report but a future request.

I need a method to remove all keys, but not trim and truncate file size to DEFAULT_MMAP_SIZE.

any suggestions how to do it myself, or MMKV will consider add this future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions