({mainCheckout, projectRoot, log = console.log})
| 783 | * @returns {Promise<object>} Hydration sub-results. |
| 784 | */ |
| 785 | export async function hydrateCurrentWorktree({mainCheckout, projectRoot, log = console.log}) { |
| 786 | const bootstrap = await bootstrapWorktree({mainCheckout, projectRoot, log}); |
| 787 | const data = await symlinkDataDir({mainCheckout, projectRoot, log}); |
| 788 | const files = await symlinkGitignoredFiles({mainCheckout, projectRoot, log}); |
| 789 | |
| 790 | return {bootstrap, data, files}; |
| 791 | } |
| 792 | |
| 793 | /** |
| 794 | * @summary Runs the local-only prune loop on an interval for operator-managed hosts. |
nothing calls this directly
no test coverage detected