MCPcopy Create free account
hub / github.com/error311/FileRise / isFileLike

Function isFileLike

public/js/sharedDropView.js:369–371  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

367 }
368
369 function isFileLike(file) {
370 return !!file && typeof file === 'object' && typeof file.name === 'string';
371 }
372
373 function ensureRow(item) {
374 if (rows.has(item.id)) return rows.get(item.id);

Callers 3

ensureRowFunction · 0.70
validateQueueItemFunction · 0.70
enqueueFilesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected