Disk: only detect folders that specified by --disk-folders

Can be used to improve performance by ignoring network disks
This commit is contained in:
李通洲
2024-04-30 15:12:49 +08:00
committed by Carter Li
parent 36a0c273f9
commit 367264e549
6 changed files with 62 additions and 65 deletions
+3
View File
@@ -26,3 +26,6 @@ typedef struct FFDisk
* If error is not set, disks contains at least one disk.
*/
const char* ffDetectDisks(FFDiskOptions* options, FFlist* disks /* list of FFDisk */);
const char* ffDetectDisksImpl(FFDiskOptions* options, FFlist* disks);
bool ffDiskMatchMountpoint(FFDiskOptions* options, const char* mountpoint);