Signed-off-by: xuerunlong <xuerunlong1@huawei.com>
This commit is contained in:
xuerunlong 2024-08-27 17:09:53 +08:00
parent a4f99fef7f
commit ba404864ea
2 changed files with 18 additions and 18 deletions

View File

@ -246,7 +246,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types. * @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types.
* @throws { BusinessError } 22400001 - Cloud status not ready. * @throws { BusinessError } 22400001 - Cloud status not ready.
* @throws { BusinessError } 22400002 - Network unavailable. * @throws { BusinessError } 22400002 - Network unavailable.
* @throws { BusinessError } 22400003 - Battery level warning. * @throws { BusinessError } 22400003 - Low battery level.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @systemapi * @systemapi
* @since 10 * @since 10
@ -263,7 +263,7 @@ declare namespace cloudSync {
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 22400001 - Cloud status not ready. * @throws { BusinessError } 22400001 - Cloud status not ready.
* @throws { BusinessError } 22400002 - Network unavailable. * @throws { BusinessError } 22400002 - Network unavailable.
* @throws { BusinessError } 22400003 - Battery level warning. * @throws { BusinessError } 22400003 - Low battery level.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @systemapi * @systemapi
* @since 10 * @since 10
@ -625,7 +625,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 22400001 - Cloud status not ready. * @throws { BusinessError } 22400001 - Cloud status not ready.
* @throws { BusinessError } 22400002 - Network unavailable. * @throws { BusinessError } 22400002 - Network unavailable.
* @throws { BusinessError } 22400003 - Battery level warning. * @throws { BusinessError } 22400003 - Low battery level.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 12 * @since 12
*/ */
@ -638,7 +638,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 22400001 - Cloud status not ready. * @throws { BusinessError } 22400001 - Cloud status not ready.
* @throws { BusinessError } 22400002 - Network unavailable. * @throws { BusinessError } 22400002 - Network unavailable.
* @throws { BusinessError } 22400003 - Battery level warning. * @throws { BusinessError } 22400003 - Low battery level.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 12 * @since 12
*/ */
@ -736,7 +736,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 13900025 - No space left on device. * @throws { BusinessError } 13900025 - No space left on device.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 11 * @since 11
*/ */
@ -751,7 +751,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 13900025 - No space left on device. * @throws { BusinessError } 13900025 - No space left on device.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 11 * @since 11
*/ */
@ -765,7 +765,7 @@ declare namespace cloudSync {
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 11 * @since 11
*/ */
@ -779,7 +779,7 @@ declare namespace cloudSync {
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 12 * @since 12
*/ */
@ -793,7 +793,7 @@ declare namespace cloudSync {
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 11 * @since 11
*/ */
@ -809,7 +809,7 @@ declare namespace cloudSync {
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @systemapi * @systemapi
* @since 11 * @since 11
@ -896,7 +896,7 @@ declare namespace cloudSync {
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @systemapi * @systemapi
* @since 11 * @since 11
@ -914,7 +914,7 @@ declare namespace cloudSync {
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13600001 - IPC error.
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @systemapi * @systemapi
* @since 11 * @since 11
@ -934,7 +934,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 13900012 - Permission denied by the file system * @throws { BusinessError } 13900012 - Permission denied by the file system
* @throws { BusinessError } 13900031 - Function not implemented * @throws { BusinessError } 13900031 - Function not implemented
* @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900042 - Unknown error
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @systemapi * @systemapi
* @since 12 * @since 12
@ -951,7 +951,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 13900001 - Operation not permitted * @throws { BusinessError } 13900001 - Operation not permitted
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 13900012 - Permission denied * @throws { BusinessError } 13900012 - Permission denied
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 12 * @since 12
*/ */
@ -965,7 +965,7 @@ declare namespace cloudSync {
* @throws { BusinessError } 13900001 - Operation not permitted * @throws { BusinessError } 13900001 - Operation not permitted
* @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 13900002 - No such file or directory.
* @throws { BusinessError } 13900012 - Permission denied * @throws { BusinessError } 13900012 - Permission denied
* @throws { BusinessError } 14000002 - Invalid uri. * @throws { BusinessError } 14000002 - Invalid URI.
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
* @since 12 * @since 12
*/ */

View File

@ -6407,7 +6407,7 @@ declare function connectDfs(networkId: string, listeners: DfsListeners): Promise
* @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - The parameter check failed.Possible causes:1.Mandatory parameters are left unspecified; * @throws { BusinessError } 401 - The parameter check failed.Possible causes:1.Mandatory parameters are left unspecified;
* <br>2.Incorrect parameter types. * <br>2.Incorrect parameter types.
* @throws { BusinessError } 13600004 - Failed to unmount. * @throws { BusinessError } 13600004 - Unmount failed.
* @syscap SystemCapability.FileManagement.File.FileIO * @syscap SystemCapability.FileManagement.File.FileIO
* @since 12 * @since 12
*/ */
@ -6646,7 +6646,7 @@ declare interface File {
* @readonly * @readonly
* @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900005 - I/O error
* @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900042 - Unknown error
* @throws { BusinessError } 14300002 - Invalid uri * @throws { BusinessError } 14300002 - Invalid URI
* @syscap SystemCapability.FileManagement.File.FileIO * @syscap SystemCapability.FileManagement.File.FileIO
* @since 10 * @since 10
*/ */
@ -6670,7 +6670,7 @@ declare interface File {
* @returns { string } Return the parent path of file. * @returns { string } Return the parent path of file.
* @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900005 - I/O error
* @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900042 - Unknown error
* @throws { BusinessError } 14300002 - Invalid uri * @throws { BusinessError } 14300002 - Invalid URI
* @syscap SystemCapability.FileManagement.File.FileIO * @syscap SystemCapability.FileManagement.File.FileIO
* @since 11 * @since 11
*/ */