Disk: add option --disk-hidden-folders

This commit is contained in:
李通洲 authored and Carter Li committed 2025-05-19 18:32:56 +08:00
1 parent 526868e355
commit 8eb8f710d0
9 files changed
+37 -10

No files matched your search

+1 -1
View File
@@ -281,7 +281,7 @@ const char* ffDetectDisksImpl(FFDiskOptions* options, FFlist* disks)
{
if (__builtin_expect(options->folders.length, 0))
{
if (!ffDiskMatchMountpoint(options, device->mnt_dir))
if (!ffDiskMatchMountpoint(&options->folders, device->mnt_dir))
continue;
}
else if(!isPhysicalDevice(device))