pub fn current_embedding_generation<C>(
project_dir: &Path,
descriptor: &EmbeddingCompatibilityDescriptor,
vector_limits: VectorStoreLimits,
checkpoint: C,
) -> Result<Option<EmbeddingGenerationPublication>, SearchArtifactError>Expand description
Reopen and fully validate the active generation for one descriptor.
A missing space root or active pointer returns Ok(None). Once an active
pointer exists, descriptor, pointer, manifest, and vector corruption fail
closed and are never represented as an absent generation.
ยงErrors
Returns structured incompatibility, corruption, resource, cancellation, or filesystem errors.