1 /* 2 * Copyright (c) 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 #ifndef OHOS_CLOUD_SYNC_SERVICE_CLOUD_DISK_CONST_H 17 #define OHOS_CLOUD_SYNC_SERVICE_CLOUD_DISK_CONST_H 18 19 #include "data_sync_const.h" 20 #include "gallery_file_const.h" 21 22 namespace OHOS { 23 namespace FileManagement { 24 namespace CloudSync { 25 26 const std::string DK_FILE_NAME = FILE_FILE_NAME; 27 const std::string DK_PARENT_CLOUD_ID = "parentFolder"; 28 const std::string DK_FILE_SIZE = FILE_SIZE; 29 const std::string DK_FILE_SHA256 = "sha256"; 30 const std::string DK_IS_DIRECTORY = "type"; 31 const std::string DK_FILE_TIME_ADDED = "createTime"; 32 const std::string DK_FILE_TIME_EDITED = "fileEditedTime"; 33 const std::string DK_META_TIME_EDITED = "metaDataEditedTime"; 34 const std::string DK_FILE_TIME_RECYCLED = FILE_RECYCLE_TIME; 35 const std::string DK_DIRECTLY_RECYCLED = "directlyRecycled"; 36 const std::string DK_MIME_TYPE = FILE_MIME_TYPE; 37 const std::string DK_IS_RECYCLED = FILE_RECYCLED; 38 const std::string DK_FILE_ATTRIBUTES = FILE_ATTRIBUTES; 39 const std::string DK_FILE_CONTENT = "content"; 40 const std::string DK_FILE_OPERATE_TYPE = "operateType"; 41 } // namespace CloudSync 42 } // namespace FileManagement 43 } // namespace OHOS 44 #endif // OHOS_CLOUD_SYNC_SERVICE_CLOUD_DISK_CONST_H 45