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

Function isFtpSource

public/js/fileListView.js:1644–1647  ·  view source on GitHub ↗
(sourceId = '')

Source from the content-addressed store, hash-verified

1642}
1643
1644function isFtpSource(sourceId = '') {
1645 const type = String(getSourceTypeById(sourceId || getGlobalActiveSourceId()) || '').toLowerCase();
1646 return type === 'ftp';
1647}
1648
1649function isLocalSourceLike(sourceId = '') {
1650 const id = String(sourceId || '').trim().toLowerCase();

Callers 2

fillHoverPreviewForRowFunction · 0.85
loadFileListFunction · 0.85

Calls 2

getGlobalActiveSourceIdFunction · 0.85
getSourceTypeByIdFunction · 0.70

Tested by

no test coverage detected