Ability to provide a common scratch space
It is very common for Workers to need to write out files. Either as input to the mesher, or as some form of output.
In these cases it is good to know where the current user can safely write temporary files.
We should extend the features of remus::common
to include the following:
remus::common::TempDir = createTempDirectory();
remus::common::TempFile = createTempFile();
We will also need to consider how TempFile
and FileHandle
should interact with each other. Should it be TempFileHandle?