The code to create the parent dir entry is in wui/mapdata.h, function create_parent_dir(const std::string& current_dir)
The code to create the parent dir entry is in wui/mapdata.h, function create_ parent_ dir(const std::string& current_dir)