Disk: rename hiddenFolder to hideFolder; add docs

This commit is contained in:
Carter Li
2025-05-21 15:09:19 +08:00
parent e2a714732a
commit d439ce8eb5
5 changed files with 23 additions and 11 deletions
+2 -2
View File
@@ -54,11 +54,11 @@ const char* ffDetectDisks(FFDiskOptions* options, FFlist* disks)
}
}
if (options->hiddenFolders.length)
if (options->hideFolders.length)
{
FF_LIST_FOR_EACH(FFDisk, disk, *disks)
{
if (ffDiskMatchMountpoint(&options->hiddenFolders, disk->mountpoint.chars))
if (ffDiskMatchMountpoint(&options->hideFolders, disk->mountpoint.chars))
disk->type |= FF_DISK_VOLUME_TYPE_HIDDEN_BIT;
}
}