Evaluate and possible improve `TempDir`
See original GitHub issueThe TempDir
extension may or may not be thread-safe - it’s hard to say because its tests definitely aren’t (many static fields). The tests need to be made thread-safe, so we can then evaluate the extension itself. Right now, I see no reason why it shouldn’t be possible to make it thread-safe (if it isn’t already).
Also, can we change the name to TemporaryDirectory
or something else that doesn’t sound like letters cost actual money?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Multiple @TempDirs should result in multiple directories #1967
I think a test's temporary files should all be confined to a single directory tree. There's no need to have multiple top-level temps....
Read more >Clear windows temp directory to improve application ...
Clear windows temp directory to improve application performance in an Orion Deployment. This article covers clearing windows temp directory ...
Read more >How can I automatically create (and remove) a temp directory ...
If all targets are up to date, then evaluating TMPDIR will create the directory, and all 's rules will never be executed to...
Read more >tempfile: Create Names for Temporary Files - Rdrr.io
For tempfile a character vector giving the names of possible (temporary) files. ... For tempdir , the path of the per-session temporary directory....
Read more >4 Upgrading Oracle Management Service and Oracle ...
This chapter describes the different ways of upgrading your Oracle Management Service (OMS) and Oracle Management Repository (Management Repository) of 13c ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The verdict is in, Jupiter’s
@TempDir
will not get custom FS support. To recapitulate:@TempDir
extensionNota bene: @sormuras tried a different approach to the same topic (link, link)
In light of that, here’s my proposal:
@TempDir
as currently proposed by #327 and close this issue@TempDir
and Christian’s experimentsAs I suggest to remove the TempDir months ago because of this, my answer is of course: Yes remove it.