cloud_filter/
usn.rs

1// TODO: this module will be for handling usn's and potentially change journals.
2// Usn's should ALWAYS be required and this module should make it easy
3
4/// An Updated Sequence Number (USN) is as an identifier that represents the version of a file. Each
5/// subsequent file operation will increment the USN, allowing you to recognize when a file has
6/// been updated.
7///
8/// A USN is commonly used to prevent a change from happening unless the USN is up to date. For
9/// instance, [Placeholder::update][crate::placeholder::Placeholder::update] will not apply the specified changes
10/// unless if the passed USN matches the most recent USN of the file. This avoids applying changes
11/// that may be out of date.
12pub type Usn = i64;