| 操作 | 旧版本 | 新版本 | d.ts文件 |
|---|---|---|---|
| 新增 | NA | 模块名: ohos.file.environment 类名: Environment | @ohos.file.environment.d.ts |
| 新增 | NA | 模块名: ohos.file.environment 类名: Environment 方法 or 属性: function getStorageDataDir(): Promise | @ohos.file.environment.d.ts |
| 新增 | NA | 模块名: ohos.file.environment 类名: Environment 方法 or 属性: function getStorageDataDir(callback: AsyncCallback | @ohos.file.environment.d.ts |
| 新增 | NA | 模块名: ohos.file.environment 类名: Environment 方法 or 属性: function getUserDataDir(): Promise | @ohos.file.environment.d.ts |
| 新增 | NA | 模块名: ohos.file.environment 类名: Environment 方法 or 属性: function getUserDataDir(callback: AsyncCallback | @ohos.file.environment.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: fileAccess | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: fileAccess 方法 or 属性: function getFileAccessAbilityInfo(callback: AsyncCallback<Array | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: fileAccess 方法 or 属性: function getFileAccessAbilityInfo(): Promise<Array | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: fileAccess 方法 or 属性: function createFileAccessHelper(context: Context): FileAccessHelper; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: fileAccess 方法 or 属性: function createFileAccessHelper(context: Context, wants: Array | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: uri: string; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: fileName: string; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: mode: number; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: size: number; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: mtime: number; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: mimeType: string; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: listFile(filter?: Filter): FileIterator; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileInfo 方法 or 属性: scanFile(filter?: Filter): FileIterator; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileIterator | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileIterator 方法 or 属性: next(): {value: FileInfo, done: boolean} | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootInfo | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootInfo 方法 or 属性: deviceType: number; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootInfo 方法 or 属性: uri: string; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootInfo 方法 or 属性: displayName: string; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootInfo 方法 or 属性: deviceFlags: number; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootInfo 方法 or 属性: listFile(filter?: Filter): FileIterator; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootInfo 方法 or 属性: scanFile(filter?: Filter): FileIterator; | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootIterator | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: RootIterator 方法 or 属性: next(): {value: RootInfo, done: boolean} | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: OPENFLAGS | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: OPENFLAGS 方法 or 属性: READ = 0o0 | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: OPENFLAGS 方法 or 属性: WRITE = 0o1 | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: OPENFLAGS 方法 or 属性: WRITE_READ = 0o2 | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: openFile(uri: string, flags: OPENFLAGS) : Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: createFile(uri: string, displayName: string) : Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: createFile(uri: string, displayName: string, callback: AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: mkDir(parentUri: string, displayName: string) : Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: mkDir(parentUri: string, displayName: string, callback: AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: delete(uri: string) : Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: delete(uri: string, callback: AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: move(sourceFile: string, destFile: string) : Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: move(sourceFile: string, destFile: string, callback: AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: rename(uri: string, displayName: string) : Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: rename(uri: string, displayName: string, callback: AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: access(sourceFileUri: string) : Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: access(sourceFileUri: string, callback: AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: getRoots(): Promise | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileAccess 类名: FileAccessHelper 方法 or 属性: getRoots(callback:AsyncCallback | @ohos.file.fileAccess.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: fileExtensionInfo | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType 方法 or 属性: DEVICE_LOCAL_DISK = 1 | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType 方法 or 属性: DEVICE_SHARED_DISK | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType 方法 or 属性: DEVICE_SHARED_TERMINAL | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType 方法 or 属性: DEVICE_NETWORK_NEIGHBORHOODS | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType 方法 or 属性: DEVICE_EXTERNAL_MTP | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType 方法 or 属性: DEVICE_EXTERNAL_USB | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceType 方法 or 属性: DEVICE_EXTERNAL_CLOUD | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceFlag | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceFlag 方法 or 属性: const SUPPORTS_READ = 0b1; | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DeviceFlag 方法 or 属性: const SUPPORTS_WRITE = 0b10; | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DocumentFlag | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DocumentFlag 方法 or 属性: const REPRESENTS_FILE = 0b1; | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DocumentFlag 方法 or 属性: const REPRESENTS_DIR = 0b10; | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DocumentFlag 方法 or 属性: const SUPPORTS_READ = 0b100; | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileExtensionInfo 类名: DocumentFlag 方法 or 属性: const SUPPORTS_WRITE = 0b1000; | @ohos.file.fileExtensionInfo.d.ts |
| 新增 | NA | 模块名: ohos.file.fileuri 类名: fileUri | @ohos.file.fileuri.d.ts |
| 新增 | NA | 模块名: ohos.file.fileuri 类名: fileUri 方法 or 属性: function getUriFromPath(path: string): string; | @ohos.file.fileuri.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function access(path: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function access(path: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function accessSync(path: string): boolean; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function close(file: number |File): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function close(file: number |File, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function closeSync(fd: number |File): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function copyFile(src: string |number, dest: string |number, mode?: number): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function copyFile(src: string |number, dest: string |number, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function copyFileSync(src: string |number, dest: string |number, mode?: number): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function createStream(path: string, mode: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function createStream(path: string, mode: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function createStreamSync(path: string, mode: string): Stream; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fdatasync(fd: number): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fdatasync(fd: number, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fdatasyncSync(fd: number): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fdopenStream(fd: number, mode: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fdopenStream(fd: number, mode: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fdopenStreamSync(fd: number, mode: string): Stream; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fsync(fd: number): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fsync(fd: number, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function fsyncSync(fd: number): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function lstat(path: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function lstat(path: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function lstatSync(path: string): Stat; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function mkdir(path: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function mkdir(path: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function mkdirSync(path: string): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function mkdtemp(prefix: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function mkdtemp(prefix: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function mkdtempSync(prefix: string): string; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function readText(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function readText(filePath: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function readText(filePath: string, options: { offset?: number; length?: number; encoding?: string; }, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function readTextSync(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }): string; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function rename(oldPath: string, newPath: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function rename(oldPath: string, newPath: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function renameSync(oldPath: string, newPath: string): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function rmdir(path: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function rmdir(path: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function rmdirSync(path: string): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function symlink(target: string, srcPath: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function symlink(target: string, srcPath: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function symlinkSync(target: string, srcPath: string): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function unlink(path: string): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function unlink(path: string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:fileIo 方法or属性:function unlinkSync(path: string): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stat 方法or属性:readonly ino: bigint; | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性: | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:close(): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:close(): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:close(callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:close(callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:closeSync(): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:closeSync(): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:flush(): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:flush(): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:flush(callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:flush(callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:flushSync(): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:flushSync(): void; | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:write(buffer: ArrayBuffer |string, options?: { offset?: number; length?: number; encoding?: string; }): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:write(buffer: ArrayBuffer |string, options?: { offset?: number; length?: number; encoding?: string; }): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:write(buffer: ArrayBuffer |string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:write(buffer: ArrayBuffer |string, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:write(buffer: ArrayBuffer |string, options: { offset?: number; length?: number; encoding?: string; }, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:write(buffer: ArrayBuffer |string, options: { offset?: number; length?: number; encoding?: string; }, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:writeSync(buffer: ArrayBuffer |string, options?: { offset?: number; length?: number; encoding?: string; }): number; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:writeSync(buffer: ArrayBuffer |string, options?: { offset?: number; length?: number; encoding?: string; }): number; | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:read(buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:read(buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): Promise | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:read(buffer: ArrayBuffer, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:read(buffer: ArrayBuffer, options: { offset?: number; length?: number; }, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:read(buffer: ArrayBuffer, options: { offset?: number; length?: number; }, callback: AsyncCallback | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.fs 类名: Stream 方法 or 属性:readSync(buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number; | @ohos.file.fs.d.ts |
| 新增 | NA | 类名:Stream 方法or属性:readSync(buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number; | @ohos.file.fs.d.ts |
| 新增 | NA | 模块名: ohos.file.hash 类名: Hash | @ohos.file.hash.d.ts |
| 新增 | NA | 模块名: ohos.file.hash 类名: Hash 方法 or 属性: function hash(path: string, algorithm: string): Promise | @ohos.file.hash.d.ts |
| 新增 | NA | 模块名: ohos.file.hash 类名: Hash 方法 or 属性: function hash(path: string, algorithm: string, callback: AsyncCallback | @ohos.file.hash.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: securityLabel | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: dataLevel 方法 or 属性: type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: dataLevel 方法 or 属性: type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: dataLevel 方法 or 属性: type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: dataLevel 方法 or 属性: type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: dataLevel 方法 or 属性: type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: securityLabel 方法 or 属性: function setSecurityLabel(path: string, type: dataLevel): Promise | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: securityLabel 方法 or 属性: function setSecurityLabel(path: string, type: dataLevel, callback: AsyncCallback | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: securityLabel 方法 or 属性: function setSecurityLabelSync(path: string, type: dataLevel): void; | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: securityLabel 方法 or 属性: function getSecurityLabel(path: string): Promise | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: securityLabel 方法 or 属性: function getSecurityLabel(path: string, callback: AsyncCallback | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.securityLabel 类名: securityLabel 方法 or 属性: function getSecurityLabelSync(path: string): string; | @ohos.file.securityLabel.d.ts |
| 新增 | NA | 模块名: ohos.file.statvfs 类名: Statfs | @ohos.file.statvfs.d.ts |
| 新增 | NA | 模块名: ohos.file.statvfs 类名: Statfs 方法 or 属性: function getFreeSize(path: string): Promise | @ohos.file.statvfs.d.ts |
| 新增 | NA | 模块名: ohos.file.statvfs 类名: Statfs 方法 or 属性: function getFreeSize(path: string, callback: AsyncCallback | @ohos.file.statvfs.d.ts |
| 新增 | NA | 模块名: ohos.file.statvfs 类名: Statfs 方法 or 属性: function getTotalSize(path: string): Promise | @ohos.file.statvfs.d.ts |
| 新增 | NA | 模块名: ohos.file.statvfs 类名: Statfs 方法 or 属性: function getTotalSize(path: string, callback: AsyncCallback | @ohos.file.statvfs.d.ts |
| 新增 | NA | 模块名: ohos.fileshare 类名: fileShare | @ohos.fileshare.d.ts |
| 新增 | NA | 模块名: ohos.fileshare 类名: fileShare 方法 or 属性: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags, callback: AsyncCallback | @ohos.fileshare.d.ts |
| 新增 | NA | 模块名: ohos.fileshare 类名: fileShare 方法 or 属性: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise | @ohos.fileshare.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: fileAccess | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: fileAccess 方法 or 属性:function getFileAccessAbilityInfo(callback: AsyncCallback<Array | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: fileAccess 方法 or 属性:function getFileAccessAbilityInfo(): Promise<Array | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: fileAccess 方法 or 属性:function createFileAccessHelper(context: Context): FileAccessHelper; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: fileAccess 方法 or 属性:function createFileAccessHelper(context: Context, wants: Array | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:uri: string; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:fileName: string; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:mode: number; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:size: number; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:mtime: number; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:mimeType: string; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:listFile(filter?: Filter): FileIterator; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileInfo 方法 or 属性:scanFile(filter?: Filter): FileIterator; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileIterator | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileIterator 方法 or 属性:next(): {value: FileInfo, done: boolean} | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootInfo | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootInfo 方法 or 属性:deviceType: number; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootInfo 方法 or 属性:uri: string; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootInfo 方法 or 属性:displayName: string; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootInfo 方法 or 属性:deviceFlags: number; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootInfo 方法 or 属性:listFile(filter?: Filter): FileIterator; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootInfo 方法 or 属性:scanFile(filter?: Filter): FileIterator; | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootIterator | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: RootIterator 方法 or 属性:next(): {value: RootInfo, done: boolean} | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: OPENFLAGS | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: OPENFLAGS 方法 or 属性:READ = 0o0 | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: OPENFLAGS 方法 or 属性:WRITE = 0o1 | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: OPENFLAGS 方法 or 属性:WRITE_READ = 0o2 | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:openFile(uri: string, flags: OPENFLAGS) : Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:createFile(uri: string, displayName: string) : Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:createFile(uri: string, displayName: string, callback: AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:mkDir(parentUri: string, displayName: string) : Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:mkDir(parentUri: string, displayName: string, callback: AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:delete(uri: string) : Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:delete(uri: string, callback: AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:move(sourceFile: string, destFile: string) : Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:move(sourceFile: string, destFile: string, callback: AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:rename(uri: string, displayName: string) : Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:rename(uri: string, displayName: string, callback: AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:access(sourceFileUri: string) : Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:access(sourceFileUri: string, callback: AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:getRoots(): Promise | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.data.fileAccess 类名: FileAccessHelper 方法 or 属性:getRoots(callback:AsyncCallback | NA | @ohos.data.fileAccess.d.ts |
| 删除 | 模块名: ohos.environment 类名: Environment | NA | @ohos.environment.d.ts |
| 删除 | 模块名: ohos.environment 类名: Environment 方法 or 属性:function getStorageDataDir(callback: AsyncCallback | NA | @ohos.environment.d.ts |
| 删除 | 模块名: ohos.environment 类名: Environment 方法 or 属性:function getStorageDataDir(): Promise | NA | @ohos.environment.d.ts |
| 删除 | 模块名: ohos.environment 类名: Environment 方法 or 属性:function getUserDataDir(callback: AsyncCallback | NA | @ohos.environment.d.ts |
| 删除 | 模块名: ohos.environment 类名: Environment 方法 or 属性:function getUserDataDir(): Promise | NA | @ohos.environment.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: fileExtensionInfo | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType 方法 or 属性:DEVICE_LOCAL_DISK = 1 | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType 方法 or 属性:DEVICE_SHARED_DISK | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType 方法 or 属性:DEVICE_SHARED_TERMINAL | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType 方法 or 属性:DEVICE_NETWORK_NEIGHBORHOODS | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType 方法 or 属性:DEVICE_EXTERNAL_MTP | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType 方法 or 属性:DEVICE_EXTERNAL_USB | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceType 方法 or 属性:DEVICE_EXTERNAL_CLOUD | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceFlag | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceFlag 方法 or 属性:const SUPPORTS_READ = 0b1; | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DeviceFlag 方法 or 属性:const SUPPORTS_WRITE = 0b10; | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DocumentFlag | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DocumentFlag 方法 or 属性:const REPRESENTS_FILE = 0b1; | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DocumentFlag 方法 or 属性:const REPRESENTS_DIR = 0b10; | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DocumentFlag 方法 or 属性:const SUPPORTS_READ = 0b100; | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.fileExtensionInfo 类名: DocumentFlag 方法 or 属性:const SUPPORTS_WRITE = 0b1000; | NA | @ohos.fileExtensionInfo.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: securityLabel | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: dataLevel 方法 or 属性:type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: dataLevel 方法 or 属性:type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: dataLevel 方法 or 属性:type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: dataLevel 方法 or 属性:type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: dataLevel 方法 or 属性:type dataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: securityLabel 方法 or 属性:function setSecurityLabel(path:string, type:dataLevel, callback: AsyncCallback | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: securityLabel 方法 or 属性:function setSecurityLabel(path:string, type:dataLevel): Promise | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: securityLabel 方法 or 属性:function setSecurityLabelSync(path:string, type:dataLevel): void; | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: securityLabel 方法 or 属性:function getSecurityLabel(path:string, callback: AsyncCallback | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: securityLabel 方法 or 属性:function getSecurityLabel(path:string): Promise | NA | @ohos.securityLabel.d.ts |
| 删除 | 模块名: ohos.securityLabel 类名: securityLabel 方法 or 属性:function getSecurityLabelSync(path:string): string; | NA | @ohos.securityLabel.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function access(path: string, mode?: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function access(path: string, mode?: number): Promise 废弃版本:9 代替接口:ohos.file.fs.access | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function access(path: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function access(path: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function access(path: string, mode: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function access(path: string, mode: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function accessSync(path: string, mode?: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function accessSync(path: string, mode?: number): void; 废弃版本:9 代替接口:ohos.file.fs.accessSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function close(fd: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function close(fd: number): Promise 废弃版本:9 代替接口:ohos.file.fs.close | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function close(fd: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function close(fd: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function closeSync(fd: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function closeSync(fd: number): void; 废弃版本:9 代替接口:ohos.file.fs.closeSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function copyFile(src: string |number, dest: string |number, mode?: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function copyFile(src: string |number, dest: string |number, mode?: number): Promise 废弃版本:9 代替接口:ohos.file.fs.copyFile | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function copyFile(src: string |number, dest: string |number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function copyFile(src: string |number, dest: string |number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function copyFileSync(src: string |number, dest: string |number, mode?: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function copyFileSync(src: string |number, dest: string |number, mode?: number): void; 废弃版本:9 代替接口:ohos.file.fs.copyFileSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function createStream(path: string, mode: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function createStream(path: string, mode: string): Promise 废弃版本:9 代替接口:ohos.file.fs.createStream | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function createStream(path: string, mode: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function createStream(path: string, mode: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function createStreamSync(path: string, mode: string): Stream; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function createStreamSync(path: string, mode: string): Stream; 废弃版本:9 代替接口:ohos.file.fs.createStreamSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function chown(path: string, uid: number, gid: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function chown(path: string, uid: number, gid: number): Promise 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function chown(path: string, uid: number, gid: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function chown(path: string, uid: number, gid: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function chownSync(path: string, uid: number, gid: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function chownSync(path: string, uid: number, gid: number): void; 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function chmod(path: string, mode: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function chmod(path: string, mode: number): Promise 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function chmod(path: string, mode: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function chmod(path: string, mode: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function chmodSync(path: string, mode: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function chmodSync(path: string, mode: number): void; 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fsync(fd: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fsync(fd: number): Promise 废弃版本:9 代替接口:ohos.file.fs.fsync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fsync(fd: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fsync(fd: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fsyncSync(fd: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fsyncSync(fd: number): void; 废弃版本:9 代替接口:ohos.file.fs.fsyncSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fdatasync(fd: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fdatasync(fd: number): Promise 废弃版本:9 代替接口:ohos.file.fs.fdatasync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fdatasync(fd: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fdatasync(fd: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fdatasyncSync(fd: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fdatasyncSync(fd: number): void; 废弃版本:9 代替接口:ohos.file.fs.fdatasyncSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fchown(fd: number, uid: number, gid: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fchown(fd: number, uid: number, gid: number): Promise 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fchownSync(fd: number, uid: number, gid: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fchownSync(fd: number, uid: number, gid: number): void; 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fchmod(fd: number, mode: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fchmod(fd: number, mode: number): Promise 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fchmod(fd: number, mode: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fchmod(fd: number, mode: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fchmodSync(fd: number, mode: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fchmodSync(fd: number, mode: number): void; 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fdopenStream(fd: number, mode: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fdopenStream(fd: number, mode: string): Promise 废弃版本:9 代替接口:ohos.file.fs.fdopenStream | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fdopenStream(fd: number, mode: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fdopenStream(fd: number, mode: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function fdopenStreamSync(fd: number, mode: string): Stream; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function fdopenStreamSync(fd: number, mode: string): Stream; 废弃版本:9 代替接口:ohos.file.fs.fdopenStreamSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function hash(path: string, algorithm: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function hash(path: string, algorithm: string): Promise 废弃版本:9 代替接口:ohos.file.hash.hash | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function hash(path: string, algorithm: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function hash(path: string, algorithm: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function lchown(path: string, uid: number, gid: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function lchown(path: string, uid: number, gid: number): Promise 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function lchown(path: string, uid: number, gid: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function lchown(path: string, uid: number, gid: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function lchownSync(path: string, uid: number, gid: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function lchownSync(path: string, uid: number, gid: number): void; 废弃版本:9 代替接口:N/A | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function lstat(path: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function lstat(path: string): Promise 废弃版本:9 代替接口:ohos.file.fs.lstat | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function lstat(path: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function lstat(path: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function lstatSync(path: string): Stat; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function lstatSync(path: string): Stat; 废弃版本:9 代替接口:ohos.file.fs.lstatSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function mkdir(path: string, mode?: number): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function mkdir(path: string, mode?: number): Promise 废弃版本:9 代替接口:ohos.file.fs.mkdir | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function mkdir(path: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function mkdir(path: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function mkdir(path: string, mode: number, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function mkdir(path: string, mode: number, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function mkdirSync(path: string, mode?: number): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function mkdirSync(path: string, mode?: number): void; 废弃版本:9 代替接口:ohos.file.fs.mkdirSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function mkdtemp(prefix: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function mkdtemp(prefix: string): Promise 废弃版本:9 代替接口:ohos.file.fs.mkdtemp | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function mkdtemp(prefix: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function mkdtemp(prefix: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function mkdtempSync(prefix: string): string; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function mkdtempSync(prefix: string): string; 废弃版本:9 代替接口:ohos.file.fs.mkdtempSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): Promise 废弃版本:9 代替接口:ohos.file.fs.readText | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function readText(filePath: string, options: { position?: number; length?: number; encoding?: string; }, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function readText(filePath: string, options: { position?: number; length?: number; encoding?: string; }, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string; 废弃版本:9 代替接口:ohos.file.fs.readTextSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function rename(oldPath: string, newPath: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function rename(oldPath: string, newPath: string): Promise 废弃版本:9 代替接口:ohos.file.fs.rename | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function rename(oldPath: string, newPath: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function rename(oldPath: string, newPath: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function renameSync(oldPath: string, newPath: string): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function renameSync(oldPath: string, newPath: string): void; 废弃版本:9 代替接口:ohos.file.fs.renameSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function rmdir(path: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function rmdir(path: string): Promise 废弃版本:9 代替接口:ohos.file.fs.rmdir | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function rmdir(path: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function rmdir(path: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function rmdirSync(path: string): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function rmdirSync(path: string): void; 废弃版本:9 代替接口:ohos.file.fs.rmdirSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function symlink(target: string, srcPath: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function symlink(target: string, srcPath: string): Promise 废弃版本:9 代替接口:ohos.file.fs.symlink | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function symlink(target: string, srcPath: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function symlink(target: string, srcPath: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function symlinkSync(target: string, srcPath: string): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function symlinkSync(target: string, srcPath: string): void; 废弃版本:9 代替接口:ohos.file.fs.symlinkSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function unlink(path: string): Promise 废弃版本:N/A | 类名:fileIO 方法 or 属性:function unlink(path: string): Promise 废弃版本:9 代替接口:ohos.file.fs.unlink | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function unlink(path: string, callback: AsyncCallback 废弃版本:N/A | 类名:fileIO 方法 or 属性:function unlink(path: string, callback: AsyncCallback 废弃版本:9 | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:fileIO 方法 or 属性:function unlinkSync(path: string): void; 废弃版本:N/A | 类名:fileIO 方法 or 属性:function unlinkSync(path: string): void; 废弃版本:9 代替接口:ohos.file.fs.unlinkSync | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:Stream 废弃版本:N/A | 类名:Stream 废弃版本:9 代替接口:ohos.file.fs.Stream | @ohos.fileio.d.ts |
| 废弃版本有变化 | 类名:Statfs 方法 or 属性:function getFreeBytes(path: string, callback: AsyncCallback 废弃版本:N/A | 类名:Statfs 方法 or 属性:function getFreeBytes(path: string, callback: AsyncCallback 废弃版本:9 代替接口:ohos.file.statvfs.getFreeSize | @ohos.statfs.d.ts |
| 废弃版本有变化 | 类名:Statfs 方法 or 属性:function getFreeBytes(path: string): Promise 废弃版本:N/A | 类名:Statfs 方法 or 属性:function getFreeBytes(path: string): Promise 废弃版本:9 | @ohos.statfs.d.ts |
| 废弃版本有变化 | 类名:Statfs 方法 or 属性:function getTotalBytes(path: string, callback: AsyncCallback 废弃版本:N/A | 类名:Statfs 方法 or 属性:function getTotalBytes(path: string, callback: AsyncCallback 废弃版本:9 代替接口:ohos.file.statvfs.getTotalSize | @ohos.statfs.d.ts |
| 废弃版本有变化 | 类名:Statfs 方法 or 属性:function getTotalBytes(path: string): Promise 废弃版本:N/A | 类名:Statfs 方法 or 属性:function getTotalBytes(path: string): Promise 废弃版本:9 | @ohos.statfs.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication