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

Method defaultLocalSource

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

Source from the content-addressed store, hash-verified

102 }
103
104 private static function defaultLocalSource(): array
105 {
106 return [
107 'id' => self::DEFAULT_ID,
108 'name' => 'Local',
109 'type' => 'local',
110 'enabled' => true,
111 'readOnly' => false,
112 'disableTrash' => false,
113 'config' => [
114 'path' => (string)UPLOAD_DIR,
115 ],
116 ];
117 }
118
119 private static function rawSourceMap(array $raw): array
120 {

Callers 2

coreConfigFromRawMethod · 0.95
getDefaultSourceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected