Module rustdoc::docfs

source ·
Expand description

Rustdoc’s FileSystem abstraction module.

On Windows this indirects IO into threads to work around performance issues with Defender (and other similar virus scanners that do blocking operations).

Only calls needed to permit this workaround have been abstracted: thus fs::read is still done directly via the fs module; if in future rustdoc needs to read-after-write from a file, then it would be added to this abstraction.

Structs

Traits