ExperimentalReadonly ExperimentalenabledFalse when the site does not maintain synchronization information.
Readonly ExperimentalfileThe JSON file the records are kept in.
Experimental
Saves when 50 changes or 5 seconds have gone by since the last save.
Experimental
Forgets the record of a path, as when it is gone on both sides.
Experimental
The record of a site-relative path, if it has one.
Experimental
The most recent sync time of any file, or undefined.
Experimental
Every path with a record.
Experimental
Forgets every record and removes the file.
Experimental
Writes the records atomically under a lock, when anything changed since the last save.
Experimental
Records both sides of a path as just synchronized. Ignored when the records are disabled.
StaticloadExperimental
Reads the records of a site and server, or starts empty when there are none yet.
SyncError E_CONFIG_INVALID when the file is damaged.
The sync records of one site and server, which let the engine tell a file changed on one side from one changed on both. Kept per machine in the state folder, written atomically, and checkpointed during a run so an interrupted sync keeps what it finished. Disabled records (
maintainInfooff) hold nothing and are never written.SyncSession keeps the records; programs rarely need them directly.