Skip to content

Engine → Core

memory_file_system.h

Declarations for memory_file_system.h.

Classes

File Description
vfs::memory_file_system A file_system kept entirely in memory. Used by tests, by the cooker for staging output and wherever a scratch tree is needed. Every operation takes one mutex, so the instance is safe to share between threads; write times come from a counter that increases with every mutation, which keeps them deterministic. Names of new entries follow the same portable rule as on disk (file_system.h), so a test against this backend refuses what a project folder would refuse.

Forward Declarations

vfs::memory_file_system::node

struct node;