Uranium
Application Framework
|
A class to handle atomic writes to a file. More...
Public Member Functions | |
def | __init__ (self, path, mode, encoding="utf-8", **kwargs) |
def | __enter__ (self) |
def | __exit__ (self, exc_type, exc_value, traceback) |
A class to handle atomic writes to a file.
This class can be used to perform atomic writes to a file. Atomic writes ensure that the file contents are always correct and that concurrent writes do not end up writing to the same file at the same time.