@ohos-cpf/3rdloop 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/README.md +43 -0
  2. package/lib/cli.js +38 -5
  3. package/lib/doctor.js +111 -10
  4. package/lib/knowledge.js +440 -0
  5. package/lib/mcp.js +498 -0
  6. package/package.json +6 -2
  7. package/vendor/Archive/data/.index/meta.json +7 -0
  8. package/vendor/Archive/data/.index/search.db +0 -0
  9. package/vendor/Archive/data/docs/experiences/arkts-check-tool-pitfalls-baseline-comparison.md +13 -0
  10. package/vendor/Archive/data/docs/experiences/arkts-deep-path-import-recognition.md +31 -0
  11. package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-entry-file-case-mismatch.md +25 -0
  12. package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-import-trailing-slash.md +20 -0
  13. package/vendor/Archive/data/docs/experiences/arkts-library-source-files-may-be-ts.md +18 -0
  14. package/vendor/Archive/data/docs/experiences/arkts-typedarray-buffer-interface-cast-compile-fixes.md +36 -0
  15. package/vendor/Archive/data/docs/experiences/arkts-xts-compile-error-clustering-fix.md +24 -0
  16. package/vendor/Archive/data/docs/experiences/arkts-xts-doc-expected-value-runtime-probe.md +35 -0
  17. package/vendor/Archive/data/docs/experiences/arkts-xts-fixture-rawfile-testability-injection.md +33 -0
  18. package/vendor/Archive/data/docs/experiences/code-linter-chinese-comment-false-positive.md +16 -0
  19. package/vendor/Archive/data/docs/experiences/esobject-new-expression-variable-tracking.md +33 -0
  20. package/vendor/Archive/data/docs/experiences/filesystem-case-sensitivity-module-resolution.md +31 -0
  21. package/vendor/Archive/data/docs/experiences/gitcode-clone-redirect-warning-normal.md +13 -0
  22. package/vendor/Archive/data/docs/experiences/kn_msgvq1w585ec8319.md +77 -0
  23. package/vendor/Archive/data/docs/experiences/kn_msovnm6rd46de72c.md +98 -0
  24. package/vendor/Archive/data/docs/experiences/kn_mspt8vntfe708576.md +87 -0
  25. package/vendor/Archive/data/docs/experiences/kn_mspu1ei77adbbb48.md +133 -0
  26. package/vendor/Archive/data/docs/experiences/kn_mspubgak8d30bfce.md +128 -0
  27. package/vendor/Archive/data/docs/experiences/kn_mspug2de3cb1f7c3.md +115 -0
  28. package/vendor/Archive/data/docs/experiences/kn_skill_opt_001.md +38 -0
  29. package/vendor/Archive/data/docs/experiences/loop-artifacts-verification-evidence-triangle.md +19 -0
  30. package/vendor/Archive/data/docs/experiences/macos-bash-replace-build-ps1.md +19 -0
  31. package/vendor/Archive/data/docs/experiences/macos-bsd-diff-q-illegal-option.md +15 -0
  32. package/vendor/Archive/data/docs/experiences/migrate-cjs-compatible-api-version-map-limit.md +17 -0
  33. package/vendor/Archive/data/docs/experiences/mp3agic-arkts-library-behavior-quirks.md +21 -0
  34. package/vendor/Archive/data/docs/experiences/ohos-face-detection-scan-api-mapping.md +15 -0
  35. package/vendor/Archive/data/docs/experiences/pr-metadata-and-diff-integrity-verification.md +12 -0
  36. package/vendor/Archive/data/docs/experiences/rn-coverage-index-signature-pseudo-member-false-negative.md +32 -0
  37. package/vendor/Archive/data/docs/experiences/rn-memory-check-severity-calibration.md +21 -0
  38. package/vendor/Archive/data/docs/experiences/rn-platform-specific-api-exclusion-evidence.md +24 -0
  39. package/vendor/Archive/data/docs/experiences/rn-upstream-version-diff-pitfalls.md +17 -0
  40. package/vendor/Archive/data/docs/experiences/rn-version-gap-risk-rating-rules.md +13 -0
  41. package/vendor/Archive/data/docs/experiences/rn-view-lib-native-contract-diff-fabric-spec.md +16 -0
  42. package/vendor/Archive/data/docs/experiences/rnoh-adapter-package-version-field-semantics.md +18 -0
  43. package/vendor/Archive/data/docs/experiences/rnoh-arkts-sqlite-rows-array-format.md +18 -0
  44. package/vendor/Archive/data/docs/experiences/rnoh-dependency-residue-scan-strategy.md +18 -0
  45. package/vendor/Archive/data/docs/experiences/rnoh-example-local-lib-dep-use-tgz.md +53 -0
  46. package/vendor/Archive/data/docs/experiences/rnoh-example-prereserve-rntesterlist.md +17 -0
  47. package/vendor/Archive/data/docs/experiences/rnoh-example-template-compatiblesdkversion-upgrade.md +29 -0
  48. package/vendor/Archive/data/docs/experiences/rnoh-example-turbomodule-shell-adaptation-checklist.md +41 -0
  49. package/vendor/Archive/data/docs/experiences/rnoh-mcp-build-project-tool-risk.md +18 -0
  50. package/vendor/Archive/data/docs/experiences/rnoh-npm-devdependencies-version-precheck.md +29 -0
  51. package/vendor/Archive/data/docs/experiences/rnoh-repo-baseline-version-verification.md +13 -0
  52. package/vendor/Archive/data/docs/experiences/rnoh-repo-upstream-directory-mapping.md +18 -0
  53. package/vendor/Archive/data/docs/experiences/rnoh-stateless-library-zero-leak-verification.md +31 -0
  54. package/vendor/Archive/data/docs/experiences/rnoh-template-npmrc-credential-removal.md +15 -0
  55. package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-codegen-wiring-verification.md +19 -0
  56. package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-cpp-methodmap-compatibility-check.md +20 -0
  57. package/vendor/Archive/data/docs/experiences/scenario-doc-vs-source-signature-diff-four-patterns.md +24 -0
  58. package/vendor/Archive/data/docs/experiences/static-analysis-grep-cross-validation.md +29 -0
  59. package/vendor/Archive/demo.js +489 -0
  60. package/vendor/Archive/index.js +43 -0
  61. package/vendor/Archive/package.json +16 -0
  62. package/vendor/Archive/src/constants.js +83 -0
  63. package/vendor/Archive/src/data/stopwords.txt +110 -0
  64. package/vendor/Archive/src/data/synonyms.json +25 -0
  65. package/vendor/Archive/src/data/terms.txt +59 -0
  66. package/vendor/Archive/src/db/sqlite-backend.js +312 -0
  67. package/vendor/Archive/src/db/sqlite-schema.js +64 -0
  68. package/vendor/Archive/src/engine.js +501 -0
  69. package/vendor/Archive/src/index/index-manager.js +203 -0
  70. package/vendor/Archive/src/index/index-state.js +94 -0
  71. package/vendor/Archive/src/index/search-text-builder.js +106 -0
  72. package/vendor/Archive/src/index.js +22 -0
  73. package/vendor/Archive/src/parser/api-identifiers.js +121 -0
  74. package/vendor/Archive/src/parser/api-suffixes.js +48 -0
  75. package/vendor/Archive/src/parser/heading-normalize.js +40 -0
  76. package/vendor/Archive/src/parser/markdown-splitter.js +215 -0
  77. package/vendor/Archive/src/search/catalog-routing.js +87 -0
  78. package/vendor/Archive/src/search/fts-search.js +289 -0
  79. package/vendor/Archive/src/search/query-normalizer.js +159 -0
  80. package/vendor/Archive/src/search/query-rewriter.js +72 -0
  81. package/vendor/Archive/src/search/search-engine.js +72 -0
  82. package/vendor/Archive/src/search/snippet.js +64 -0
  83. package/vendor/Archive/src/store/dir-store.js +103 -0
  84. package/vendor/Archive/src/store/doc-store.js +36 -0
  85. package/vendor/Archive/src/tokenizer/lexicon.js +151 -0
  86. package/vendor/Archive/src/tokenizer/tokenizer.js +167 -0
  87. package/vendor/Archive/src/types.js +86 -0
  88. package/vendor/Archive/src/utils/hash.js +16 -0
  89. package/vendor/Archive/src/utils/lock.js +73 -0
  90. package/vendor/Archive/src/utils/path-safety.js +96 -0
  91. package/vendor/Archive/src/utils/paths.js +39 -0
  92. package/vendor/BadCase/rn/INDEX.md +127 -0
  93. package/vendor/BadCase/rn/cases/KI-001-webview/350/247/206/351/242/221/346/227/240/346/263/225/346/250/252/345/261/217.md +52 -0
  94. package/vendor/BadCase/rn/cases/KI-002-fastImage/347/203/255/346/233/264/346/226/260/345/233/276/347/211/207/345/244/261/350/264/245.md +37 -0
  95. package/vendor/BadCase/rn/cases/KI-003-wechat/347/274/251/347/225/245/345/233/276/346/234/254/345/234/260/345/233/276/347/211/207.md +62 -0
  96. package/vendor/BadCase/rn/cases/KI-004-wechat/345/233/236/350/260/203/346/227/266/345/272/217.md +47 -0
  97. package/vendor/BadCase/rn/cases/KI-005-geolocation/345/257/274/345/205/245/350/267/257/345/276/204/345/220/216/347/274/200.md +31 -0
  98. package/vendor/BadCase/rn/cases/KI-006-SmartRefreshLayout/346/231/272/350/203/275/346/214/207/351/222/210/345/264/251/346/272/203.md +55 -0
  99. package/vendor/BadCase/rn/cases/KI-007-orientation-locker/344/274/240/346/204/237/345/231/250/345/210/235/345/247/213/345/214/226.md +58 -0
  100. package/vendor/BadCase/rn/cases/KI-008-orientation-locker/344/274/240/346/204/237/345/231/250/345/274/225/347/224/250/350/256/241/346/225/260.md +47 -0
  101. package/vendor/BadCase/rn/cases/KI-009-pager-view/345/265/214/345/245/227/346/273/221/345/212/250.md +38 -0
  102. package/vendor/BadCase/rn/cases/KI-010-screens/346/211/213/345/212/277/345/206/262/347/252/201.md +48 -0
  103. package/vendor/BadCase/rn/cases/KI-011-spring-scrollview/346/211/213/345/212/277/351/207/215/345/244/215/347/273/221/345/256/232.md +49 -0
  104. package/vendor/BadCase/rn/cases/KI-012-qr-camera/346/250/252/345/261/217/351/200/202/351/205/215.md +59 -0
  105. package/vendor/BadCase/rn/cases/KI-013-webview/346/267/261/350/211/262/346/250/241/345/274/217/350/203/214/346/231/257/350/211/262.md +37 -0
  106. package/vendor/BadCase/rn/cases/KI-014-amap-geolocation/345/233/236/350/260/203/347/274/272/345/244/261.md +42 -0
  107. package/vendor/BadCase/rn/cases/KI-015-reanimated/350/277/220/350/241/214/346/227/266/346/236/220/346/236/204/345/264/251/346/272/203.md +54 -0
  108. package/vendor/BadCase/rn/cases/KI-016-fs/346/226/207/344/273/266/350/257/273/345/217/226/347/274/226/347/240/201.md +58 -0
  109. package/vendor/BadCase/rn/cases/KI-017-blob-util/345/217/202/346/225/260/347/274/226/347/240/201/351/224/231/350/257/257.md +39 -0
  110. package/vendor/BadCase/rn/cases/KI-018-modal/345/274/271/347/252/227/351/227/252/347/203/201.md +53 -0
  111. package/vendor/BadCase/rn/cases/KI-019-code-push/351/207/215/345/220/257/351/200/273/350/276/221/345/244/261/346/225/210.md +79 -0
  112. package/vendor/BadCase/rn/cases/KI-020-netinfo/346/225/217/346/204/237/344/277/241/346/201/257/346/263/204/351/234/262.md +60 -0
  113. package/vendor/BadCase/rn/cases/KI-021-video/346/234/254/345/234/260/350/247/206/351/242/221/346/222/255/346/224/276/345/274/202/345/270/270.md +79 -0
  114. package/vendor/BadCase/rn/cases/KI-022-audio-recorder-player/346/236/232/344/270/276/347/274/272/345/244/261.md +38 -0
  115. package/vendor/BadCase/rn/cases/KI-023-svg/346/270/220/345/217/230/347/273/247/346/211/277/345/244/261/346/225/210.md +62 -0
  116. package/vendor/BadCase/rn/generalization-log.md +55 -0
  117. package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.json +328 -0
  118. package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.md +382 -0
  119. package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.json +1351 -0
  120. package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.md +1176 -0
  121. package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.json +538 -0
  122. package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.md +1488 -0
  123. package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.json +211 -0
  124. package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.md +35 -0
  125. package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.json +2048 -0
  126. package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.md +3866 -0
  127. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.json +198 -0
  128. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.md +40 -0
  129. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.json +751 -0
  130. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.md +883 -0
  131. package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.json +1544 -0
  132. package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.md +2598 -0
  133. package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.json +246 -0
  134. package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.md +554 -0
  135. package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.json +211 -0
  136. package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.md +54 -0
  137. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.json +1626 -0
  138. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.md +2213 -0
  139. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.json +208 -0
  140. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.md +77 -0
  141. package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.json +377 -0
  142. package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.md +174 -0
  143. package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.json +232 -0
  144. package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.md +194 -0
  145. package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.json +198 -0
  146. package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.md +67 -0
  147. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.json +198 -0
  148. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.md +38 -0
  149. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.json +208 -0
  150. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.md +34 -0
  151. package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.json +222 -0
  152. package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.md +56 -0
  153. package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.json +463 -0
  154. package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.md +383 -0
  155. package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.json +464 -0
  156. package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.md +565 -0
  157. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.json +198 -0
  158. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.md +47 -0
  159. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.json +232 -0
  160. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.md +422 -0
  161. package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.json +295 -0
  162. package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.md +1038 -0
  163. package/vendor/BadCase/rn/rules/R-01-/345/205/250/345/261/217/347/252/227/345/217/243/347/212/266/346/200/201/347/256/241/347/220/206/345/256/214/346/225/264/346/200/247.md +20 -0
  164. package/vendor/BadCase/rn/rules/R-02-/350/265/204/346/272/220URI/345/275/242/346/200/201/345/210/206/346/224/257/350/246/206/347/233/226.md +21 -0
  165. package/vendor/BadCase/rn/rules/R-03-/351/231/204/345/261/236/346/223/215/344/275/234/345/244/261/350/264/245/351/230/273/346/226/255/344/270/273/346/265/201/347/250/213.md +20 -0
  166. package/vendor/BadCase/rn/rules/R-04-/345/274/202/346/255/245/345/233/236/350/260/203/346/263/250/345/206/214/346/227/266/345/272/217.md +20 -0
  167. package/vendor/BadCase/rn/rules/R-05-/346/250/241/345/235/227/345/257/274/345/205/245/350/267/257/345/276/204/350/247/204/350/214/203.md +19 -0
  168. package/vendor/BadCase/rn/rules/R-06-/344/274/240/346/204/237/345/231/250/347/241/254/344/273/266/346/235/203/351/231/220/346/214/211/351/234/200/350/216/267/345/217/226.md +21 -0
  169. package/vendor/BadCase/rn/rules/R-07-/346/231/272/350/203/275/346/214/207/351/222/210/347/224/237/345/221/275/345/221/250/346/234/237/347/256/241/347/220/206.md +20 -0
  170. package/vendor/BadCase/rn/rules/R-08-/346/211/213/345/212/277/344/272/213/344/273/266/346/263/250/345/206/214/344/270/216/345/206/262/347/252/201/345/244/204/347/220/206.md +22 -0
  171. package/vendor/BadCase/rn/rules/R-09-/346/250/252/347/253/226/345/261/217/345/244/232/345/275/242/346/200/201/345/270/203/345/261/200/351/200/202/351/205/215.md +20 -0
  172. package/vendor/BadCase/rn/rules/R-10-/346/267/261/350/211/262/346/250/241/345/274/217/344/270/273/351/242/230/351/242/234/350/211/262/351/200/202/351/205/215.md +19 -0
  173. package/vendor/BadCase/rn/rules/R-11-/346/216/245/345/217/243/345/233/236/350/260/203/345/256/236/347/216/260/345/256/214/346/225/264/346/200/247.md +20 -0
  174. package/vendor/BadCase/rn/rules/R-12-/345/216/237/347/224/237/350/277/220/350/241/214/346/227/266/350/265/204/346/272/220/346/236/220/346/236/204/346/227/266/345/272/217.md +20 -0
  175. package/vendor/BadCase/rn/rules/R-13-/346/226/207/344/273/266/346/225/260/346/215/256/347/274/226/347/240/201/344/270/216/346/240/274/345/274/217/345/205/274/345/256/271.md +21 -0
  176. package/vendor/BadCase/rn/rules/R-14-/345/212/250/347/224/273/345/210/235/345/247/213/345/214/226/346/227/266/345/272/217/344/270/216/347/212/266/346/200/201/345/220/214/346/255/245.md +20 -0
  177. package/vendor/BadCase/rn/rules/R-15-/347/212/266/346/200/201/346/214/201/344/271/205/345/214/226/344/270/216/351/207/215/345/220/257/351/200/273/350/276/221/344/270/200/350/207/264/346/200/247.md +20 -0
  178. package/vendor/BadCase/rn/rules/R-16-/346/225/217/346/204/237/344/277/241/346/201/257/346/227/245/345/277/227/346/263/204/351/234/262.md +19 -0
  179. package/vendor/BadCase/rn/rules/R-17-/345/252/222/344/275/223/350/265/204/346/272/220/347/224/237/345/221/275/345/221/250/346/234/237/344/270/216/351/224/231/350/257/257/345/244/204/347/220/206.md +21 -0
  180. package/vendor/BadCase/rn/rules/R-18-/350/203/275/345/212/233/346/236/232/344/270/276/351/205/215/347/275/256/345/256/214/346/225/264/346/200/247.md +19 -0
  181. package/vendor/BadCase/rn/rules/R-19-/345/233/276/345/275/242/346/270/262/346/237/223/345/261/236/346/200/247/347/273/247/346/211/277/344/270/216/351/207/215/347/275/256.md +19 -0
  182. package/vendor/MCP/README.md +490 -0
  183. package/vendor/MCP/config.json +29 -0
  184. package/vendor/MCP/package.json +23 -0
  185. package/vendor/MCP/scripts/analyze-demo-coverage.cjs +1203 -0
  186. package/vendor/MCP/scripts/analyze-xts-coverage.cjs +1245 -0
  187. package/vendor/MCP/scripts/deveco_docs.js +247 -0
  188. package/vendor/MCP/scripts/extract-interfaces.cjs +1487 -0
  189. package/vendor/MCP/scripts/flutter-analyze-demo-coverage.cjs +666 -0
  190. package/vendor/MCP/scripts/flutter-analyze-xts-coverage.cjs +684 -0
  191. package/vendor/MCP/scripts/flutter-extract-interfaces.cjs +1251 -0
  192. package/vendor/MCP/scripts/flutter-render-spec-doc.cjs +351 -0
  193. package/vendor/MCP/scripts/render-spec-doc.cjs +347 -0
  194. package/vendor/MCP/scripts/rn-analyze-demo-coverage.cjs +645 -0
  195. package/vendor/MCP/scripts/rn-analyze-test-coverage.cjs +614 -0
  196. package/vendor/MCP/scripts/rn-extract-interfaces.cjs +1462 -0
  197. package/vendor/MCP/scripts/rn-render-spec-doc.cjs +327 -0
  198. package/vendor/MCP/scripts/rn-scan-exports.cjs +1336 -0
  199. package/vendor/MCP/src/client/MCPClientPool.js +220 -0
  200. package/vendor/MCP/src/config/ConfigLoader.js +189 -0
  201. package/vendor/MCP/src/executor/ScriptExecutor.js +110 -0
  202. package/vendor/MCP/src/gateway/Gateway.js +451 -0
  203. package/vendor/MCP/src/index.js +87 -0
  204. package/vendor/MCP/src/library/KBToolProvider.js +229 -0
  205. package/vendor/MCP/src/library/logger.js +60 -0
  206. package/vendor/MCP/src/registry/ScriptRegistry.js +238 -0
  207. package/vendor/MCP/src/registry/ToolRegistry.js +111 -0
  208. package/vendor/MCP/src/types.js +115 -0
  209. package/vendor/Server/Skills/arkts-library-test-coverage-check/references/MCP_TOOL_USAGE.md +4 -2
  210. package/vendor/Server/Skills/arkts-library-xts-coverage/SKILL.md +3 -3
  211. package/vendor/Server/Skills/knowledge-import/SKILL.md +1 -1
  212. package/vendor/Server/Skills/knowledge-import/references/MCP_TOOL_USAGE.md +12 -4
  213. package/vendor/Server/Skills/ohos-lib-pr-push/SKILL.md +5 -4
  214. package/vendor/Server/Skills/rn-library-issue-generalizer/SKILL.md +2 -2
  215. package/vendor/Server/Skills/rn-library-known-issue-check/SKILL.md +2 -2
  216. package/vendor/Server/Skills/rnoh-lib-demo-coverage/SKILL.md +1 -2
  217. package/vendor/Server/Skills/rnoh-lib-test-align/references/port-test-demo-guide.md +1 -1
  218. package/vendor/Server/Skills/rnoh-lib-xts-coverage/SKILL.md +1 -2
  219. package/vendor/Server/package.json +5 -1
  220. package/vendor/VERSION +3 -3
