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

Method getDefaultSource

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

Source from the content-addressed store, hash-verified

361 }
362
363 public static function getDefaultSource(): array
364 {
365 if (self::proSourcesAvailable()) {
366 return ProSources::getDefaultSource();
367 }
368
369 return self::buildSourceView(self::normalizeSourceStored(self::defaultLocalSource()), true, false);
370 }
371
372 public static function saveEnabled(bool $enabled): bool
373 {

Callers 2

initMethod · 0.80

Calls 4

proSourcesAvailableMethod · 0.95
buildSourceViewMethod · 0.95
normalizeSourceStoredMethod · 0.95
defaultLocalSourceMethod · 0.95

Tested by

no test coverage detected