Initial commit

This commit is contained in:
dev
2025-02-27 21:53:53 +08:00
commit 815e55e4c0
1291 changed files with 185445 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include "MgmtdTypes.h"
#include "common/serde/SerdeComparisons.h"
#include "common/serde/SerdeHelper.h"
namespace hf3fs::flat {
struct ChainTargetInfo : public serde::SerdeHelper<ChainTargetInfo> {
bool operator==(const ChainTargetInfo &other) const { return serde::equals(*this, other); }
SERDE_STRUCT_FIELD(targetId, TargetId(0));
SERDE_STRUCT_FIELD(publicState, PublicTargetState(PublicTargetState::INVALID));
};
} // namespace hf3fs::flat