diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-20 15:00:31 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-05-20 15:00:31 -0400 |
commit | 5e1f198ef2275ca0bd2db0f264ed75ae8561b73d (patch) | |
tree | 52e9ffb094080772c173fb53f832c92cc58d333e /tests/__init__.py | |
parent | abf5f62cb35d38a4bf98f49cc77dc365544ff2ab (diff) | |
download | b4-5e1f198ef2275ca0bd2db0f264ed75ae8561b73d.tar.gz |
Write maildir atomically
It probably doesn't matter for b4 usage, but the maildir standard
requires that files are written to tmp first and then moved into new (or
hardlinked, really, then removed from tmp). Since nothing is reading the
dir we're writing to, it's not as important to fully follow the
standard when it comes to hardlinking, but let's at least move them into
place once writing is completed.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions