feat: expose drive labels to userspace, render in Files
This commit is contained in:
@@ -38,6 +38,10 @@ namespace Fs::Ramdisk {
|
||||
return n;
|
||||
}
|
||||
|
||||
const char* GetLabel() {
|
||||
return "Ramdisk";
|
||||
}
|
||||
|
||||
static bool StartsWith(const char* str, const char* prefix) {
|
||||
while (*prefix) {
|
||||
if (*str != *prefix) return false;
|
||||
|
||||
Reference in New Issue
Block a user