| 65 | |
| 66 | public: |
| 67 | DevFS(const char* name){ |
| 68 | flags = FS_NODE_DIRECTORY; |
| 69 | |
| 70 | vol.mountPoint = this; |
| 71 | vol.mountPointDirent = DirectoryEntry(this, name); |
| 72 | |
| 73 | fs::RegisterVolume(&vol); |
| 74 | } |
| 75 | |
| 76 | int ReadDir(DirectoryEntry* dirPtr, uint32_t index) final { |
| 77 | if(index >= devices.get_length() + 2){ |
nothing calls this directly
no test coverage detected