Cotton code
28 lines · 1002 B · RustRaw
//! The data directory, in one place: where it is, whether the app may use it,//! and the one-time move out of the folder it used to live in.//!//! The first thing the Swift shell calls — before a single-instance check,//! before logging, before any file is opened.pub mod adopt;pub mod early_log;pub mod paths;pub mod relocate_media;pub mod synced_location;pub use adopt::{    foreign_folder_refusal, is_data_dir, prepare_data_dir, DataDirRefusal, PrepareDataDirResult,    PrepareOps, prepare_locked_data_dir, LockedDataDirError,};pub use early_log::EarlyLog;pub use paths::{    home_data_dir, legacy_data_dir, resolve_data_dir, ResolvedDataDir, BUNDLE_ID, DATA_DIR_ENV,    PRODUCT_NAME,};pub use relocate_media::{    follow_data_dir, relocate_media, rewrite_media_paths, RelocateError, RelocatedReplica,};pub use synced_location::{    read_file_provider_attribute, synced_location_refusal, synced_refusal_message, SyncedKind,    SyncedRefusal, FILE_PROVIDER_ATTRIBUTE,};