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

Method RescanDir

src/script/script_scanner.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void ScriptScanner::RescanDir()
71{
72 /* Forget about older scans */
73 this->Reset();
74
75 /* Scan for scripts */
76 this->Scan(this->GetFileName(), this->GetDirectory());
77}
78
79void ScriptScanner::Reset()
80{

Callers 3

InitializeMethod · 0.95
RescanMethod · 0.80
RescanMethod · 0.80

Calls 4

ResetMethod · 0.95
ScanMethod · 0.45
GetFileNameMethod · 0.45
GetDirectoryMethod · 0.45

Tested by

no test coverage detected