MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / InvalidateFileList

Method InvalidateFileList

src/console_cmds.cpp:100–104  ·  view source on GitHub ↗

Declare the file storage cache as being invalid, also clears all stored files. */

Source from the content-addressed store, hash-verified

98
99 /** Declare the file storage cache as being invalid, also clears all stored files. */
100 void InvalidateFileList()
101 {
102 this->clear();
103 this->file_list_valid = false;
104 }
105
106 /**
107 * (Re-)validate the file storage cache. Only makes a change if the storage was invalid, or if \a force_reload.

Callers 3

ConRemoveFunction · 0.80
ConChangeDirectoryFunction · 0.80
ConPrintWorkingDirectoryFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected