pedant-core 0.24.0

Analysis engine for pedant: IR extraction, style checks, and capability detection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Opaque, project-scoped Go module identities.
//!
//! An identity carries the canonical-root fingerprint and the manifest revision
//! of the project that issued it, so an identity from one project can never
//! select a record in another project that happens to share a local index. It
//! is minted from the one shared declaration, so this language cannot answer
//! the scoping question differently from the other.

use crate::resolution::identity::scoped_id;

pub(super) use crate::resolution::identity::{ProjectAuthority, index_of, position};

scoped_id!(
    GoModuleId,
    "Opaque identity of a Go module inside one loaded project."
);