Expand description
The pure half of import: candidate grouping, special-file classification, the import scope,
default-album resolution and the upload policy. Scanning a directory, planning against the
index and executing an import are local state and live in capsule-library’s import
module, which re-exports everything here.
Re-exports§
pub use default_album::DefaultAlbumContext;pub use default_album::DefaultAlbumError;pub use default_album::ResolutionRule;pub use default_album::ResolvedAlbum;pub use default_album::resolve_default_album;pub use group::PRIMARY_EXTS;pub use group::RAW_EXTS;pub use group::VIDEO_EXTS;pub use group::group_by_stem;pub use scan::ImportCandidate;pub use scan::ScanResult;pub use scope::IMPORT_SCOPE_V1;pub use scope::Scope;pub use scope::SourceKind;pub use special::SpecialDirectoryStatus;pub use special::SpecialFileStatus;pub use special::SpecialStatus;pub use upload::StagedStreamingConflict;pub use upload::UploadPolicy;pub use upload::UploadTier;pub use upload::ensure_streaming_compatible;
Modules§
- default_
album - Default-album resolution — where an import lands when the user files it nowhere (SSoT: Organization — The Default Album).
- group
- scan
- scope
- The scope grammar — the canonical identity of an import source (SSoT: Organization — Scope Grammar).
- special
- upload
- Staged-upload contract types — the one canonical
UploadPolicy/UploadTierset (SSoT: Transfer — Upload: Upload Tiering (Staged Uploads)).