Snapshots

This commit is contained in:
Robin Davies
2024-10-03 07:27:13 -04:00
parent 0b7078b592
commit 7821872016
69 changed files with 6070 additions and 1169 deletions
+6
View File
@@ -22,10 +22,16 @@
namespace pipedal {
class TemporaryFile {
public:
TemporaryFile() {}
TemporaryFile(const TemporaryFile&) = delete;
TemporaryFile&operator=(const TemporaryFile&) = delete;
TemporaryFile(TemporaryFile&&other) {
this->path = std::move(other.path);
}
TemporaryFile(const std::filesystem::path&parentDirectory);
void Detach();
~TemporaryFile();
const std::filesystem::path&Path()const { return path;}
std::string str() const { return path.c_str(); }