(
ix: IInstantiationService,
sessionId: string,
req: { id: string; body: unknown },
reply: { send(payload: unknown): unknown },
)
| 394 | } |
| 395 | |
| 396 | async function handleStatMany( |
| 397 | ix: IInstantiationService, |
| 398 | sessionId: string, |
| 399 | req: { id: string; body: unknown }, |
| 400 | reply: { send(payload: unknown): unknown }, |
| 401 | ): Promise<void> { |
| 402 | const parsed = fsStatManyRequestSchema.safeParse(req.body ?? {}); |
| 403 | if (!parsed.success) { |
| 404 | reply.send(buildValidationEnvelope(parsed.error.issues, req.id)); |
| 405 | return; |
| 406 | } |
| 407 | const body: FsStatManyRequest = parsed.data; |
| 408 | const data = await ix.invokeFunction((a) => |
| 409 | a.get(IFsService).statMany(sessionId, body), |
| 410 | ); |
| 411 | reply.send(okEnvelope(data, req.id)); |
| 412 | } |
| 413 | |
| 414 | async function handleMkdir( |
| 415 | ix: IInstantiationService, |
no test coverage detected