Skip to content

Get rid of the file descriptor, close the file on creation and hand out only the path #241

@silkentrance

Description

@silkentrance

The file descriptor and the file that was opened by tmp has had some issues in the past, leading to a rather complex code base, including options such as discardDescriptor and detachDescriptor.

Getting rid of the file descriptor altogether seems to be a good solution that will eliminate a lot of rather complex code and which will also add to the overall stability of tmp.

This will be a breaking change that should be introduced with v0.3.0.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions