Skip to main content

Module FileSystem

Module FileSystem 

Source
Expand description

File System domain handlers for Wind IPC.

Contains both legacy runtime-based handlers and native URI-aware handlers used by VS Code’s DiskFileSystemProviderClient.

Functions§

handle_file_clone_native
Clone file (copy with metadata)
handle_file_copy
Handler for file copy requests
handle_file_delete
Handler for file delete requests
handle_file_delete_native
Delete file or directory with URI arg support
handle_file_exists
Handler for file exists requests
handle_file_exists_native
Check file existence with URI arg support
handle_file_mkdir
Handler for directory creation requests
handle_file_mkdir_native
Create directory with URI arg support
handle_file_move
Handler for file move requests
handle_file_read
Handler for file read requests
handle_file_read_binary
Handler for binary file read requests
handle_file_read_native
Read file with URI arg support (VS Code sends { scheme, path } objects) Returns { buffer: number[] } where buffer is the raw byte content.
handle_file_readdir
Handler for directory reading requests
handle_file_readdir_native
Read directory contents with URI arg support Returns array of [name, fileType] tuples matching VS Code’s ReadDirResult
handle_file_realpath
Resolve real path (follow symlinks)
handle_file_rename_native
Rename/move file with URI arg support
handle_file_stat
Handler for file stat requests
handle_file_stat_native
Stat file - pure stat, no side effects. Returns IStat shape.
handle_file_write
Handler for file write requests
handle_file_write_binary
Handler for binary file write requests
handle_file_write_native
Write file with URI arg support