util/scloud_config/file_finder library

Functions

scloudFileFinder<T>({required String fileBaseName, required List<String> supportedExtensions, String? startingDirectory(T arg)?, int searchLevelsDown = 2, FileContentCondition? fileContentCondition}) FileFinder<T>
Returns a FileFinder function that implements the algorithm for finding scloud project files.

Typedefs

FileContentCondition = bool Function(String filePath)
FileFinder<T> = String? Function(T arg)

Exceptions / Errors

AmbiguousSearchException