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

Function getCurrentModelFilePath

renderer.js:2223–2229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2221 const fileInfo = existingElement.querySelector('.file-info');
2222 if (fileInfo) {
2223 // Only remove legacy designer-info nodes outside metadata (detailed view stores designer in .metadata-container)
2224 if (!isListView) {
2225 fileInfo.querySelectorAll('.designer-info').forEach(el => {
2226 if (!el.closest('.metadata-container')) el.remove();
2227 });
2228 }
2229 }
2230
2231 // Update metadata in detailed view grid (only if in detailed view)
2232 const metadataContainer = existingElement.querySelector('.metadata-container');

Callers 9

showModelDetailsFunction · 0.85
handlerFunction · 0.85
renderer.jsFile · 0.85
refreshTagManagerListFunction · 0.85
applyTagsToModelFunction · 0.85
navigateDetailViewFunction · 0.85
handleItemClickFunction · 0.85
autoSaveModelFunction · 0.85
getModelFilePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected