import { pullPathViaTar } from "../pathOperations/pullPathViaTar.js"; import { isGitInstalled } from "./git.js"; import { pullHarness } from "./pullHarness.js"; /** * Pull via tar — delegates to pullHarness with a tar primitive. */ export const pullViaTar = async (ctx, source, destination, options) => { if (options?.git) { if (!(await isGitInstalled())) { throw new Error('Git is not installed. Please install git to use pull command.'); } } await pullHarness(ctx => pullPathViaTar(ctx, { git: options?.git }))(ctx, source, destination); }; //# sourceMappingURL=pullViaTar.js.map