MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / syncSelectedModelsWithDOM

Function syncSelectedModelsWithDOM

renderer.js:13326–13333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13324
13325function removeFromSelectedModels(filePath) {
13326 const normalized = normalizePathForComparison(filePath);
13327 for (const path of selectedModels) {
13328 if (normalizePathForComparison(path) === normalized) {
13329 selectedModels.delete(path);
13330 return path;
13331 }
13332 }
13333 return null;
13334}
13335
13336function isInSelectedModels(filePath) {

Callers 1

handleFileClickFunction · 0.85

Calls 2

isInSelectedModelsFunction · 0.85
addToSelectedModelsFunction · 0.85

Tested by

no test coverage detected