module timelinelib.db.utils

timelinelib.db.utils.safe_write(path, encoding, write_fn)[source]

Write to path in such a way that the contents of path is only modified correctly or not modified at all.

In some extremely rare cases the contents of path might be incorrect, but in those cases the correct content is always present in another dbfile.

timelinelib.db.utils.create_non_exising_path(base, suffix)[source]
timelinelib.db.utils.safe_locking(controller, edit_function, exception_handler=None)[source]
timelinelib.db.utils.get_modification_date(path)[source]
timelinelib.db.utils.get_new_path_from_user(timetype, path)[source]