DesignStore.receive

DesignStore.receive#

DesignStore.receive()[source]#

Store a bundle pack() made, after checking it; return its identifier.

The bundle’s manifest must name a SHA-256 identity and the identifier of that identity, which must be design when one is given; every file must be one the manifest records, with the SHA-256 it records, and a symbolic link must name a file of the bundle. Nothing is written before these checks pass. A design already stored is kept.

Raises:

ValueError – If the bundle is not a design pack() makes, is not design, or a file differs from its manifest.