MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / LinkVolume

Method LinkVolume

Kernel/include/fs/fsvolume.h:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 class LinkVolume : public FsVolume{
15 public:
16 LinkVolume(FsVolume* link, char* name){
17 strcpy(mountPointDirent.name, name);
18 mountPointDirent.node = link->mountPoint;
19 mountPointDirent.flags = link->mountPointDirent.flags;
20 mountPointDirent.node->nlink++;
21 }
22
23 LinkVolume(FsNode* link, char* name){
24 strcpy(mountPointDirent.name, name);

Callers

nothing calls this directly

Calls 1

strcpyFunction · 0.85

Tested by

no test coverage detected