mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
15 lines
553 B
C++
15 lines
553 B
C++
#include "CoreService.h"
|
|
|
|
#include "core/service/ops/Include.h"
|
|
#include "core/utils/runOp.h"
|
|
|
|
#define DEFINE_SERDE_SERVICE_METHOD_FULL(svc, name, Name, id, reqtype, rsptype) \
|
|
CoTryTask<rsptype> svc##Service::name(serde::CallContext &ctx, const reqtype &req) { \
|
|
Name##Operation op(std::move(req)); \
|
|
CO_INVOKE_OP_INFO(op, ctx.peer()); \
|
|
}
|
|
|
|
namespace hf3fs::core {
|
|
#include "fbs/core/service/CoreServiceDef.h"
|
|
} // namespace hf3fs::core
|