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

Method opListFiles

src/FileRise/Domain/McpCoreOpsService.php:181–188  ·  view source on GitHub ↗

* @param array $payload * @return array */

(McpOpsContext $ctx, array $payload)

Source from the content-addressed store, hash-verified

179 * @return array<string,mixed>
180 */
181 private static function opListFiles(McpOpsContext $ctx, array $payload): array
182 {
183 $mode = strtolower(trim((string)($payload['mode'] ?? 'fast')));
184 if ($mode === 'full') {
185 return self::opListFilesFull($ctx, $payload);
186 }
187 return self::opListFilesFast($ctx, $payload);
188 }
189
190 /**
191 * @param array<string,mixed> $payload

Callers 1

dispatchMethod · 0.95

Calls 2

opListFilesFullMethod · 0.95
opListFilesFastMethod · 0.95

Tested by

no test coverage detected