1e41f4b71Sopenharmony_ci# File Management Subsystem ChangeLog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.filemanagement.1 Changed environment 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ciThe file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **environment** module supports error code processing. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci**Change Impacts** 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ciIf your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **environment** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci**Key API/Component Changes** 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ciBefore the change, **environment** was imported using **@ohos.environment**: 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci```js 16e41f4b71Sopenharmony_ciimport environment from '@ohos.environment'; 17e41f4b71Sopenharmony_ci``` 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ciBut now, **environment** is imported using **@ohos.file.environment**: 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci```js 22e41f4b71Sopenharmony_ciimport environment from '@ohos.file.environment'; 23e41f4b71Sopenharmony_ci``` 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci## cl.filemanagement.2 Changed securityLabel 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ciThe file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **securityLabel** module supports error code processing. 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci**Change Impacts** 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ciIf your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **securityLabel** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci**Key API/Component Changes** 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ciBefore the change, **securityLabel** was imported using **@ohos.securityLabel**: 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ci```js 38e41f4b71Sopenharmony_ciimport securityLabel from '@ohos.securityLabel'; 39e41f4b71Sopenharmony_ci``` 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ciBut now, **securityLabel** is imported using **@ohos.file.securityLabel**: 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ci```js 44e41f4b71Sopenharmony_ciimport securityLabel from '@ohos.file.securityLabel'; 45e41f4b71Sopenharmony_ci``` 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci## cl.filemanagement.3 Changed fs 48e41f4b71Sopenharmony_ci 49e41f4b71Sopenharmony_ciThe **ino** attribute type of the **Stat** API under the **fs** module is changed. 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ci**Change Impacts** 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ciThe **ino** attribute type is changed from number to BigInt, to adapt the inode range of all types of files in the file system. 54e41f4b71Sopenharmony_ci 55e41f4b71Sopenharmony_ci**Key API/Component Changes** 56e41f4b71Sopenharmony_ci 57e41f4b71Sopenharmony_ciThe type of the **ino** attribute of the **Stat** API is changed from number to BigInt. 58e41f4b71Sopenharmony_ci 59e41f4b71Sopenharmony_ci## cl.filemanagement.4 Changed fileAccess 60e41f4b71Sopenharmony_ci 61e41f4b71Sopenharmony_ciThe file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **fileAccess** module supports error code processing. 62e41f4b71Sopenharmony_ci 63e41f4b71Sopenharmony_ci**Change Impacts** 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ciIf your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **fileAccess** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. 66e41f4b71Sopenharmony_ci 67e41f4b71Sopenharmony_ci**Key API/Component Changes** 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ciBefore the change, **fileAccess** was imported using **@ohos.data.fileAccess**: 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ci```js 72e41f4b71Sopenharmony_ciimport fileAccess from '@ohos.data.fileAccess'; 73e41f4b71Sopenharmony_ci``` 74e41f4b71Sopenharmony_ci 75e41f4b71Sopenharmony_ciBut now, **fileAccess** is imported using **@ohos.file.fileAccess**: 76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci```js 78e41f4b71Sopenharmony_ciimport fileAccess from '@ohos.file.fileAccess'; 79e41f4b71Sopenharmony_ci``` 80e41f4b71Sopenharmony_ci 81e41f4b71Sopenharmony_ci## cl.filemanagement.5 Changed fileExtensionInfo 82e41f4b71Sopenharmony_ci 83e41f4b71Sopenharmony_ciThe file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **fileExtensionInfo** module supports error code processing. 84e41f4b71Sopenharmony_ci 85e41f4b71Sopenharmony_ci**Change Impacts** 86e41f4b71Sopenharmony_ci 87e41f4b71Sopenharmony_ciIf your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **fileExtensionInfo** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. 88e41f4b71Sopenharmony_ci 89e41f4b71Sopenharmony_ci**Key API/Component Changes** 90e41f4b71Sopenharmony_ci 91e41f4b71Sopenharmony_ciBefore the change, **fileExtensionInfo** was imported using **@ohos.fileExtensionInfo**: 92e41f4b71Sopenharmony_ci 93e41f4b71Sopenharmony_ci```js 94e41f4b71Sopenharmony_ciimport fileExtensionInfo from '@ohos.fileExtensionInfo'; 95e41f4b71Sopenharmony_ci``` 96e41f4b71Sopenharmony_ci 97e41f4b71Sopenharmony_ciBut now, **fileExtensionInfo** is imported using **@ohos.file.fileExtensionInfo**: 98e41f4b71Sopenharmony_ci 99e41f4b71Sopenharmony_ci```js 100e41f4b71Sopenharmony_ciimport fileExtensionInfo from '@ohos.file.fileExtensionInfo'; 101e41f4b71Sopenharmony_ci``` 102e41f4b71Sopenharmony_ci 103e41f4b71Sopenharmony_ci## cl.filemanagement.6 Changed storageStatistics 104e41f4b71Sopenharmony_ci 105e41f4b71Sopenharmony_ciThe file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **fileExtensionInfo** module supports error code processing. 106e41f4b71Sopenharmony_ci 107e41f4b71Sopenharmony_ci**Change Impacts** 108e41f4b71Sopenharmony_ci 109e41f4b71Sopenharmony_ciIf your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **storageStatistics** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. 110e41f4b71Sopenharmony_ci 111e41f4b71Sopenharmony_ci**Key API/Component Changes** 112e41f4b71Sopenharmony_ci 113e41f4b71Sopenharmony_ciBefore the change, **storageStatistics** was imported using **@ohos.storageStatistics**: 114e41f4b71Sopenharmony_ci 115e41f4b71Sopenharmony_ci```js 116e41f4b71Sopenharmony_ciimport storageStatistics from '@ohos.storageStatistics'; 117e41f4b71Sopenharmony_ci``` 118e41f4b71Sopenharmony_ci 119e41f4b71Sopenharmony_ciBut now, **storageStatistics** is imported using **@ohos.file.storageStatistics**: 120e41f4b71Sopenharmony_ci 121e41f4b71Sopenharmony_ci```js 122e41f4b71Sopenharmony_ciimport storageStatistics from '@ohos.file.storageStatistics'; 123e41f4b71Sopenharmony_ci``` 124e41f4b71Sopenharmony_ci 125e41f4b71Sopenharmony_ci## cl.filemanagement.7 Changed volumeManager 126e41f4b71Sopenharmony_ci 127e41f4b71Sopenharmony_ciThe file management subsystem **d.ts** file has been archived moved to the **file** directory. The **volumeManager** module supports error code processing. 128e41f4b71Sopenharmony_ci 129e41f4b71Sopenharmony_ci**Change Impacts** 130e41f4b71Sopenharmony_ci 131e41f4b71Sopenharmony_ciIf your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **volumeManager** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. 132e41f4b71Sopenharmony_ci 133e41f4b71Sopenharmony_ci**Key API/Component Changes** 134e41f4b71Sopenharmony_ci 135e41f4b71Sopenharmony_ciBefore the change, **volumeManager** was imported using **@ohos.volumeManager**: 136e41f4b71Sopenharmony_ci 137e41f4b71Sopenharmony_ci```js 138e41f4b71Sopenharmony_ciimport volumeManager from '@ohos.volumeManager'; 139e41f4b71Sopenharmony_ci``` 140e41f4b71Sopenharmony_ci 141e41f4b71Sopenharmony_ciBut now, **volumeManager** is imported using **@ohos.file.volumeManager**: 142e41f4b71Sopenharmony_ci 143e41f4b71Sopenharmony_ci```js 144e41f4b71Sopenharmony_ciimport volumeManager from '@ohos.file.volumeManager'; 145e41f4b71Sopenharmony_ci``` 146