MCPcopy
hub / github.com/neomjs/neo / hydrateCurrentWorktree

Function hydrateCurrentWorktree

ai/scripts/migrations/bootstrapWorktree.mjs:785–791  ·  view source on GitHub ↗
({mainCheckout, projectRoot, log = console.log})

Source from the content-addressed store, hash-verified

783 * @returns {Promise<object>} Hydration sub-results.
784 */
785export 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.

Callers

nothing calls this directly

Calls 3

bootstrapWorktreeFunction · 0.85
symlinkDataDirFunction · 0.85
symlinkGitignoredFilesFunction · 0.85

Tested by

no test coverage detected