# Functions
NewTlfHistory constructs a new TlfHistory instance.
NewUserHistory constructs a UserHistory instance.
Prepare converts the given slice of notifications into a string suitable for sending/storing them.
PrepareSelfWrite converts the given message into a string suitable for sending/storing it.
ReadSelfWrite converts the given message string into the SelfWriteMessage type, if possible.
# Constants
EntryTypeDir is for directories that have been edited.
EntryTypeFile is for files that have been edited.
EntryTypeSym is for symlinks that have been edited.
MaxClusters is the max number of TLF writer clusters to return in a user history.
NotificationCreate is the type of an edit notification representing a new file or directory creation.
NotificationDelete is the type of an edit notification representing a file or directory getting deleted.
NotificationModify is the type of an edit notification representing a file modification.
NotificationRename is the type of an edit notification representing a file or directory getting renamed.
NotificationV1 is unused, but represents the original, MD-ops-based edit notification list.
NotificationV2 is the first version that stores JSON-encoded notifications in chat messages.
# Structs
ModifyRange represents a file modification.
NotificationMessage is a summary of a single edit notification in KBFS.
NotificationParams is used for op-type-specific data.
SelfWriteMessage is written into a special, private channel when the user writes to some TLF.
TlfHistory maintains a history of the last N file edits from each writer in the TLF.
UserHistory keeps a sorted list of the top known TLF edit histories, and can convert those histories into keybase1 protocol structs.
# Type aliases
EntryType indicates the type of the file that was edited.
NotificationOpType indicates the type of the operation that caused the notification.
NotificationVersion is the numeric version of the edit notification data structure.