删除冗余错误码

Signed-off-by: xiekaiming <xiekaiming2@huawei.com>
This commit is contained in:
xiekaiming 2024-05-14 09:10:31 +08:00
parent 29560e100b
commit 535bfa644b

View File

@ -285,6 +285,14 @@ declare namespace configPolicy {
* @systemapi Hide this for inner system use.
* @since 8
*/
/**
* Gets the list of configuration level directories, sorted in ascending order of priority.
*
* @returns { Promise<Array<string>> } the promise returns the list of configuration level directories.
* @syscap SystemCapability.Customization.ConfigPolicy
* @systemapi Hide this for inner system use.
* @since 12
*/
function getCfgDirList(): Promise<Array<string>>;
/**
@ -296,6 +304,14 @@ declare namespace configPolicy {
* @systemapi Hide this for inner system use.
* @since 11
*/
/**
* Gets the list of configuration level directories, sorted in ascending order of priority.
*
* @returns { Array<string> } the list of configuration level directories.
* @syscap SystemCapability.Customization.ConfigPolicy
* @systemapi Hide this for inner system use.
* @since 12
*/
function getCfgDirListSync(): Array<string>;
}