Crate rspack_fs

Crate rspack_fs 

Source

Macros§

cfg_async
cfg_native

Structs§

FileMetadata
FilePermissions
This is a target-agnostic file permission abstraction. Currently we only support getting and setting file permissions on unix target. If we are supporting more targets, organizing the code like [std::sys::fs] will be a better choice.
FsWatcher
FsWatcherOptions
FsWatcherOptions contains options for configuring the file system watcher.
MemoryFileSystem
MemoryReadStream
MemoryWriteStream
NativeFileSystem
NativeReadStream
NativeWriteStream

Enums§

Error
FsEventKind
FsWatcherIgnored

Traits§

EventAggregateHandler
EventAggregateHandler is a trait for handling aggregated file system events. It provides methods to handle changes and deletions of files, as well as errors. Implementors of this trait can define custom behavior for these events. The default implementation does nothing for the on_error method. This trait is intended to be used with the file system watcher to aggregate events and handle them in a single place.
EventHandler
EventHandler is a trait for handling individual file system events. It provides methods to handle changes and deletions of files.
FsResultToIoResultExt
IntermediateFileSystem
IntermediateFileSystemExtras
IoResultToFsResultExt
ReadStream
ReadableFileSystem
RspackResultToFsResultExt
WritableFileSystem
WriteStream

Type Aliases§

Result