pyrocore
pyrocore copied to clipboard
mktor: Make creating new metafiles atomic
To make directory.watch.added
only see one inotify event, try:
- write a
.tmp*
file ending in_torrent
- do an atomic rename to the final location