import PiecesCacheSingleton from 'cache/pieces_cache';
import { Asset, Format } from '../../PiecesSDK/core';
import ConnectorSingleton from './connector_singleton';
import { mergeAssetsWithTransferables } from 'transferables';
import { renderFetched } from './stream_assets';
export default class DedupeAssetQueue {
int binarySearch(List<int> sortedList, int targetValue) {
// Define the start and end indices for the search
int startIndex = 0;
int endIndex = sortedList.length - 1;
// Continue searching while the start index is less than or equal to the end index
while (startIndex <= endIndex) {
- name: Diff Restored Module Executables && Enable Existing Executables (Windows)
if: matrix.config.system_information.operating_system_family == 'windows' && steps.cache-aot-module-executables.outputs.cache-hit == 'true'
run: |
$executables = @()
$distDirs = Get-ChildItem -Path . -Recurse -Directory -Filter dist
foreach ($dir in $distDirs) {
$cliExecutables = Get-ChildItem -Path $dir.FullName -File -Include *_cli.exe