Warning: This is a facade provided for use by user code, not for implementation by user code. User implementations of this interface are highly likely to be incompatible with future releases of the product at both binary and source levels.
Creates files automatically within a directory for the purposes of persisting information. This creates a hierarchy of directories and files such that each directory has at most a small number of files and a small number of directories. The reason for this is that directories with large numbers of files is very inefficient to search and manage.
This maintains a cached representation of the file system. If when it attempts to access the file system it detects an inconsistency with its in memory state then it resynchronizes the cached representation, which involves discarding it all and rebuilding. This could get very expensive if a lot of external changes are made to the file system but that is not a supported use case for this class.
@mock.generate
|
|