mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 08:56:59 +01:00
A 64-bit difference hash of each thumbnail, stored in the new photos.similar_hash column (schema 34), and the queries the similar-photo finder needs: what is left to hash, progress, and the sets of shots that look alike. Sets made only of byte-identical copies are left to the duplicate finder. A refresh keeps a hash unless the photo's bytes changed. The daemon pass, the control request and the GUI are not built yet; see PLAN.md.
35 lines
872 B
Rust
35 lines
872 B
Rust
//! Core building blocks for the Proton Drive Linux client: static client
|
|
//! identity, XDG paths, and the login/session/keyring layer that every
|
|
//! front-end (CLI today, daemon + GUI later) shares.
|
|
|
|
pub mod access;
|
|
pub mod auth;
|
|
pub mod batch;
|
|
pub mod cache;
|
|
pub mod config;
|
|
pub mod control;
|
|
pub mod db;
|
|
pub mod error;
|
|
pub mod localindex;
|
|
pub mod menu;
|
|
pub mod mounts;
|
|
pub mod opener;
|
|
pub mod places;
|
|
pub mod profile;
|
|
pub mod sdkcache;
|
|
pub mod search;
|
|
pub mod service;
|
|
pub mod shell;
|
|
pub mod similar;
|
|
pub mod syncignore;
|
|
pub mod takeout;
|
|
pub mod tray;
|
|
|
|
pub use access::{Access, access_for, perm_bits};
|
|
pub use error::{CoreError, CoreResult, Error, Result};
|
|
|
|
// Re-export the SDK surface downstream crates need, so they depend on
|
|
// `pdfs-core` rather than pinning the SDK directly.
|
|
pub use proton_drive_rs::{self, Node, NodeKind, ProtonDriveClient};
|
|
pub use proton_sdk;
|