Skip to main content

Module state

Module state 

Source
Expand description

The local state of a folder kept in step, in SQLite: the store’s tree as last read with the journal state it belongs to, per path what both sides were when they last agreed (plan::Base), and transfers that broke off. One database per folder; it lives outside the folder, where the app keeps its data. Names in vaults are kept here decrypted, as the folder holds them anyway.

Structs§

Node
A node of the store as read from the server.
Pieces
An upload in pieces under way: the file it was for (size and modification time), the pieces sent, and when it began – the server keeps uploads for a day.
State