pub fn write_config<ObjectID: FsVerityHashValue>(
repo: &Arc<Repository<ObjectID>>,
config: &ImageConfiguration,
refs: HashMap<Box<str>, ObjectID>,
) -> Result<(String, ObjectID)>Expand description
Writes a container configuration to the repository.
Serializes the image configuration to JSON and stores it as a split stream with the provided layer reference map. The configuration is stored inline since it’s typically small.
Returns a tuple of (sha256 content hash, fs-verity hash value).