Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiekick/ImGuiFileDialog
/ try_add
Method
try_add
ImGuiFileDialog.h:290–297 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
288
}
289
290
bool try_add(T vKey) {
291
if (!exist(vKey)) {
292
m_Dico[vKey] = m_Array.size();
293
m_Array.push_back(vKey);
294
return true;
295
}
296
return false;
297
}
298
299
bool try_set_existing(T vKey) {
300
if (exist(vKey)) {
Callers
1
FileSystemDirent
Class · 0.80
Calls
1
size
Method · 0.80
Tested by
no test coverage detected