FileStateStore.record_file()

Upserts the recorded mtime for path.

Usage

Source

FileStateStore.record_file(
    path,
    mtime,
)

Call inside transaction() to commit alongside consumer writes; called on its own it commits immediately.