Disk: add --disk-hide-fs

Fix #1762
This commit is contained in:
Carter Li
2025-05-21 16:40:42 +08:00
parent d439ce8eb5
commit a0f579072f
8 changed files with 93 additions and 10 deletions
-9
View File
@@ -54,14 +54,5 @@ const char* ffDetectDisks(FFDiskOptions* options, FFlist* disks)
}
}
if (options->hideFolders.length)
{
FF_LIST_FOR_EACH(FFDisk, disk, *disks)
{
if (ffDiskMatchMountpoint(&options->hideFolders, disk->mountpoint.chars))
disk->type |= FF_DISK_VOLUME_TYPE_HIDDEN_BIT;
}
}
return NULL;
}