Expand description
Where a bundle may be written as a file.
A bundle file leaves the delivery path of a tool result, so its
destination follows the rule the package export already applies
(cli::pack_cmd::checkpoint): bound to the project the bundle was built
for, also when the general tool jail is compiled out or switched off.
The caller writes the RELEASED text there, never the text as built.
Functionsยง
- destination
- The file a bundle of the project
rootmay be written to, or the reason it may not.candidateis the absolute destination the caller named. - write
- Write
bytesto a bundle destination belowroot, refusing a symlinked final component.destinationleaves a dangling symlink unresolved (the jail resolves only the existing ancestor), so a cloned repository can shipbundle.xml -> ../../outside; the confined write rebuilds the path below the project and fails closed on any symlinked component.