Skip to main content

capsule_core/import/
mod.rs

1//! The pure half of import: candidate grouping, special-file classification, the import scope,
2//! default-album resolution and the upload policy. Scanning a directory, planning against the
3//! index and executing an import are local state and live in `capsule-library`'s `import`
4//! module, which re-exports everything here.
5
6pub mod default_album;
7pub mod group;
8pub mod scan;
9pub mod scope;
10pub mod special;
11pub mod upload;
12
13pub use default_album::{
14    DefaultAlbumContext, DefaultAlbumError, ResolutionRule, ResolvedAlbum, resolve_default_album,
15};
16pub use group::{PRIMARY_EXTS, RAW_EXTS, VIDEO_EXTS, group_by_stem};
17pub use scan::{ImportCandidate, ScanResult};
18pub use scope::{IMPORT_SCOPE_V1, Scope, SourceKind};
19pub use special::{SpecialDirectoryStatus, SpecialFileStatus, SpecialStatus};
20pub use upload::{StagedStreamingConflict, UploadPolicy, UploadTier, ensure_streaming_compatible};