Re-exports§
pub use self::db::SCHEMA_VERSION;
pub use self::protocol::RepositoryId;
pub use self::protocol::StorageSize;
pub use self::protocol::BLOCK_SIZE;
Modules§
- Utilities for working with filesystem paths.
- Datatypes for the ouisync protocol and for interoperability between the network layer and the storage later
Structs§
- Credentials for accessing a repository.
- DeviceId uniquely identifies machines on which this software is running. Its only purpose is to ensure that one WriterId (which currently equates to sing::PublicKey) will never create two or more concurrent snapshots as that would break the whole repository. This is achieved by ensuring that there is always only a single DeviceId associated with a single WriterId.
- Notification event
- Unified view over multiple concurrent versions of a directory.
- Information about a peer.
- Progress of a task.
- Token to share a repository which can be encoded as a URL-formatted string and transmitted to other replicas.
- Network traffic statistics.
- Secrets for write access.
Enums§
- Access mode of a repository.
- Secrets for access to a repository.
- Info about a directory entry.
- Type of filesystem entry.
- How was the peer discovered.
Constants§
- Size of the blob header in bytes.
- Version of the Directory serialization format.
Traits§
Functions§
- Delete the repository database
Type Aliases§
- A specialized
Result
type for convenience.