| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: move data definitions from fs_error.h to fs_error.cpp Move const std::string (FILEIO_TAG_ERR_CODE, FILEIO_TAG_ERR_DATA) and three static inline unordered_map tables (softbusErr2ErrCodeTable, uvCode2ErrCodeTable, errCodeTable) from the header to the cpp file. Replace definitions with extern declarations in the header to avoid data duplication across translation units. Remove unused <functional> and <tuple> includes, add <utility> for std::pair. Co-Authored-By: Agent Change-Id: Ia772175860277d3e54e82bff2217b0cd3d086e61 Signed-off-by: zxl <1554188414@qq.com> | 1 个月前 | |
refactor: move data definitions from fs_error.h to fs_error.cpp Move const std::string (FILEIO_TAG_ERR_CODE, FILEIO_TAG_ERR_DATA) and three static inline unordered_map tables (softbusErr2ErrCodeTable, uvCode2ErrCodeTable, errCodeTable) from the header to the cpp file. Replace definitions with extern declarations in the header to avoid data duplication across translation units. Remove unused <functional> and <tuple> includes, add <utility> for std::pair. Co-Authored-By: Agent Change-Id: Ia772175860277d3e54e82bff2217b0cd3d086e61 Signed-off-by: zxl <1554188414@qq.com> | 1 个月前 | |
增加通用工具类 Change-Id: I16864f2388f1eb887482571e3010648640470811 Signed-off-by: 姜小林 <jiangxiaolin11@huawei.com> | 1 年前 |