pub fn open_config_shallow<ObjectID: FsVerityHashValue>(
repo: &Repository<ObjectID>,
name: &str,
verity: Option<&ObjectID>,
) -> Result<ImageConfiguration>Expand description
Opens and parses a container configuration without following layer references.
Reads only the OCI image configuration itself from the repository without validating
that all referenced layers exist. This is faster than open_config when you only need
the configuration metadata.
If verity is not provided, manually verifies the content digest matches the expected hash.
Returns the parsed image configuration.