UNPKG

@nxworker/workspace

Version:

Nx plugin providing generators for managing workspace files, including the move-file generator for safely moving files between projects while updating all imports

24 lines (23 loc) 796 B
/** * Updates the file existence cache when a file is created or deleted. * * This function should be called after creating or deleting a file to keep * the cache in sync with the actual file system state. * * @param filePath - Path of the file * @param exists - Whether the file exists after the operation * @param fileExistenceCache - Cache for file existence checks */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "updateFileExistenceCache", { enumerable: true, get: function() { return updateFileExistenceCache; } }); function updateFileExistenceCache(filePath, exists, fileExistenceCache) { fileExistenceCache.set(filePath, exists); } //# sourceMappingURL=update-file-existence-cache.js.map