Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ Device
Method
Device
Kernel/include/device.h:19–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
class Device : public FsNode {
18
public:
19
Device(DeviceType type){
20
name =
""
;
21
22
this->type = type;
23
}
24
25
Device(const char* name, DeviceType type){
26
this->name = strdup(name);
Callers
nothing calls this directly
Calls
1
strdup
Function · 0.85
Tested by
no test coverage detected