Reference

Fork a filesystem branch

Fork a branch of a namespace. No data is copied.

const work = await sky.disk("acme").fork("agent-42");
console.log(work.branch);