• 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 backup from '@ohos.file.backup';
23import cloudSync from '@ohos.file.cloudSync';
24import cloudSyncManager from '@ohos.file.cloudSyncManager';
25import Environment from '@ohos.file.environment';
26import fileAccess from '@ohos.file.fileAccess';
27import fileExtensionInfo from '@ohos.file.fileExtensionInfo';
28import fileUri from '@ohos.file.fileuri';
29import fileIo, {
30  ConflictFiles, Filter, Options, ReaderIteratorResult, WatchEvent, WatchEventListener,
31  Watcher, ReadOptions, ReadTextOptions, WriteOptions, ListFileOptions
32} from '@ohos.file.fs';
33import hash from '@ohos.file.hash';
34import picker from '@ohos.file.picker';
35import recent from '@ohos.file.recent';
36import securityLabel from '@ohos.file.securityLabel';
37import statfs from '@ohos.file.statvfs';
38import storageStatistics from '@ohos.file.storageStatistics';
39import trash from '@ohos.file.trash';
40import volumeManager from '@ohos.file.volumeManager';
41import userFileManager from '@ohos.filemanagement.userFileManager';
42import fileShare from '@ohos.fileshare';
43
44export {
45  BackupExtensionAbility, BundleVersion, ConflictFiles, Environment, Filter, Options, ReaderIteratorResult,
46  WatchEvent, WatchEventListener, Watcher, ReadOptions, ReadTextOptions, WriteOptions, ListFileOptions,
47  backup, cloudSync, cloudSyncManager, fileAccess, fileExtensionInfo,
48  fileIo, fileShare, fileUri, hash, picker, recent, securityLabel, statfs,
49  storageStatistics, trash, userFileManager, volumeManager
50};
51