exists method

Future<void> exists()

Similar to File.exists, but respects the current semaphore limit to prevent excessive parallel filesystem checks.

Helps avoid Too many open files errors and ensures consistent I/O throttling when scanning large directory trees or checking many files concurrently.

Implementation

Future<void> exists() => _fileLimited.exists(this);