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

Function isFtpSourceId

public/js/folderManager.js:253–256  ·  view source on GitHub ↗
(sourceId = '')

Source from the content-addressed store, hash-verified

251}
252
253function isFtpSourceId(sourceId = '') {
254 const type = String(getSourceTypeById(sourceId || getActiveSourceId()) || '').toLowerCase();
255 return type === 'ftp';
256}
257
258function getRootLabel(sourceId = '') {
259 const id = sourceId || getActiveSourceId();

Callers 1

peekHasFoldersFunction · 0.85

Calls 2

getSourceTypeByIdFunction · 0.70
getActiveSourceIdFunction · 0.70

Tested by

no test coverage detected