Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ RegisterVolume
Function
RegisterVolume
Kernel/src/fs/filesystem.cpp:37–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
void RegisterVolume(FsVolume* vol){
38
vol->mountPoint->parent = &root;
39
vol->volumeID = GetVolumeID();
40
volumes->add_back(vol);
41
}
42
43
FsNode* GetRoot(){
44
return &root;
Callers
1
DevFS
Method · 0.85
Calls
2
GetVolumeID
Function · 0.85
add_back
Method · 0.45
Tested by
no test coverage detected