Disk: refactors mountpoint matching to use shared string utilities

This commit is contained in:
李通洲
2025-09-19 14:54:13 +08:00
parent ef3989d18d
commit 57a4b9b6ed
8 changed files with 7 additions and 27 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const char* ffDetectDisksImpl(FFDiskOptions* options, FFlist* disks)
if (__builtin_expect(options->folders.length, 0))
{
if (!ffDiskMatchMountpoint(&options->folders, path.Path()))
if (!ffStrbufSeparatedContainS(&options->folders, path.Path(), FF_DISK_FOLDER_SEPARATOR))
continue;
}