Create a private tmp directory for files in the config directory#48
Create a private tmp directory for files in the config directory#48JustinMeimar wants to merge 5 commits intomasterfrom
Conversation
|
I realize I just dumped a big text block on #47. I think this is a good idea so far. Addresses discoverability at least insofar as separating from other users, but you're still probably going to have hundreds of files. Clean up can just be |
src/tests/TestFile.cpp
Outdated
| } | ||
| } | ||
| // Create the temporary input and ouput files | ||
| std::ofstream createInsFile(insPath); |
There was a problem hiding this comment.
I don't think there's any reason to create the files here. Opening and immediately closing the files is just extra file system interaction. The calls to open have O_CREAT on them, so they should make new files. Making the directory is important though.
There was a problem hiding this comment.
Thanks good point, I will create the files when they need to be used in that case.
Addresses #47
Not to be merged -- WIP