• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @file
18 * @kit CoreFileKit
19 */
20
21import BackupExtensionAbility, { BundleVersion } from '@ohos.application.BackupExtensionAbility';
22import BackupExtensionContext from '@ohos.file.BackupExtensionContext';
23import backup from '@ohos.file.backup';
24import cloudSync from '@ohos.file.cloudSync';
25import cloudSyncManager from '@ohos.file.cloudSyncManager';
26import Environment from '@ohos.file.environment';
27import fileAccess from '@ohos.file.fileAccess';
28import fileExtensionInfo from '@ohos.file.fileExtensionInfo';
29import fileUri from '@ohos.file.fileuri';
30import fileIo, {
31  ConflictFiles, Filter, Options, ReaderIteratorResult, WatchEvent, WatchEventListener,
32  Watcher, ReadOptions, ReadTextOptions, WriteOptions, ListFileOptions, DfsListeners, TaskSignal
33} from '@ohos.file.fs';
34import hash from '@ohos.file.hash';
35import picker from '@ohos.file.picker';
36import recent from '@ohos.file.recent';
37import securityLabel from '@ohos.file.securityLabel';
38import statfs from '@ohos.file.statvfs';
39import storageStatistics from '@ohos.file.storageStatistics';
40import trash from '@ohos.file.trash';
41import volumeManager from '@ohos.file.volumeManager';
42import keyManager from '@ohos.file.keyManager';
43import userFileManager from '@ohos.filemanagement.userFileManager';
44import fileShare from '@ohos.fileshare';
45
46export {
47  BackupExtensionAbility, BackupExtensionContext, BundleVersion, ConflictFiles, Environment, Filter, Options, ReaderIteratorResult,
48  WatchEvent, WatchEventListener, Watcher, ReadOptions, ReadTextOptions, WriteOptions, ListFileOptions,
49  backup, cloudSync, cloudSyncManager, fileAccess, fileExtensionInfo,
50  fileIo, fileShare, fileUri, hash, picker, recent, securityLabel, statfs,
51  storageStatistics, trash, userFileManager, volumeManager, keyManager, DfsListeners, TaskSignal
52};
53