UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

24 lines (23 loc) 798 B
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const StorageUtilities_1 = __importDefault(require("../storage/StorageUtilities")); class ProjectDeploySync { project; folder; constructor(project, folder) { this.project = project; this.folder = folder; } async fullIngestIntoProject() { if (!this.project.projectFolder) { return; } await StorageUtilities_1.default.syncFolderTo(this.folder, this.project.projectFolder, true, true, false); } } exports.default = ProjectDeploySync;