forked from qt-creator/qt-creator
Utils: Add FilePath::tmpDir and createTempFile
Change-Id: I6f3143e59a87edffeee5e08708ba721293a8a369 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -184,6 +184,9 @@ public:
|
||||
WithExeOrBatSuffix, WithAnySuffix };
|
||||
std::optional<FilePath> refersToExecutableFile(MatchScope considerScript) const;
|
||||
|
||||
[[nodiscard]] expected_str<FilePath> tmpDir() const;
|
||||
[[nodiscard]] expected_str<FilePath> createTempFile() const;
|
||||
|
||||
// makes sure that capitalization of directories is canonical
|
||||
// on Windows and macOS. This is rarely needed.
|
||||
[[nodiscard]] FilePath normalizedPathName() const;
|
||||
|
Reference in New Issue
Block a user