MCPcopy Create free account
hub / github.com/deepseek-ai/3FS / commitChainVer

Method commitChainVer

src/storage/update/UpdateJob.h:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 auto &state() { return state_; }
84 auto allowToAllocate() const { return allowToAllocate_; }
85 ChainVer commitChainVer() const {
86 if (options_.isSyncing) {
87 return options_.commitChainVer;
88 } else if (type() == UpdateType::COMMIT) {
89 return commitIO_.commitChainVer;
90 } else {
91 return updateIO_.key.vChainId.chainVer;
92 }
93 }
94
95 CoTask<void> complete() const { co_await baton_; }
96 void setResult(Result<uint32_t> result) {

Callers 4

updateMethod · 0.80
commitMethod · 0.80
updateMethod · 0.80
commitMethod · 0.80

Calls 1

typeFunction · 0.85

Tested by

no test coverage detected