◐ Shell
reader mode source ↗
Skip to content

Env.copy(File, CopyFlags) should permit destination to be a file #157

New issue
New issue
@bp-alex

Description

@bp-alex

Currently Env.copy(File, CopyFlags) requires the destination File is a pre-existing, empty directory. This was based on the LMDB documentation which indicates this is required.

Testing shows an Env created with MDB_NOSUBDIR fails to copy, whereas such an Env can be successfully copied to a File that represents a non-existing destination filename. The JavaDocs and rules for copy need to amended accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue relates to behaviour that violates the intention of the library

    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