This is a mkdtemp with a different pattern. We use createUniqueEntity mostly for consistency. We should try using mkdtemp.
| 829 | // This is a mkdtemp with a different pattern. We use createUniqueEntity mostly |
| 830 | // for consistency. We should try using mkdtemp. |
| 831 | std::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 | |
| 838 | std::error_code |
| 839 | getPotentiallyUniqueFileName(const Twine &Model, |
nothing calls this directly
no test coverage detected