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

Function isSlowRemoteSource

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

Source from the content-addressed store, hash-verified

1654}
1655
1656function isSlowRemoteSource(sourceId = '') {
1657 const type = String(getSourceTypeById(sourceId || getGlobalActiveSourceId()) || '').toLowerCase();
1658 if (!type || type === 'local') return false;
1659 return ['ftp', 'sftp', 'webdav'].includes(type);
1660}
1661
1662function getSourceMetaById(sourceId) {
1663 return {

Callers 3

fetchFolderStatsFunction · 0.85
fetchFolderSummaryStatsFunction · 0.85
fetchFolderPeekFunction · 0.85

Calls 2

getGlobalActiveSourceIdFunction · 0.85
getSourceTypeByIdFunction · 0.70

Tested by

no test coverage detected