Skip to content

Add convenient method equivalent toTempDir:new('foo') #249

Closed
@mamcx

Description

@mamcx

I want to remove the dependabot for GHSA-mc8h-8q98-g5hr and I miss the old TempDir:new('foo') call.

The available constructors have different semantics and the proposed solution is kinda verbose: tempfile::Builder::new().prefix(prefix).tempdir()

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