Implements the download url builder.

This commit is contained in:
2026-08-23 15:17:03 -07:00
parent 2e8ddd3a73
commit 81f4423cfe
4 changed files with 161 additions and 30 deletions

View File

@@ -7,6 +7,7 @@ pub mod auth;
pub mod client;
pub mod config;
pub mod credentials;
pub mod download;
pub mod error;
pub mod models;
pub mod progress;
@@ -21,6 +22,10 @@ pub use auth::{
pub use client::{NextcloudClient, ServerStatus};
pub use config::{AccountCredentials, ClientConfig};
pub use credentials::{CredentialStore, StoredAccount, KEYRING_SERVICE_NAME};
pub use download::{
build_direct_download_url, build_subfile_download_url, validate_share_token,
MAX_SHARE_TOKEN_LENGTH, MIN_SHARE_TOKEN_LENGTH,
};
pub use error::{NextcloudError, Result};
pub use models::{UploadOptions, UploadResult};
pub use progress::{ProgressCallback, ProgressEvent};