[Issue 17926] New: Provide high level wrapper for creating temporary directories and files
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 22 15:18:25 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17926
Issue ID: 17926
Summary: Provide high level wrapper for creating temporary
directories and files
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: samjnaa at gmail.com
Currently there is only File.tmpfile() for creating temporary files. This is
not terribly useful. A high level interface for creating temporary files and
directories a la mkstemp and mkdtemp would be very useful. For example,
mkstemp, mkdtemp and allied functions are provided by Python:
https://docs.python.org/3/library/tempfile.html
Users have expressed interest in such an interface
(http://forum.dlang.org/post/lavduxqgpemvwnxrmqvu@forum.dlang.org) although no
enhancement request seems to have been filed. This request fills that need.
--
More information about the Digitalmars-d-bugs
mailing list