@@ -0,0 +1,751 @@
1
+ {
2
+ "pr": {
3
+ "id": 8785416,
4
+ "html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/merge_requests/38",
5
+ "number": 38,
6
+ "state": "merged",
7
+ "title": "fix:解决read接口读取其他格式的文件失败",
8
+ "url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-fs/pulls/38",
9
+ "issue_url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-fs/pulls/38/issues",
10
+ "body": "问题原因:read接口以前只能读取text的文件,无法读取其他文件,底层使用readText\n解决方案:read接口底层使用readSync",
11
+ "assignees_number": 2,
12
+ "assignees": [
13
+ {
14
+ "id": "6731c8f2fbbddc0c200a6019",
15
+ "login": "zhu_chengcheng",
16
+ "name": "zhu_chengcheng",
17
+ "avatar_url": "https://cdn-img.gitcode.com/fe/bd/f406eb600317d9bbb6a5c23042b49e5193dfbb7a63ee407f5bbfcbabcd177af1.jpg",
18
+ "html_url": "https://gitcode.com/zhu_chengcheng",
19
+ "assignee": true,
20
+ "code_owner": false,
21
+ "accept": false
22
+ },
23
+ {
24
+ "id": "67fdb69df01e3c566929edd4",
25
+ "login": "gcw_N7oHqLFR",
26
+ "name": "huang_jy",
27
+ "avatar_url": "",
28
+ "html_url": "https://gitcode.com/gcw_N7oHqLFR",
29
+ "assignee": true,
30
+ "code_owner": false,
31
+ "accept": true
32
+ }
33
+ ],
34
+ "testers": [
35
+ {
36
+ "id": "6541ccea82d8f837210e92c3",
37
+ "login": "openharmony_ci",
38
+ "name": "openharmony_ci",
39
+ "avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
40
+ "html_url": "https://gitcode.com/openharmony_ci",
41
+ "assignee": false,
42
+ "code_owner": false,
43
+ "accept": true
44
+ }
45
+ ],
46
+ "approval_reviewers": [],
47
+ "labels": [
48
+ {
49
+ "id": 13031381,
50
+ "color": "#20c22e",
51
+ "name": "dco检查成功",
52
+ "repository_id": 4369121,
53
+ "created_at": "2025-02-18T15:56:56+08:00",
54
+ "updated_at": "2026-06-25T20:50:10+08:00"
55
+ },
56
+ {
57
+ "id": 13031443,
58
+ "color": "#20c22e",
59
+ "name": "编译成功",
60
+ "repository_id": 4369121,
61
+ "created_at": "2025-02-18T17:46:01+08:00",
62
+ "updated_at": "2026-06-26T18:57:48+08:00"
63
+ },
64
+ {
65
+ "id": 13031380,
66
+ "color": "#20c22e",
67
+ "name": "静态检查成功",
68
+ "repository_id": 4369121,
69
+ "created_at": "2025-02-18T15:56:56+08:00",
70
+ "updated_at": "2026-06-26T18:58:00+08:00"
71
+ }
72
+ ],
73
+ "created_at": "2026-06-25T20:49:29+08:00",
74
+ "updated_at": "2026-06-26T19:05:57+08:00",
75
+ "closed_at": "2026-06-26T19:05:57+08:00",
76
+ "merged_at": "2026-06-26T19:05:57+08:00",
77
+ "merged_by": {
78
+ "id": "6541ccea82d8f837210e92c3",
79
+ "login": "openharmony_ci",
80
+ "name": "openharmony_ci",
81
+ "avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
82
+ "html_url": "https://gitcode.com/openharmony_ci"
83
+ },
84
+ "draft": false,
85
+ "can_merge_check": true,
86
+ "prune_branch": false,
87
+ "mergeable": true,
88
+ "user": {
89
+ "id": "67fe10947795fd623e1a1214",
90
+ "login": "chenbaodi123",
91
+ "name": "chenbaodi123",
92
+ "avatar_url": "",
93
+ "html_url": "https://gitcode.com/chenbaodi123"
94
+ },
95
+ "head": {
96
+ "ref": "br_rnoh0.72",
97
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
98
+ "label": "br_rnoh0.72",
99
+ "repo": {
100
+ "path": "rntpc_react-native-fs",
101
+ "name": "rntpc_react-native-fs",
102
+ "namespace": {
103
+ "path": "chenbaodi123"
104
+ },
105
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
106
+ "html_url": "https://gitcode.com/chenbaodi123/rntpc_react-native-fs.git"
107
+ },
108
+ "user": {
109
+ "id": "67fe10947795fd623e1a1214",
110
+ "login": "chenbaodi123",
111
+ "name": "chenbaodi123",
112
+ "avatar_url": "",
113
+ "html_url": "https://gitcode.com/chenbaodi123"
114
+ }
115
+ },
116
+ "base": {
117
+ "ref": "br_rnoh0.72",
118
+ "sha": "57b23c836d260735da42223894e874340b9653d7",
119
+ "label": "br_rnoh0.72",
120
+ "repo": {
121
+ "path": "rntpc_react-native-fs",
122
+ "name": "rntpc_react-native-fs",
123
+ "namespace": {
124
+ "path": "CPF-RN"
125
+ },
126
+ "full_name": "CPF-RN/rntpc_react-native-fs",
127
+ "html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs.git"
128
+ }
129
+ },
130
+ "mergeable_state": {
131
+ "merge_request_id": 8785416,
132
+ "state": true,
133
+ "status_without_user_auth": true,
134
+ "conflict_passed": true,
135
+ "branch_missing_passed": true,
136
+ "non_ff_passed": true,
137
+ "mr_state_passed": true,
138
+ "merged_by_user_passed": true,
139
+ "work_in_progress_passed": true,
140
+ "resolve_discussion_passed": true,
141
+ "ci_state_passed": true,
142
+ "merge_by_self_passed": true,
143
+ "can_force_merge": true,
144
+ "approval_reviewers_required_passed": true,
145
+ "approval_approvers_required_passed": true,
146
+ "approval_testers_required_passed": true,
147
+ "merge_request_switch": {
148
+ "review_mode": "approval",
149
+ "merge_method": "merge",
150
+ "only_allow_merge_if_all_discussions_are_resolved": true,
151
+ "disable_merge_by_self": true,
152
+ "only_allow_merge_if_pipeline_succeeds": false,
153
+ "disable_squash_merge": false,
154
+ "squash_merge_with_no_merge_commit": false,
155
+ "approval_required_reviewers_count": 0,
156
+ "approval_required_reviewers_branch": "*",
157
+ "add_notes_after_merged": true,
158
+ "mark_auto_merged_mr_as_closed": false,
159
+ "can_force_merge": true,
160
+ "can_reopen": true
161
+ },
162
+ "reason": {},
163
+ "check_tasks_num": 2,
164
+ "all_depend_merge_request_merged_passed": true,
165
+ "approval_approvers_result": 2,
166
+ "approval_testers_result": 2
167
+ },
168
+ "visibility_reason": "public",
169
+ "close_related_issue": true,
170
+ "squash_merge": false
171
+ },
172
+ "files": [
173
+ {
174
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
175
+ "filename": "OAT.xml",
176
+ "additions": 4,
177
+ "deletions": 0,
178
+ "blob_id": "47f3dc2e2b31e2f5e34825942acd73557002d091",
179
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/OAT.xml",
180
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/OAT.xml",
181
+ "patch": "@@ -34,6 +34,8 @@\n <filteritem type=\"filepath\" name=\"index.*\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n <filteritem type=\"filepath\" name=\"hvigor/hvigor-wrapper.js\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n <filteritem type=\"filepath\" name=\"hvigor/hvigor-config.json5\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filepath\" name=\".jshintrc\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filepath\" name=\"buildEnv.sh\" desc=\"工程模板,不添加许可证头\"/>\n </filefilter>\n <filefilter name=\"defaultPolicyFilter\" desc=\"Filters for compatibility,license header policies\">\n <filteritem type=\"filepath\" name=\"example/.*\" desc=\"示例工程,不添加版权头\"/>\n@@ -54,6 +56,8 @@\n <filteritem type=\"filepath\" name=\"index.*\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n <filteritem type=\"filepath\" name=\"hvigor/hvigor-wrapper.js\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n <filteritem type=\"filepath\" name=\"hvigor/hvigor-config.json5\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filepath\" name=\".jshintrc\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filepath\" name=\"buildEnv.sh\" desc=\"工程模板,不添加许可证头\"/>\n </filefilter>\n \n <filefilter name=\"binaryFileTypePolicyFilter\" desc=\"Filters for copyright header policies\">\n",
182
+ "target_branch": "br_rnoh0.72",
183
+ "source_branch": "br_rnoh0.72",
184
+ "source_project": {
185
+ "id": 10219332,
186
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
187
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
188
+ "path": "rntpc_react-native-fs"
189
+ },
190
+ "target_project": {
191
+ "id": 4369121,
192
+ "full_name": "CPF-RN/rntpc_react-native-fs",
193
+ "human_name": "CPF-RN / rntpc_react-native-fs",
194
+ "path": "rntpc_react-native-fs"
195
+ }
196
+ },
197
+ {
198
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
199
+ "filename": "buildEnv.sh",
200
+ "status": "added",
201
+ "additions": 8,
202
+ "deletions": 0,
203
+ "blob_id": "54b5a197d05363b1fe29d1e9fb071c73809e5dcf",
204
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/buildEnv.sh",
205
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/buildEnv.sh",
206
+ "patch": "@@ -0,0 +1,8 @@\n+#!/bin/bash\n+BUILD_PKG_DIR=example\n+BUILD_SAMPLE_DIR=example/harmony\n+BUILD_THIRD_PARTY_DIR=harmony/\n+\n+# BUILD_PKG_DIR: 用来打 tgz 包的工程目录\n+# BUILD_SAMPLE_DIR:用来打 har 包的目录\n+# BUILD_THIRD_PARTY_DIR:库模块源码目录\n",
207
+ "target_branch": "br_rnoh0.72",
208
+ "source_branch": "br_rnoh0.72",
209
+ "source_project": {
210
+ "id": 10219332,
211
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
212
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
213
+ "path": "rntpc_react-native-fs"
214
+ },
215
+ "target_project": {
216
+ "id": 4369121,
217
+ "full_name": "CPF-RN/rntpc_react-native-fs",
218
+ "human_name": "CPF-RN / rntpc_react-native-fs",
219
+ "path": "rntpc_react-native-fs"
220
+ }
221
+ },
222
+ {
223
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
224
+ "filename": "example/harmony/build-profile.template.json5",
225
+ "additions": 1,
226
+ "deletions": 2,
227
+ "blob_id": "9db07942f607d4dc7a57f6d138ee0f78f38c3892",
228
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/build-profile.template.json5",
229
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/build-profile.template.json5",
230
+ "patch": "@@ -4,8 +4,7 @@\n {\n \"name\": 'default',\n \"signingConfig\": 'default',\n- \"compileSdkVersion\": '5.0.1(13)',\n- \"compatibleSdkVersion\": '5.0.1(13)',\n+ compatibleSdkVersion: '5.0.0(12)',\n \"runtimeOS\": 'HarmonyOS'\n },\n ],\n",
231
+ "target_branch": "br_rnoh0.72",
232
+ "source_branch": "br_rnoh0.72",
233
+ "source_project": {
234
+ "id": 10219332,
235
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
236
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
237
+ "path": "rntpc_react-native-fs"
238
+ },
239
+ "target_project": {
240
+ "id": 4369121,
241
+ "full_name": "CPF-RN/rntpc_react-native-fs",
242
+ "human_name": "CPF-RN / rntpc_react-native-fs",
243
+ "path": "rntpc_react-native-fs"
244
+ }
245
+ },
246
+ {
247
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
248
+ "filename": "example/harmony/entry/oh-package.json5",
249
+ "additions": 1,
250
+ "deletions": 2,
251
+ "blob_id": "baefb1aa3e93c62124123d1ad034004a9db2d91d",
252
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/oh-package.json5",
253
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/oh-package.json5",
254
+ "patch": "@@ -5,8 +5,7 @@\n \"description\": \"example description\",\n \"version\": \"1.0.0\",\n \"dependencies\": {\n- \"@rnoh/react-native-openharmony\": \"0.72.38\",\n-// \"@react-native-ohos/react-native-fs\": \"file:../fs\"\n+ \"@rnoh/react-native-openharmony\": \"file:../../node_modules/react-native-harmony/react_native_openharmony.har\",\n \"@react-native-ohos/react-native-fs\": \"file:../../node_modules/@react-native-ohos/react-native-fs/harmony/fs.har\",\n }\n }\n\\n",
255
+ "target_branch": "br_rnoh0.72",
256
+ "source_branch": "br_rnoh0.72",
257
+ "source_project": {
258
+ "id": 10219332,
259
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
260
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
261
+ "path": "rntpc_react-native-fs"
262
+ },
263
+ "target_project": {
264
+ "id": 4369121,
265
+ "full_name": "CPF-RN/rntpc_react-native-fs",
266
+ "human_name": "CPF-RN / rntpc_react-native-fs",
267
+ "path": "rntpc_react-native-fs"
268
+ }
269
+ },
270
+ {
271
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
272
+ "filename": "example/harmony/entry/src/main/ets/entryability/EntryAbility.ets",
273
+ "additions": 22,
274
+ "deletions": 4,
275
+ "blob_id": "4b2bf64541413dda548d4817931e42435c8ef7cc",
276
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/src/main/ets/entryability/EntryAbility.ets",
277
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/src/main/ets/entryability/EntryAbility.ets",
278
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import {RNAbility} from '@rnoh/react-native-openharmony';\n",
279
+ "target_branch": "br_rnoh0.72",
280
+ "source_branch": "br_rnoh0.72",
281
+ "source_project": {
282
+ "id": 10219332,
283
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
284
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
285
+ "path": "rntpc_react-native-fs"
286
+ },
287
+ "target_project": {
288
+ "id": 4369121,
289
+ "full_name": "CPF-RN/rntpc_react-native-fs",
290
+ "human_name": "CPF-RN / rntpc_react-native-fs",
291
+ "path": "rntpc_react-native-fs"
292
+ }
293
+ },
294
+ {
295
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
296
+ "filename": "example/harmony/entry/src/main/ets/pages/Index.ets",
297
+ "additions": 22,
298
+ "deletions": 4,
299
+ "blob_id": "26a1bd483fe8cbc9c6df0cfd4f410adca4942a6d",
300
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/src/main/ets/pages/Index.ets",
301
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/src/main/ets/pages/Index.ets",
302
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import {\n",
303
+ "target_branch": "br_rnoh0.72",
304
+ "source_branch": "br_rnoh0.72",
305
+ "source_project": {
306
+ "id": 10219332,
307
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
308
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
309
+ "path": "rntpc_react-native-fs"
310
+ },
311
+ "target_project": {
312
+ "id": 4369121,
313
+ "full_name": "CPF-RN/rntpc_react-native-fs",
314
+ "human_name": "CPF-RN / rntpc_react-native-fs",
315
+ "path": "rntpc_react-native-fs"
316
+ }
317
+ },
318
+ {
319
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
320
+ "filename": "example/harmony/entry/src/main/ets/pages/SurfaceDeadlockTest.ets",
321
+ "additions": 22,
322
+ "deletions": 4,
323
+ "blob_id": "af4d9aeb462f9de9e007e73b21b401c65748ee36",
324
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/src/main/ets/pages/SurfaceDeadlockTest.ets",
325
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/entry/src/main/ets/pages/SurfaceDeadlockTest.ets",
326
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n import { RNInstance, JSBundleProvider, RNAbility, RNSurface } from '@rnoh/react-native-openharmony'\n import { CustomComponentBuilder } from \"@rnoh/react-native-openharmony/src/main/ets/RNOHCorePackage\"\n",
327
+ "target_branch": "br_rnoh0.72",
328
+ "source_branch": "br_rnoh0.72",
329
+ "source_project": {
330
+ "id": 10219332,
331
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
332
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
333
+ "path": "rntpc_react-native-fs"
334
+ },
335
+ "target_project": {
336
+ "id": 4369121,
337
+ "full_name": "CPF-RN/rntpc_react-native-fs",
338
+ "human_name": "CPF-RN / rntpc_react-native-fs",
339
+ "path": "rntpc_react-native-fs"
340
+ }
341
+ },
342
+ {
343
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
344
+ "filename": "example/harmony/oh-package.json5",
345
+ "additions": 1,
346
+ "deletions": 1,
347
+ "blob_id": "b8f190a82e8c2ebec8b4b34d6f97886306b44ef1",
348
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/oh-package.json5",
349
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/example/harmony/oh-package.json5",
350
+ "patch": "@@ -6,7 +6,7 @@\n \"repository\": {},\n \"version\": \"1.0.0\",\n \"overrides\": {\n- \"@rnoh/react-native-openharmony\": \"0.72.38\"\n+ \"@rnoh/react-native-openharmony\": \"file:./../node_modules/react-native-harmony/react_native_openharmony.har\"\n },\n \"dynamicDependencies\": {}\n }\n\\n",
351
+ "target_branch": "br_rnoh0.72",
352
+ "source_branch": "br_rnoh0.72",
353
+ "source_project": {
354
+ "id": 10219332,
355
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
356
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
357
+ "path": "rntpc_react-native-fs"
358
+ },
359
+ "target_project": {
360
+ "id": 4369121,
361
+ "full_name": "CPF-RN/rntpc_react-native-fs",
362
+ "human_name": "CPF-RN / rntpc_react-native-fs",
363
+ "path": "rntpc_react-native-fs"
364
+ }
365
+ },
366
+ {
367
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
368
+ "filename": "example/package.json",
369
+ "additions": 4,
370
+ "deletions": 3,
371
+ "blob_id": "c5e7b95b899aed16cd4b47a5078b1c4828a51089",
372
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/example/package.json",
373
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/example/package.json",
374
+ "patch": "@@ -8,15 +8,16 @@\n \"start\": \"hdc rport tcp:8081 tcp:8081 && react-native start\",\n \"codegen\": \"react-native codegen-harmony --rnoh-module-path ./harmony/entry/oh_modules/@rnoh/react-native-openharmony\",\n \"pack:pkg\": \"cd ../ && npm run pack && cd ./example\",\n- \"install:pkg\": \"npm uninstall @react-native-ohos/react-native-fs && npm run pack:pkg && npm i @react-native-ohos/react-native-fs@file:../react-native-ohos-react-native-fs-2.20.1-rc.2.tgz\",\n+ \"install:pkg\": \"npm uninstall @react-native-ohos/react-native-fs && npm run pack:pkg && npm i @react-native-ohos/react-native-fs@file:../react-native-ohos-react-native-fs-2.20.1-1.tgz\",\n \"dev\": \"npm run codegen && react-native bundle-harmony --dev --minify=false\",\n \"prod\": \"npm run codegen && react-native bundle-harmony --dev=false --minify=true\",\n \"postinstall\": \"node ./scripts/create-build-profile\",\n- \"fast:pkg\": \"cd ../ && npm i --legacy-peer-deps && npm pack && cd ./example && npm i && npm run dev\"\n+ \"fast-install-project\": \"cd ../ && npm i --force && npm run pack && rm -r node_modules && cd ./example && npm i --force\",\n+ \"fast:pkg\": \"npm run fast-install-project && npm run dev\"\n },\n \"dependencies\": {\n \"@gorhom/portal\": \"^1.0.14\",\n- \"@react-native-ohos/react-native-fs\": \"file:../react-native-ohos-react-native-fs-2.20.1-rc.2.tgz\",\n+ \"@react-native-ohos/react-native-fs\": \"file:../react-native-ohos-react-native-fs-2.20.1-1.tgz\",\n \"@rnoh/testerino\": \"npm:@react-native-oh-tpl/testerino@0.0.9\",\n \"react\": \"18.2.0\",\n \"react-native\": \"0.72.5\",\n",
375
+ "target_branch": "br_rnoh0.72",
376
+ "source_branch": "br_rnoh0.72",
377
+ "source_project": {
378
+ "id": 10219332,
379
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
380
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
381
+ "path": "rntpc_react-native-fs"
382
+ },
383
+ "target_project": {
384
+ "id": 4369121,
385
+ "full_name": "CPF-RN/rntpc_react-native-fs",
386
+ "human_name": "CPF-RN / rntpc_react-native-fs",
387
+ "path": "rntpc_react-native-fs"
388
+ }
389
+ },
390
+ {
391
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
392
+ "filename": "harmony/fs/BuildProfile.ets",
393
+ "additions": 22,
394
+ "deletions": 4,
395
+ "blob_id": "5d76642c3d580d81dfae9316cd51d6a0af20b820",
396
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/BuildProfile.ets",
397
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/BuildProfile.ets",
398
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n /**\n",
399
+ "target_branch": "br_rnoh0.72",
400
+ "source_branch": "br_rnoh0.72",
401
+ "source_project": {
402
+ "id": 10219332,
403
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
404
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
405
+ "path": "rntpc_react-native-fs"
406
+ },
407
+ "target_project": {
408
+ "id": 4369121,
409
+ "full_name": "CPF-RN/rntpc_react-native-fs",
410
+ "human_name": "CPF-RN / rntpc_react-native-fs",
411
+ "path": "rntpc_react-native-fs"
412
+ }
413
+ },
414
+ {
415
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
416
+ "filename": "harmony/fs/hvigorfile.ts",
417
+ "additions": 22,
418
+ "deletions": 4,
419
+ "blob_id": "f56e206efef6d84ca85fa99af9340f20a3e88fc3",
420
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/hvigorfile.ts",
421
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/hvigorfile.ts",
422
+ "patch": "@@ -1,6 +1,24 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n export { harTasks } from '@ohos/hvigor-ohos-plugin';\n\\n",
423
+ "target_branch": "br_rnoh0.72",
424
+ "source_branch": "br_rnoh0.72",
425
+ "source_project": {
426
+ "id": 10219332,
427
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
428
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
429
+ "path": "rntpc_react-native-fs"
430
+ },
431
+ "target_project": {
432
+ "id": 4369121,
433
+ "full_name": "CPF-RN/rntpc_react-native-fs",
434
+ "human_name": "CPF-RN / rntpc_react-native-fs",
435
+ "path": "rntpc_react-native-fs"
436
+ }
437
+ },
438
+ {
439
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
440
+ "filename": "harmony/fs/index.ets",
441
+ "additions": 22,
442
+ "deletions": 4,
443
+ "blob_id": "a161689649480a1898427894804e390118ac3e5d",
444
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/index.ets",
445
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/index.ets",
446
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n import { FsPackage } from './src/main/ets/FsPackage'\n export * from './ts'\n",
447
+ "target_branch": "br_rnoh0.72",
448
+ "source_branch": "br_rnoh0.72",
449
+ "source_project": {
450
+ "id": 10219332,
451
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
452
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
453
+ "path": "rntpc_react-native-fs"
454
+ },
455
+ "target_project": {
456
+ "id": 4369121,
457
+ "full_name": "CPF-RN/rntpc_react-native-fs",
458
+ "human_name": "CPF-RN / rntpc_react-native-fs",
459
+ "path": "rntpc_react-native-fs"
460
+ }
461
+ },
462
+ {
463
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
464
+ "filename": "harmony/fs/src/main/cpp/RNFSPackage.h",
465
+ "additions": 22,
466
+ "deletions": 4,
467
+ "blob_id": "db533198de54d47dc4d4685bf73b9d406e8b3cb4",
468
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/main/cpp/RNFSPackage.h",
469
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/main/cpp/RNFSPackage.h",
470
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n #ifndef FSPACKAGE_H\n #define FSPACKAGE_H\n",
471
+ "target_branch": "br_rnoh0.72",
472
+ "source_branch": "br_rnoh0.72",
473
+ "source_project": {
474
+ "id": 10219332,
475
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
476
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
477
+ "path": "rntpc_react-native-fs"
478
+ },
479
+ "target_project": {
480
+ "id": 4369121,
481
+ "full_name": "CPF-RN/rntpc_react-native-fs",
482
+ "human_name": "CPF-RN / rntpc_react-native-fs",
483
+ "path": "rntpc_react-native-fs"
484
+ }
485
+ },
486
+ {
487
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
488
+ "filename": "harmony/fs/src/main/ets/FsPackage.ets",
489
+ "additions": 22,
490
+ "deletions": 4,
491
+ "blob_id": "2226bff412cb27fffa2c82cd7c33a320cab1e43b",
492
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/main/ets/FsPackage.ets",
493
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/main/ets/FsPackage.ets",
494
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import { RNPackage, TurboModulesFactory } from '@rnoh/react-native-openharmony/ts';\n",
495
+ "target_branch": "br_rnoh0.72",
496
+ "source_branch": "br_rnoh0.72",
497
+ "source_project": {
498
+ "id": 10219332,
499
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
500
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
501
+ "path": "rntpc_react-native-fs"
502
+ },
503
+ "target_project": {
504
+ "id": 4369121,
505
+ "full_name": "CPF-RN/rntpc_react-native-fs",
506
+ "human_name": "CPF-RN / rntpc_react-native-fs",
507
+ "path": "rntpc_react-native-fs"
508
+ }
509
+ },
510
+ {
511
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
512
+ "filename": "harmony/fs/src/main/ets/FsTurboModule.ts",
513
+ "additions": 56,
514
+ "deletions": 18,
515
+ "blob_id": "7745f6b19cd86831f3d823b11561b6fb57298ec7",
516
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/main/ets/FsTurboModule.ts",
517
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/main/ets/FsTurboModule.ts",
518
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import { TurboModule, RNOHError, TurboModuleContext } from '@rnoh/react-native-openharmony/ts';\n@@ -482,8 +500,9 @@ export class FsTurboModule extends TurboModule implements TM.ReactNativeFs.Spec\n readFile(path: string): Promise<string> {\n this.logger.info('readFile')\n return new Promise((resolve, reject) => {\n+ let file: fs.File | null = null;\n try {\n- let file = fs.openSync(path);\n+ file = fs.openSync(path);\n let bufSize = this.FOUR_ZERO_NINE_SIX;\n let readSize = this.ZERO;\n let buf = new ArrayBuffer(bufSize);\n@@ -499,7 +518,6 @@ export class FsTurboModule extends TurboModule implements TM.ReactNativeFs.Spec\n buffers.push(buffer.from(buf.slice(this.ZERO, readLen)))\n readLen = fs.readSync(file.fd, buf, readOptions);\n }\n- fs.closeSync(file);\n let finalBuf: ArrayBuffer = buffer.concat(buffers).buffer;\n let base64Helper = new util.Base64Helper;\n let result = base64Helper.encodeToStringSync(new Uint8Array(finalBuf));\n@@ -507,6 +525,14 @@ export class FsTurboModule extends TurboModule implements TM.ReactNativeFs.Spec\n } catch (e) {\n this.logger.error(`readFile error: ${e?.message}`)\n reject(e);\n+ } finally {\n+ if (file) {\n+ try {\n+ fs.closeSync(file);\n+ } catch (closeErr: any) {\n+ this.logger.error(`readFile close error: ${closeErr?.message}`);\n+ }\n+ }\n }\n })\n };\n@@ -682,19 +708,31 @@ export class FsTurboModule extends TurboModule implements TM.ReactNativeFs.Spec\n // 文件内容部分读\n read(path: string, length: number, position: number): Promise<string> {\n return new Promise((resolve, reject) => {\n- let readTextOption: ReadTextOptions = {\n- offset: position,\n- length: length,\n- encoding: this.UTF_8\n- };\n- fs.readText(path, readTextOption, (err: BusinessError, str: string) => {\n- if (err) {\n- reject('readText failed with error message: ' + err.message + ', error code: ' + err.code);\n- } else {\n- let result = buffer.from(str, this.UTF8).toString(this.BASE64);\n- resolve(result);\n+ let file: fs.File | null = null;\n+ try {\n+ file = fs.openSync(path);\n+ let buf = new ArrayBuffer(length);\n+ let readOptions: ReadOptions = {\n+ offset: position,\n+ length: length\n+ };\n+ let readLen = fs.readSync(file.fd, buf, readOptions);\n+ let actualBuf = buf.slice(0, readLen);\n+ let base64Helper = new util.Base64Helper();\n+ let result = base64Helper.encodeToStringSync(new Uint8Array(actualBuf));\n+ resolve(result);\n+ } catch (e) {\n+ this.logger.error(`read error: ${e?.message}`)\n+ reject(e);\n+ } finally {\n+ if (file) {\n+ try {\n+ fs.closeSync(file);\n+ } catch (closeErr: any) {\n+ this.logger.error(`read close error: ${closeErr?.message}`);\n+ }\n }\n- });\n+ }\n })\n }\n \n",
519
+ "target_branch": "br_rnoh0.72",
520
+ "source_branch": "br_rnoh0.72",
521
+ "source_project": {
522
+ "id": 10219332,
523
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
524
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
525
+ "path": "rntpc_react-native-fs"
526
+ },
527
+ "target_project": {
528
+ "id": 4369121,
529
+ "full_name": "CPF-RN/rntpc_react-native-fs",
530
+ "human_name": "CPF-RN / rntpc_react-native-fs",
531
+ "path": "rntpc_react-native-fs"
532
+ }
533
+ },
534
+ {
535
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
536
+ "filename": "harmony/fs/src/ohosTest/ets/test/Ability.test.ets",
537
+ "additions": 22,
538
+ "deletions": 4,
539
+ "blob_id": "a8773a6b4108a4f34b09c6c275c0c084b3c51ffc",
540
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/test/Ability.test.ets",
541
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/test/Ability.test.ets",
542
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import hilog from '@ohos.hilog';\n",
543
+ "target_branch": "br_rnoh0.72",
544
+ "source_branch": "br_rnoh0.72",
545
+ "source_project": {
546
+ "id": 10219332,
547
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
548
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
549
+ "path": "rntpc_react-native-fs"
550
+ },
551
+ "target_project": {
552
+ "id": 4369121,
553
+ "full_name": "CPF-RN/rntpc_react-native-fs",
554
+ "human_name": "CPF-RN / rntpc_react-native-fs",
555
+ "path": "rntpc_react-native-fs"
556
+ }
557
+ },
558
+ {
559
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
560
+ "filename": "harmony/fs/src/ohosTest/ets/test/List.test.ets",
561
+ "additions": 22,
562
+ "deletions": 4,
563
+ "blob_id": "27027cb0c608c3d3639b99a69615c2cdd07ea652",
564
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/test/List.test.ets",
565
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/test/List.test.ets",
566
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import abilityTest from './Ability.test';\n",
567
+ "target_branch": "br_rnoh0.72",
568
+ "source_branch": "br_rnoh0.72",
569
+ "source_project": {
570
+ "id": 10219332,
571
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
572
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
573
+ "path": "rntpc_react-native-fs"
574
+ },
575
+ "target_project": {
576
+ "id": 4369121,
577
+ "full_name": "CPF-RN/rntpc_react-native-fs",
578
+ "human_name": "CPF-RN / rntpc_react-native-fs",
579
+ "path": "rntpc_react-native-fs"
580
+ }
581
+ },
582
+ {
583
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
584
+ "filename": "harmony/fs/src/ohosTest/ets/testability/TestAbility.ets",
585
+ "additions": 22,
586
+ "deletions": 4,
587
+ "blob_id": "5ea0df1aecede8be21869a55700a0c95b72cfb81",
588
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/testability/TestAbility.ets",
589
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/testability/TestAbility.ets",
590
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import UIAbility from '@ohos.app.ability.UIAbility';\n",
591
+ "target_branch": "br_rnoh0.72",
592
+ "source_branch": "br_rnoh0.72",
593
+ "source_project": {
594
+ "id": 10219332,
595
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
596
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
597
+ "path": "rntpc_react-native-fs"
598
+ },
599
+ "target_project": {
600
+ "id": 4369121,
601
+ "full_name": "CPF-RN/rntpc_react-native-fs",
602
+ "human_name": "CPF-RN / rntpc_react-native-fs",
603
+ "path": "rntpc_react-native-fs"
604
+ }
605
+ },
606
+ {
607
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
608
+ "filename": "harmony/fs/src/ohosTest/ets/testability/pages/Index.ets",
609
+ "additions": 22,
610
+ "deletions": 4,
611
+ "blob_id": "d6bf68944844f10832bf5feddd81bba6a2305c64",
612
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/testability/pages/Index.ets",
613
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/testability/pages/Index.ets",
614
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n @Entry\n",
615
+ "target_branch": "br_rnoh0.72",
616
+ "source_branch": "br_rnoh0.72",
617
+ "source_project": {
618
+ "id": 10219332,
619
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
620
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
621
+ "path": "rntpc_react-native-fs"
622
+ },
623
+ "target_project": {
624
+ "id": 4369121,
625
+ "full_name": "CPF-RN/rntpc_react-native-fs",
626
+ "human_name": "CPF-RN / rntpc_react-native-fs",
627
+ "path": "rntpc_react-native-fs"
628
+ }
629
+ },
630
+ {
631
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
632
+ "filename": "harmony/fs/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ets",
633
+ "additions": 22,
634
+ "deletions": 4,
635
+ "blob_id": "76c7ce6d1a04eec7a93153203e2f01fe6425de7d",
636
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ets",
637
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ets",
638
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import hilog from '@ohos.hilog';\n",
639
+ "target_branch": "br_rnoh0.72",
640
+ "source_branch": "br_rnoh0.72",
641
+ "source_project": {
642
+ "id": 10219332,
643
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
644
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
645
+ "path": "rntpc_react-native-fs"
646
+ },
647
+ "target_project": {
648
+ "id": 4369121,
649
+ "full_name": "CPF-RN/rntpc_react-native-fs",
650
+ "human_name": "CPF-RN / rntpc_react-native-fs",
651
+ "path": "rntpc_react-native-fs"
652
+ }
653
+ },
654
+ {
655
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
656
+ "filename": "harmony/fs/src/test/List.test.ets",
657
+ "additions": 22,
658
+ "deletions": 4,
659
+ "blob_id": "b4e45aceacbef72db2a3e458f1e7309f21f8f6cc",
660
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/test/List.test.ets",
661
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/test/List.test.ets",
662
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import localUnitTest from './LocalUnit.test';\n",
663
+ "target_branch": "br_rnoh0.72",
664
+ "source_branch": "br_rnoh0.72",
665
+ "source_project": {
666
+ "id": 10219332,
667
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
668
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
669
+ "path": "rntpc_react-native-fs"
670
+ },
671
+ "target_project": {
672
+ "id": 4369121,
673
+ "full_name": "CPF-RN/rntpc_react-native-fs",
674
+ "human_name": "CPF-RN / rntpc_react-native-fs",
675
+ "path": "rntpc_react-native-fs"
676
+ }
677
+ },
678
+ {
679
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
680
+ "filename": "harmony/fs/src/test/LocalUnit.test.ets",
681
+ "additions": 22,
682
+ "deletions": 4,
683
+ "blob_id": "56958b228a23baed9fb6769a1aadd5bbdcbcd8e1",
684
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/test/LocalUnit.test.ets",
685
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/src/test/LocalUnit.test.ets",
686
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium';\n",
687
+ "target_branch": "br_rnoh0.72",
688
+ "source_branch": "br_rnoh0.72",
689
+ "source_project": {
690
+ "id": 10219332,
691
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
692
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
693
+ "path": "rntpc_react-native-fs"
694
+ },
695
+ "target_project": {
696
+ "id": 4369121,
697
+ "full_name": "CPF-RN/rntpc_react-native-fs",
698
+ "human_name": "CPF-RN / rntpc_react-native-fs",
699
+ "path": "rntpc_react-native-fs"
700
+ }
701
+ },
702
+ {
703
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
704
+ "filename": "harmony/fs/ts.ets",
705
+ "additions": 22,
706
+ "deletions": 4,
707
+ "blob_id": "cedfe1efd6b5dbabe8fae1a1e6f2991ccbb41e66",
708
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/ts.ets",
709
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/harmony/fs/ts.ets",
710
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n export * from \"./src/main/ets/FsPackage\"\n",
711
+ "target_branch": "br_rnoh0.72",
712
+ "source_branch": "br_rnoh0.72",
713
+ "source_project": {
714
+ "id": 10219332,
715
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
716
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
717
+ "path": "rntpc_react-native-fs"
718
+ },
719
+ "target_project": {
720
+ "id": 4369121,
721
+ "full_name": "CPF-RN/rntpc_react-native-fs",
722
+ "human_name": "CPF-RN / rntpc_react-native-fs",
723
+ "path": "rntpc_react-native-fs"
724
+ }
725
+ },
726
+ {
727
+ "sha": "ee116e60485a080eebc6598d59cd5ef532d728ce",
728
+ "filename": "src/NativeReactNativeFs.ts",
729
+ "additions": 22,
730
+ "deletions": 4,
731
+ "blob_id": "6de386763e705c945e6add6ce8282c34a163b350",
732
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-fs/blob/ee116e60485a080eebc6598d59cd5ef532d728ce/src/NativeReactNativeFs.ts",
733
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-fs/raw/ee116e60485a080eebc6598d59cd5ef532d728ce/src/NativeReactNativeFs.ts",
734
+ "patch": "@@ -1,7 +1,25 @@\n-/*\n- * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved\n- * Use of this source code is governed by a MIT license that can be\n- * found in the LICENSE file.\n+/**\n+ * MIT License\n+ *\n+ * Copyright (C) 2024 Huawei Device Co., Ltd.\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in all\n+ * copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+ * SOFTWARE.\n */\n \n import type { TurboModule } from 'react-native';\n",
735
+ "target_branch": "br_rnoh0.72",
736
+ "source_branch": "br_rnoh0.72",
737
+ "source_project": {
738
+ "id": 10219332,
739
+ "full_name": "chenbaodi123/rntpc_react-native-fs",
740
+ "human_name": "chenbaodi123 / rntpc_react-native-fs",
741
+ "path": "rntpc_react-native-fs"
742
+ },
743
+ "target_project": {
744
+ "id": 4369121,
745
+ "full_name": "CPF-RN/rntpc_react-native-fs",
746
+ "human_name": "CPF-RN / rntpc_react-native-fs",
747
+ "path": "rntpc_react-native-fs"
748
+ }
749
+ }
750
+ ]
751
+ }