Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 17-Mar-2025 | - | ||||
frameworks/ | H | 17-Mar-2025 | - | 10,674 | 8,693 | |
interfaces/ | H | 17-Mar-2025 | - | 10,685 | 8,061 | |
services/ | H | 17-Mar-2025 | - | 9,905 | 7,735 | |
test/ | H | 17-Mar-2025 | - | 9,147 | 6,777 | |
tests/ | H | 17-Mar-2025 | - | 37,609 | 25,361 | |
tools/backup_tool/ | H | 17-Mar-2025 | - | 3,073 | 2,406 | |
utils/ | H | 17-Mar-2025 | - | 6,512 | 4,419 | |
.clang-format | H A D | 17-Mar-2025 | 6.7 KiB | 162 | 162 | |
.gitignore | H A D | 17-Mar-2025 | 15 | 2 | 2 | |
BUILD.gn | H A D | 17-Mar-2025 | 1.2 KiB | 45 | 38 | |
CODEOWNERS | H A D | 17-Mar-2025 | 757 | 15 | 14 | |
LICENSE | H A D | 17-Mar-2025 | 9.9 KiB | 177 | 150 | |
OAT.xml | H A D | 17-Mar-2025 | 4.5 KiB | 68 | 16 | |
README.md | H A D | 17-Mar-2025 | 960 | 37 | 25 | |
README_ZH.md | H A D | 17-Mar-2025 | 2.7 KiB | 50 | 41 | |
app_file_service.gni | H A D | 17-Mar-2025 | 1,004 | 26 | 24 | |
backup.gni | H A D | 17-Mar-2025 | 2.8 KiB | 61 | 56 | |
bundle.json | H A D | 17-Mar-2025 | 7.6 KiB | 172 | 171 | |
cfi_blocklist.txt | H A D | 17-Mar-2025 | 1.2 KiB | 33 | 32 | |
hisysevent.yaml | H A D | 17-Mar-2025 | 895 | 21 | 19 |
README.md
1# app_file_service 2 3#### Description 4{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} 5 6#### Software Architecture 7Software architecture description 8 9#### Installation 10 111. xxxx 122. xxxx 133. xxxx 14 15#### Instructions 16 171. xxxx 182. xxxx 193. xxxx 20 21#### Contribution 22 231. Fork the repository 242. Create Feat_xxx branch 253. Commit your code 264. Create Pull Request 27 28 29#### Gitee Feature 30 311. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 322. Gitee blog [blog.gitee.com](https://blog.gitee.com) 333. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 344. The most valuable open source project [GVP](https://gitee.com/gvp) 355. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 366. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) 37
README_ZH.md
1# 应用文件服务 2 3## **简介** 4应用文件服务是为应用提供文件分享和管理能力的服务,包含应用间文件分享、跨设备同应用文件分享以及跨设备跨应用文件分享的能力。 5当前已具备基于分布式文件系统的跨设备同应用文件分享能力。 6 7## **目录** 8``` 9/foundation/filemanagement/app_file_service 10│── interfaces // 接口声明 11│ ├── innerkits // 对内接口声明 12│ └── kits // 对外接口声明 13``` 14 15# 备份恢复 16 17## **简介** 18 19备份恢复是为Openharmony设备上三方应用数据、系统应用数据、公共数据提供一套完整的数据备份和数据恢复解决方案。 20 21备份恢复功能主要由三大部分组成: 22 - 集成在克隆等系统应用中的[JS API](https://gitee.com/openharmony/docs/blob/weekly_20230502/zh-cn/application-dev/reference/apis/js-apis-file-backup.md):负责触发备份/恢复数据。支持获取能力文件,触发备份应用数据,触发恢复应用数据,设置恢复应用数据时安装应用。 23 - 集成在待备份恢复应用中的备份[服务扩展](https://gitee.com/openharmony/ability_ability_runtime#简介):负责备份恢复具体应用的数据。应用开发者可通过配置备份恢复策略规则,配置备份恢复场景及过滤隐私等目录。 24 - 具有独立进程的备份服务:主要负责调度备份恢复任务。具体而言,其具体职责包括获取及检查备份恢复能力、管理备份服务扩展的生命周期与并发程度、协调零拷贝传输文件、在恢复时可选择安装应用。 25 26## **目录** 27``` 28/foundation/filemanagement/app_file_service 29│── frameworks // 框架层 30| └── native 31│ └── backup_ext // 备份服务扩展 32│── interfaces // 接口存放目录 33| ├── api 34│ ├── inner_api // 内部接口声明 35│ └── kits 36| └── js 37| └── backup // js外部接口 38│── services 39| └── backup_sa // 备份恢复服务 40│── tests // 测试用例 41│── tools // 备份恢复工具 42└── utils // 工具套 43``` 44 45# **相关仓** 46 47- [Linux内核5.10](https://gitee.com/openharmony/kernel_linux_5.10) 48- [文件访问接口](https://gitee.com/openharmony/filemanagement_file_api) 49- [元能力子系统](https://gitee.com/openharmony/ability_ability_runtime) 50- [系统服务框架](https://gitee.com/openharmony/systemabilitymgr_safwk)