summaryrefslogtreecommitdiffhomepage
path: root/test/util/temp_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/temp_path.h')
-rw-r--r--test/util/temp_path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/util/temp_path.h b/test/util/temp_path.h
index 9e5ac11f4..6c8900b6b 100644
--- a/test/util/temp_path.h
+++ b/test/util/temp_path.h
@@ -27,6 +27,9 @@
namespace gvisor {
namespace testing {
+// Return a new temp filename, intended to be unique system-wide.
+std::string NextTempBasename();
+
// Returns an absolute path for a file in `dir` that does not yet exist.
// Distinct calls to NewTempAbsPathInDir from the same process, even from
// multiple threads, are guaranteed to return different paths. Distinct calls to