![]() |
dfx 0.1.0
Linux-based dynamic dataflow executor
|
Options controlling publish permissions and durability. More...
#include <dfx-utilities/AtomicFileWriter.hpp>
Public Attributes | |
| mode_t | mode = 0644 |
| Permissions applied to the published file. | |
| bool | fsyncFile = true |
| If true, sync the staged file contents before publishing. | |
| bool | fsyncDir = true |
| If true, attempt to sync the parent directory after publishing. This is what makes the directory entry update durable against power loss. | |
| Backend | backend = Backend::TmpFile |
| Backend that will be used to create the temporary file. | |
Options controlling publish permissions and durability.
| Backend dfx::Utils::AtomicFileWriter::Options::backend = Backend::TmpFile |
Backend that will be used to create the temporary file.
| bool dfx::Utils::AtomicFileWriter::Options::fsyncDir = true |
If true, attempt to sync the parent directory after publishing. This is what makes the directory entry update durable against power loss.
| bool dfx::Utils::AtomicFileWriter::Options::fsyncFile = true |
If true, sync the staged file contents before publishing.
| mode_t dfx::Utils::AtomicFileWriter::Options::mode = 0644 |
Permissions applied to the published file.