Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ closedir
Method
closedir
fs/extfs/extfs.cpp:1254–1259 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1252
closedir();
1253
}
1254
virtual int closedir() override {
1255
if (!m_dirs.empty()) {
1256
m_dirs.clear();
1257
}
1258
return 0;
1259
}
1260
virtual dirent *get() override {
1261
return direntp;
1262
}
Callers
1
remove_all
Function · 0.45
Calls
2
empty
Method · 0.45
clear
Method · 0.45
Tested by
1
remove_all
Function · 0.36