(sourceId = '')
| 1654 | } |
| 1655 | |
| 1656 | function 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 | |
| 1662 | function getSourceMetaById(sourceId) { |
| 1663 | return { |
no test coverage detected