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

Method sourcesEnabled

src/FileRise/Storage/SourcesConfig.php:265–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263 }
264
265 public static function sourcesEnabled(): bool
266 {
267 return !empty(self::getConfig()['enabled']);
268 }
269
270 public static function getConfig(): array
271 {

Callers 15

isEmpty.phpFile · 0.45
capabilities.phpFile · 0.45
saveGrants.phpFile · 0.45
getGrants.phpFile · 0.45
resolveSourceIdMethod · 0.45
configMethod · 0.45
createFolderMethod · 0.45
deleteFolderMethod · 0.45
getFolderListMethod · 0.45
deleteShareFolderLinkMethod · 0.45
moveFolderMethod · 0.45
handleUploadMethod · 0.45

Calls 1

getConfigMethod · 0.95

Tested by 1

runRootBoundaryChecksMethod · 0.36