MCPcopy Create free account
hub / github.com/ablab/spades / createUniqueDirectory

Function createUniqueDirectory

ext/src/llvm/Path.cpp:831–836  ·  view source on GitHub ↗

This is a mkdtemp with a different pattern. We use createUniqueEntity mostly for consistency. We should try using mkdtemp.

Source from the content-addressed store, hash-verified

829// This is a mkdtemp with a different pattern. We use createUniqueEntity mostly
830// for consistency. We should try using mkdtemp.
831std::error_code createUniqueDirectory(const Twine &Prefix,
832 SmallVectorImpl<char> &ResultPath) {
833 int Dummy;
834 return createUniqueEntity(Prefix + "-%%%%%%", Dummy, ResultPath, true, 0,
835 FS_Dir);
836}
837
838std::error_code
839getPotentiallyUniqueFileName(const Twine &Model,

Callers

nothing calls this directly

Calls 1

createUniqueEntityFunction · 0.85

Tested by

no test coverage detected